|
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 NumericgetEnum in class Propertypublic int getValue()
getValue in interface NumericgetValue in class NumberPropertyNumeric.getValue()public double getNumericValue()
getNumericValue in interface NumericgetNumericValue in class NumberPropertyNumeric.getNumericValue()public java.lang.String getString()
Property
getString in class PropertyProperty.getString()public java.lang.Object getObject()
Property
getObject in class NumberPropertyProperty.getString()public boolean equals(java.lang.Object obj)
NumberProperty
equals in class NumberPropertyObject.equals(Object)public int hashCode()
NumberProperty
hashCode in class NumberPropertyObject.hashCode()
|
fop 0.94 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||