org.gjt.xpp.impl.format

Class Recorder

public class Recorder extends Object implements XmlRecorder

Implementatin of Recorder that is simply writing XML to output sink.

Author: Aleksander Slominski

Field Summary
protected String[]declaredNs
protected String[]declaredPrefixes
protected Writerout
Constructor Summary
Recorder()
Method Summary
WritergetOutput()
voidsetOutput(Writer out)
voidwrite(Object o)
voidwriteContent(String s)
voidwriteEndTag(XmlEndTag etag)
protected voidwriteEscaped(String s, boolean escapeApostAttrib)
voidwriteNode(XmlNode node)
voidwriteStartTag(XmlStartTag stag)
voidwriteStartTagAsEndTag(XmlStartTag stag)
voidwriteStartTagStart(XmlStartTag stag)
voidwriteXml(XmlWritable w)

Field Detail

declaredNs

protected String[] declaredNs

declaredPrefixes

protected String[] declaredPrefixes

out

protected Writer out

Constructor Detail

Recorder

public Recorder()

Method Detail

getOutput

public Writer getOutput()

setOutput

public void setOutput(Writer out)

write

public void write(Object o)

writeContent

public void writeContent(String s)

writeEndTag

public void writeEndTag(XmlEndTag etag)

writeEscaped

protected void writeEscaped(String s, boolean escapeApostAttrib)

writeNode

public void writeNode(XmlNode node)

writeStartTag

public void writeStartTag(XmlStartTag stag)

writeStartTagAsEndTag

public void writeStartTagAsEndTag(XmlStartTag stag)

writeStartTagStart

public void writeStartTagStart(XmlStartTag stag)

writeXml

public void writeXml(XmlWritable w)
Copyright (c) 2003 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.

Note this package is deprecated by XPP3 that implements XmlPull API