org.jopendocument.dom.template.engine
Class Material<W>

java.lang.Object
  extended by 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

Method Summary
 Material<W> clone()
           
static Material<org.jdom.Document> from(org.jdom.Document doc)
           
static
<E extends ODPackage>
Material<E>
from(E doc)
           
static
<E extends ODXMLDocument>
Material<E>
from(E doc)
           
static Material<org.jdom.Element> from(org.jdom.Element elem)
           
 File getBase()
           
 OOXML getNS()
           
 org.jdom.Element getRoot()
           
 W getWhole()
           
 boolean hasRoot()
           
 void setBase(File base)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.