org.foray.fotree.svg
Class ObjectMakerSVG

java.lang.Object
  extended by org.foray.fotree.svg.ObjectMakerSVG

public final class ObjectMakerSVG
extends Object

Factory class for creating formatting objects in the "svg" namespace.


Method Summary
static FObj makeObject(String objectName, FObj parent, PropertyList propertyList)
          Converts an unparsed SVG element into an FObj instance that can be added to the FO Tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeObject

public static FObj makeObject(String objectName,
                              FObj parent,
                              PropertyList propertyList)
                       throws org.axsl.fo.FoTreeException
Converts an unparsed SVG element into an FObj instance that can be added to the FO Tree.

Parameters:
objectName - The unparsed SVG element name.
parent - The parent FObj.
propertyList - The property list of the parent FObj.
Returns:
The new FObj instance for this SVG element.
Throws:
org.axsl.fo.FoTreeException - If the parent object is not an instance of InstreamForeignObject.


Copyright © 2017. All rights reserved.