|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.objectwave.templateMerge.XMLTemplateWriter
Used to dump the templates into an XML file
| Field Summary | |
static java.lang.String |
encoding
Default encode method. |
| Constructor Summary | |
XMLTemplateWriter()
|
|
XMLTemplateWriter(java.util.Enumeration tempList,
java.io.BufferedWriter buff)
Constructor |
|
| Method Summary | |
protected void |
writeTemplateBody(MergeTemplate template)
Write the template body |
protected void |
writeTemplateName(MergeTemplate template)
Write the template name |
protected void |
writeTemplatePost(MergeTemplate template)
Write the template post |
protected void |
writeTemplatePre(MergeTemplate template)
Write the template pre |
protected void |
writeXML()
Write the template list to the output stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String encoding
| Constructor Detail |
public XMLTemplateWriter()
public XMLTemplateWriter(java.util.Enumeration tempList,
java.io.BufferedWriter buff)
throws ConfigurationException
tempList - Enumeration Template arraybuff - BufferedWriter Output Stream| Method Detail |
protected void writeXML()
throws ConfigurationException
ConfigurationException - If any error happen in the XML file writing
protected void writeTemplateName(MergeTemplate template)
throws ConfigurationException
template - MergeTemplate the template to be written
ConfigurationException - If any error happen in the writing of template name
protected void writeTemplatePre(MergeTemplate template)
throws ConfigurationException
template - MergeTemplate the template to be written
ConfigurationException - If any error happen in the writing of template pre
protected void writeTemplateBody(MergeTemplate template)
throws ConfigurationException
template - MergeTemplate the template to be written
ConfigurationException - If any error happen in the writing of template body
protected void writeTemplatePost(MergeTemplate template)
throws ConfigurationException
template - MergeTemplate the template to be written
ConfigurationException - If any error happen in the writing of template post
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||