Package org.apache.fop.fo.properties
Class EnumProperty
java.lang.Object
org.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.EnumProperty
Superclass for properties that wrap an enumeration value
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Inner class for creating EnumProperty instances -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getEnum()
This method expects to be overridden by subclassesstatic EnumProperty
getInstance
(int explicitValue, String text) Construct an enumeration property.This method expects to be overridden by subclassesint
hashCode()
Methods inherited from class org.apache.fop.fo.properties.Property
getCharacter, getColor, getCondLength, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toString
-
Method Details
-
getInstance
Construct an enumeration property.- Parameters:
explicitValue
- the valuetext
- the text- Returns:
- an enumeration property
-
getEnum
public int getEnum()Description copied from class:Property
This method expects to be overridden by subclasses -
getObject
Description copied from class:Property
This method expects to be overridden by subclasses -
equals
-
hashCode
public int hashCode()
-