public class OdfXMLFactory extends Object
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.
| Constructor and Description |
|---|
OdfXMLFactory() |
| Modifier and Type | Method and Description |
|---|---|
static OdfAttribute |
newOdfAttribute(OdfFileDom dom,
OdfName name) |
static OdfElement |
newOdfElement(OdfFileDom dom,
OdfName name) |
public static OdfElement newOdfElement(OdfFileDom dom, OdfName name) throws DOMException
DOMExceptionpublic static OdfAttribute newOdfAttribute(OdfFileDom dom, OdfName name) throws DOMException
DOMExceptionCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.