fop 0.91beta

org.apache.fop.fo.properties
Class EnumProperty

java.lang.Object
  |
  +--org.apache.fop.fo.properties.Property
        |
        +--org.apache.fop.fo.properties.EnumProperty

public class EnumProperty
extends Property

Superclass for properties that wrap an enumeration value


Inner Class Summary
static class EnumProperty.Maker
          Inner class for creating EnumProperty instances
 
Fields inherited from class org.apache.fop.fo.properties.Property
log
 
Constructor Summary
EnumProperty(int explicitValue, java.lang.String text)
           
 
Method Summary
 int getEnum()
          This method expects to be overridden by subclasses
 java.lang.Object getObject()
          This method expects to be overridden by subclasses
 
Methods inherited from class org.apache.fop.fo.properties.Property
getCharacter, getColorType, getCondLength, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumProperty

public EnumProperty(int explicitValue,
                    java.lang.String text)
Parameters:
explicitValue - enumerated value to be set for this property
text - the string value of the enum.
Method Detail

getEnum

public int getEnum()
Description copied from class: Property
This method expects to be overridden by subclasses
Overrides:
getEnum in class Property
Returns:
this.value

getObject

public java.lang.Object getObject()
Description copied from class: Property
This method expects to be overridden by subclasses
Overrides:
getObject in class Property
Returns:
this.value cast as an Object

fop 0.91beta

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.