|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.NumberProperty
org.apache.fop.fo.properties.EnumNumber
public class EnumNumber
A number quantity in XSL which is specified as an enum, such as "no-limit".
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.fo.properties.NumberProperty |
---|
NumberProperty.Maker |
Field Summary |
---|
Fields inherited from class org.apache.fop.fo.properties.Property |
---|
log |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getEnum()
This method expects to be overridden by subclasses |
static EnumNumber |
getInstance(Property enumProperty)
Returns the canonical EnumNumber instance corresponding to the given Property |
double |
getNumericValue()
Returns the value as numeric. |
java.lang.Object |
getObject()
This method expects to be overridden by subclasses |
java.lang.String |
getString()
This method expects to be overridden by subclasses. |
int |
getValue()
Returns the length in 1/1000ths of a point (millipoints) |
int |
hashCode()
|
Methods inherited from class org.apache.fop.fo.properties.NumberProperty |
---|
getColor, getDimension, getInstance, getInstance, getInstance, getLength, getNumber, getNumeric, getNumericValue, getValue, isAbsolute |
Methods inherited from class org.apache.fop.fo.properties.Property |
---|
getCharacter, getCondLength, getKeep, getLengthPair, getLengthRange, getList, getNCname, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static EnumNumber getInstance(Property enumProperty)
enumProperty
- the base EnumProperty
public int getEnum()
Property
getEnum
in interface Numeric
getEnum
in class Property
public int getValue()
getValue
in interface Numeric
getValue
in class NumberProperty
Numeric.getValue()
public double getNumericValue()
getNumericValue
in interface Numeric
getNumericValue
in class NumberProperty
Numeric.getNumericValue()
public java.lang.String getString()
Property
getString
in class Property
Property.getString()
public java.lang.Object getObject()
Property
getObject
in class NumberProperty
Property.getString()
public boolean equals(java.lang.Object obj)
NumberProperty
equals
in class NumberProperty
Object.equals(Object)
public int hashCode()
NumberProperty
hashCode
in class NumberProperty
Object.hashCode()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |