S
- source object type for output generationpublic abstract class XmlGenerator<S> extends CharacterGenerator<S>
Constructor and Description |
---|
XmlGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate(java.io.Writer w,
OutputProperties outProps,
S source)
Generates content to the writer based upon the provided request/response.
|
abstract void |
generateXml(XmlWriter w,
OutputProperties outProps,
S source)
Generates the XML content to the provided XML writer instance based
upon the query request/response attributes.
|
generate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAltFormat, getSourceType
public void generate(java.io.Writer w, OutputProperties outProps, S source) throws java.io.IOException
generate
in class CharacterGenerator<S>
w
- output writer.outProps
- output properties for the generated output.source
- source object for the generated output.java.io.IOException
public abstract void generateXml(XmlWriter w, OutputProperties outProps, S source) throws java.io.IOException
java.io.IOException