public class TemplateHandler extends WriterHandler
TemplateHandler| Constructor and Description |
|---|
TemplateHandler(java.util.Map<java.lang.String,java.lang.String> data,
java.io.StringWriter writer)
Instantiates a new
TemplateHandler object with the given data map and the given
Writer |
| Modifier and Type | Method and Description |
|---|---|
protected void |
write(java.lang.String s)
Write the given
String object |
characters, endDocument, endElement, startDocument, startElementpublic TemplateHandler(java.util.Map<java.lang.String,java.lang.String> data,
java.io.StringWriter writer)
TemplateHandler object with the given data map and the given
Writerdata - the datawriter - the writerprotected void write(java.lang.String s)
throws org.xml.sax.SAXException
String objectwrite in class WriterHandlers - the stringorg.xml.sax.SAXException - any SAX exception, possibly wrapping another exception