public class XMLPrintWriterPolicy extends java.lang.Object implements TemplateFile.PropertyPolicy
TemplateFile.PropertyPolicy
that adds XMLGenerator
s
directly to the XMLPrinter
if the Writer
is a XMLWriter
Constructor and Description |
---|
XMLPrintWriterPolicy(TemplateFile.PropertyPolicy inner) |
Modifier and Type | Method and Description |
---|---|
void |
writePropertyValue(java.io.Writer out,
java.lang.String name,
java.lang.Object value) |
public XMLPrintWriterPolicy(TemplateFile.PropertyPolicy inner)
public void writePropertyValue(java.io.Writer out, java.lang.String name, java.lang.Object value) throws java.io.IOException
writePropertyValue
in interface TemplateFile.PropertyPolicy
out
- Writer
to append toname
- Name of parametervalue
- Object to addjava.io.IOException