org.apache.fop.fo.properties
Class EnumNumber
- Numeric
public final class EnumNumber
A number quantity in XSL which is specified as an enum, such as "no-limit".
getCharacter , getColor , getCondLength , getEnum , getKeep , getLength , getLengthPair , getLengthRange , getList , getNCname , getNumber , getNumeric , getObject , getSpace , getSpecifiedValue , getString , isAuto , setSpecifiedValue , toString |
equals
public boolean equals(Object obj)
getInstance
public static EnumNumber getInstance(Property enumProperty)
Returns the canonical EnumNumber instance corresponding
to the given Property
enumProperty
- the base EnumProperty
getNumericValue
public double getNumericValue()
logs an error, because it's not supposed to be called
- getNumericValue in interface Numeric
getValue
public int getValue()
logs an error, because it's not supposed to be called
- getValue in interface Numeric
hashCode
public int hashCode()
isAbsolute
public boolean isAbsolute()
Always true
for instances of this type
- isAbsolute in interface Numeric
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.