org.foray.fotree.math
Class MathObjectMaker

java.lang.Object
  extended by org.foray.fotree.math.MathObjectMaker

public final class MathObjectMaker
extends Object

Factory class for creating formatting objects in the "m" (MathML) namespace.


Method Summary
static FObj makeObject(String objectName, FObj parent, PropertyList propertyList)
          Converts an unparsed MathML 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 MathML element into an FObj instance that can be added to the FO Tree.

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


Copyright © 2017. All rights reserved.