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, toString
public static EnumProperty getInstance(int explicitValue, java.lang.String text)
explicitValue
- the valuetext
- the textpublic int getEnum()
Property
public java.lang.Object getObject()
Property
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.