public class XMLWriterParsingContext extends XMLParsingContext
| Modifier and Type | Field and Description |
|---|---|
protected java.io.Writer |
theWriter
The writer
|
localname, namespace, previousContext, qname, theseAttributes, theStream| Constructor and Description |
|---|
XMLWriterParsingContext(XMLFuzzyHierarchicalParseState theStream,
java.lang.String namespace,
java.lang.String localname,
java.lang.String qname,
java.util.Map<java.lang.String,java.lang.String> theseAttributes,
java.io.Writer writer)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected XMLParsingContext |
beginTag(java.lang.String namespace,
java.lang.String localName,
java.lang.String qName,
java.util.Map<java.lang.String,java.lang.String> atts)
Start a child tag.
|
protected void |
endTag()
End a child tag.
|
protected static java.lang.String |
escapeAttribute(java.lang.String value)
Convert a string to a value that's safe to include inside an attribute value
|
protected static void |
escapeCharData(java.lang.String body,
java.io.Writer out)
Escapes sequence of characters to output writer
|
void |
flush()
Flush the data to the underlying output stream
|
protected void |
tagContents(java.lang.String body)
This method is meant to be extended by classes that extend this class
|
characters, cleanup, endElement, getAttribute, getLocalname, getNamespace, getQname, startElement, tagCleanuppublic XMLWriterParsingContext(XMLFuzzyHierarchicalParseState theStream, java.lang.String namespace, java.lang.String localname, java.lang.String qname, java.util.Map<java.lang.String,java.lang.String> theseAttributes, java.io.Writer writer) throws ManifoldCFException
ManifoldCFExceptionpublic void flush()
throws ManifoldCFException
ManifoldCFExceptionprotected void tagContents(java.lang.String body)
throws ManifoldCFException
tagContents in class XMLParsingContextManifoldCFExceptionprotected XMLParsingContext beginTag(java.lang.String namespace, java.lang.String localName, java.lang.String qName, java.util.Map<java.lang.String,java.lang.String> atts) throws ManifoldCFException
beginTag in class XMLParsingContextManifoldCFExceptionprotected void endTag()
throws ManifoldCFException
endTag in class XMLParsingContextManifoldCFExceptionprotected static java.lang.String escapeAttribute(java.lang.String value)
protected static void escapeCharData(java.lang.String body,
java.io.Writer out)
throws java.io.IOException
java.io.IOException