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(Object obj) |
int |
getEnum()
This method expects to be overridden by subclasses
|
static EnumProperty |
getInstance(int explicitValue,
String text)
Construct an enumeration property.
|
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, String text)
explicitValue
- the valuetext
- the textpublic int getEnum()
Property
public Object getObject()
Property
Copyright © 2025 Apache Software Foundation. All rights reserved.