org.foray.fotree.fo
Class PropertyMakerFO

java.lang.Object
  extended by org.foray.fotree.fo.PropertyMakerFO

public final class PropertyMakerFO
extends Object

Factory class for creating properties in the "fo:" (Formatting Objects) namespace.


Method Summary
static FoProperty enumeratePropertyName(String inputPropertyName)
          Converts a property name to its integral equivalent.
static Property makeProperty(String propertyFullName, String attributeValue, FObj fobj)
          Makes a property in this namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

enumeratePropertyName

public static FoProperty enumeratePropertyName(String inputPropertyName)
Converts a property name to its integral equivalent.

Parameters:
inputPropertyName - The property name to be enumerated.
Returns:
The enumerated value of the property name.

makeProperty

public static Property makeProperty(String propertyFullName,
                                    String attributeValue,
                                    FObj fobj)
                             throws PropertyException
Makes a property in this namespace.

Parameters:
propertyFullName - The unparsed property name.
attributeValue - The unparsed property value.
fobj - The FObj to which this property belongs.
Returns:
The parsed Property instance.
Throws:
PropertyException - For errors in the property or its value.


Copyright © 2017. All rights reserved.