Enum ReportStructureMatcher.Type
- java.lang.Object
-
- java.lang.Enum<ReportStructureMatcher.Type>
-
- org.pentaho.reporting.engine.classic.core.dom.ReportStructureMatcher.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ReportStructureMatcher.Type>
- Enclosing class:
- ReportStructureMatcher
public static enum ReportStructureMatcher.Type extends Enum<ReportStructureMatcher.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportStructureMatcher.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReportStructureMatcher.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Start
public static final ReportStructureMatcher.Type Start
-
Descendant
public static final ReportStructureMatcher.Type Descendant
-
Child
public static final ReportStructureMatcher.Type Child
-
Id
public static final ReportStructureMatcher.Type Id
-
Class
public static final ReportStructureMatcher.Type Class
-
Element
public static final ReportStructureMatcher.Type Element
-
-
Method Detail
-
values
public static ReportStructureMatcher.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReportStructureMatcher.Type c : ReportStructureMatcher.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportStructureMatcher.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-