Package org.apache.any23.extractor.xpath
Enum TemplateSubject.Type
- java.lang.Object
-
- java.lang.Enum<TemplateSubject.Type>
-
- org.apache.any23.extractor.xpath.TemplateSubject.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateSubject.Type>
- Enclosing class:
- TemplateSubject
public static enum TemplateSubject.Type extends Enum<TemplateSubject.Type>
Supported subject types.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TemplateSubject.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateSubject.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
URI
public static final TemplateSubject.Type URI
-
BNODE
public static final TemplateSubject.Type BNODE
-
-
Method Detail
-
values
public static TemplateSubject.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 (TemplateSubject.Type c : TemplateSubject.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 TemplateSubject.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
-
-