public class XMLPropertyPolicy extends java.lang.Object implements TemplateFile.PropertyPolicy
TemplateFile.PropertyPolicy that stores XMLGenerators and
records a reference as a processing instruction for use by a XMLBuilderSaxHandler| Constructor and Description |
|---|
XMLPropertyPolicy(java.util.Map<java.lang.String,XMLGenerator> data,
TemplateFile.PropertyPolicy inner) |
| Modifier and Type | Method and Description |
|---|---|
void |
writePropertyValue(java.io.Writer out,
java.lang.String name,
java.lang.Object value) |
public XMLPropertyPolicy(java.util.Map<java.lang.String,XMLGenerator> data, 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.PropertyPolicyout - Writer to append toname - Name of parametervalue - Object to addjava.io.IOException