Package org.gjt.xpp.impl.format
Class Recorder
java.lang.Object
org.gjt.xpp.impl.format.Recorder
- All Implemented Interfaces:
XmlRecorder
- Direct Known Subclasses:
Formatter
Implementatin of Recorder that is simply writing XML to output sink.
- Author:
- Aleksander Slominski
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
writeEndTag
(XmlEndTag etag) protected void
writeEscaped
(String s, boolean escapeApostAttrib) void
void
writeStartTag
(XmlStartTag stag) void
void
void
-
Field Details
-
declaredPrefixes
-
declaredNs
-
out
-
-
Constructor Details
-
Recorder
public Recorder()
-
-
Method Details
-
getOutput
- Specified by:
getOutput
in interfaceXmlRecorder
-
setOutput
- Specified by:
setOutput
in interfaceXmlRecorder
-
write
- Specified by:
write
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeXml
- Specified by:
writeXml
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeContent
- Specified by:
writeContent
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeEndTag
- Specified by:
writeEndTag
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeStartTag
- Specified by:
writeStartTag
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeStartTagStart
- Specified by:
writeStartTagStart
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeStartTagAsEndTag
- Specified by:
writeStartTagAsEndTag
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeNode
- Specified by:
writeNode
in interfaceXmlRecorder
- Throws:
IOException
XmlPullParserException
-
writeEscaped
protected void writeEscaped(String s, boolean escapeApostAttrib) throws IOException, XmlPullParserException - Throws:
IOException
XmlPullParserException
-