org.jopendocument.dom.template.engine
Class Material<W>
java.lang.Object
org.jopendocument.dom.template.engine.Material<W>
- Type Parameters:
W
- the type of this material.
- All Implemented Interfaces:
- Cloneable
public class Material<W>
- extends Object
- implements Cloneable
XML material that will be parsed and executed.
- Author:
- Sylvain
from
public static final Material<org.jdom.Document> from(org.jdom.Document doc)
from
public static final Material<org.jdom.Element> from(org.jdom.Element elem)
from
public static final <E extends ODXMLDocument> Material<E> from(E doc)
from
public static final <E extends ODPackage> Material<E> from(E doc)
getRoot
public org.jdom.Element getRoot()
hasRoot
public boolean hasRoot()
getWhole
public W getWhole()
getNS
public OOXML getNS()
clone
public Material<W> clone()
- Overrides:
clone
in class Object
getBase
public File getBase()
setBase
public void setBase(File base)
Copyright © 2010 jOpenDocument All Rights Reserved.