|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.clazzes.tapestry.ooo.maven.OdtTemplate
public class OdtTemplate
Constructor Summary | |
---|---|
OdtTemplate(org.apache.maven.plugin.logging.Log logger)
Contruct an Odt template |
Method Summary | |||
---|---|---|---|
void |
readTemplate(java.io.File file)
Reads an odt file from the filesystem and parses content.xml of the odt files using the Xerces DOM parser. |
||
void |
readTemplate(java.lang.String filename)
Reads an odt file from the filesystem and parses content.xml of the odt files using the Xerces DOM parser. |
||
void |
replaceHints()
Replaces the defined hints with |
void |
writeTemplate()
Writes the template to an XML file. |
void |
writeTemplate(java.io.File file)
Writes the template to an XML file. |
||
void |
writeTemplate(java.lang.String filename)
Writes the template to an XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OdtTemplate(org.apache.maven.plugin.logging.Log logger)
Method Detail |
---|
public void readTemplate(java.lang.String filename) throws java.io.IOException, javax.xml.transform.TransformerException
filename
- The name of the odt-file to be read.
java.io.IOException
javax.xml.transform.TransformerException
public void readTemplate(java.io.File file) throws java.io.IOException, javax.xml.transform.TransformerException
file
- The odt-file to be read.
java.io.IOException
org.xml.sax.SAXException
javax.xml.transform.TransformerException
public void replaceHints() throws java.io.IOException
java.io.IOException
public void writeTemplate() throws java.io.IOException, javax.xml.transform.TransformerException
java.io.IOException
javax.xml.transform.TransformerException
public void writeTemplate(java.lang.String filename) throws java.io.IOException, javax.xml.transform.TransformerException
java.io.IOException
javax.xml.transform.TransformerException
public void writeTemplate(java.io.File file) throws java.io.IOException, javax.xml.transform.TransformerException
java.io.IOException
javax.xml.transform.TransformerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |