org.odftoolkit.odfdom.pkg
Class OdfXMLFactory
java.lang.Object
org.odftoolkit.odfdom.pkg.OdfXMLFactory
public class OdfXMLFactory
- extends Object
This factory determines what elements are being used in the DOC layer
(ie. the convenient layer).
The mapping of ODF element to convenient class can be changed from the user
during run time.
For example, a user might want to create a table always with a certain style or default data and
might want to overwrite the mapping for {odf.element table:table}
, that a different
class instead of OdfTable
is being used.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OdfXMLFactory
public OdfXMLFactory()
newOdfElement
public static OdfElement newOdfElement(OdfFileDom dom,
OdfName name)
throws DOMException
- Throws:
DOMException
newOdfAttribute
public static OdfAttribute newOdfAttribute(OdfFileDom dom,
OdfName name)
throws DOMException
- Throws:
DOMException
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.