public final class EnumProperty extends Property
| Modifier and Type | Class and Description |
|---|---|
static class |
EnumProperty.Maker
Inner class for creating EnumProperty instances
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getEnum()
This method expects to be overridden by subclasses
|
static EnumProperty |
getInstance(int explicitValue,
java.lang.String text)
Construct an enumeration property.
|
java.lang.Object |
getObject()
This method expects to be overridden by subclasses
|
int |
hashCode() |
getCharacter, getColor, getCondLength, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toStringpublic static EnumProperty getInstance(int explicitValue, java.lang.String text)
explicitValue - the valuetext - the textpublic int getEnum()
Propertypublic java.lang.Object getObject()
Propertypublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.