Enum AbstractResourceTag.ReadPropertyType
- java.lang.Object
-
- java.lang.Enum<AbstractResourceTag.ReadPropertyType>
-
- net.anotheria.anosite.tags.resource.AbstractResourceTag.ReadPropertyType
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractResourceTag.ReadPropertyType>
- Enclosing class:
- AbstractResourceTag
protected static enum AbstractResourceTag.ReadPropertyType extends Enum<AbstractResourceTag.ReadPropertyType>
Defines property type - by which tag should read document, or build result. Available select Property names enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT_FILE_NAMEFile name.DOCUMENT_IDDocument id.DOCUMENT_NAMEDocument name.
-
Field Summary
Fields Modifier and Type Field Description protected static AbstractResourceTag.ReadPropertyTypeDEFAULTDefault constant.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractResourceTag.ReadPropertyTypegetPropertyNameByValue(String val)ReturnAbstractResourceTag.ReadPropertyTypewith selected value.StringgetValue()static AbstractResourceTag.ReadPropertyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractResourceTag.ReadPropertyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT_ID
public static final AbstractResourceTag.ReadPropertyType DOCUMENT_ID
Document id.
-
DOCUMENT_NAME
public static final AbstractResourceTag.ReadPropertyType DOCUMENT_NAME
Document name.
-
DIRECT_FILE_NAME
public static final AbstractResourceTag.ReadPropertyType DIRECT_FILE_NAME
File name.
-
-
Field Detail
-
DEFAULT
protected static final AbstractResourceTag.ReadPropertyType DEFAULT
Default constant.
-
-
Method Detail
-
values
public static AbstractResourceTag.ReadPropertyType[] 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 (AbstractResourceTag.ReadPropertyType c : AbstractResourceTag.ReadPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractResourceTag.ReadPropertyType 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
-
getValue
public String getValue()
-
getPropertyNameByValue
public static AbstractResourceTag.ReadPropertyType getPropertyNameByValue(String val)
ReturnAbstractResourceTag.ReadPropertyTypewith selected value.- Parameters:
val- value- Returns:
AbstractResourceTag.ReadPropertyType
-
-