public final class EnumProperty extends Property
Modifier and Type | Class | Description |
---|---|---|
static class |
EnumProperty.Maker |
Inner class for creating EnumProperty instances
|
Modifier and Type | Method | 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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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-2016 The Apache Software Foundation. All Rights Reserved.