org.tmatesoft.svn.core.wc.xml

Class SVNXMLSerializer

public class SVNXMLSerializer extends Object implements ContentHandler

This implementation of ContentHandler can write XML contents to a specified output stream or writer.

Version: 1.1.1

Author: TMate Software Ltd.

Constructor Summary
SVNXMLSerializer(OutputStream os)
Creates a serializer to write XML contents to the specified output stream.
SVNXMLSerializer(Writer writer)
Creates a serializer to write XML contents to the specified writer.
Method Summary
voidcharacters(char[] ch, int start, int length)
voidendDocument()
Writes a End Of Line marker to the output.
voidendElement(String namespaceURI, String localName, String qName)
voidendPrefixMapping(String prefix)
Does nothing.
voidflush()
Flushes written bytes.
voidignorableWhitespace(char[] ch, int start, int length)
Does nothing.
voidprocessingInstruction(String target, String data)
Does nothing.
voidsetDocumentLocator(Locator locator)
Does nothing.
voidskippedEntity(String name)
Does nothing.
voidstartDocument()
voidstartElement(String namespaceURI, String localName, String qName, Attributes atts)
voidstartPrefixMapping(String prefix, String uri)
Does nothing.

Constructor Detail

SVNXMLSerializer

public SVNXMLSerializer(OutputStream os)
Creates a serializer to write XML contents to the specified output stream.

Parameters: os an output stream to write contents to

SVNXMLSerializer

public SVNXMLSerializer(Writer writer)
Creates a serializer to write XML contents to the specified writer.

Parameters: writer a writer to write contents to

Method Detail

characters

public void characters(char[] ch, int start, int length)

endDocument

public void endDocument()
Writes a End Of Line marker to the output.

Throws: SAXException

endElement

public void endElement(String namespaceURI, String localName, String qName)

endPrefixMapping

public void endPrefixMapping(String prefix)
Does nothing.

Parameters: prefix

Throws: SAXException

flush

public void flush()
Flushes written bytes.

Throws: IOException

ignorableWhitespace

public void ignorableWhitespace(char[] ch, int start, int length)
Does nothing.

Parameters: ch start length

Throws: SAXException

processingInstruction

public void processingInstruction(String target, String data)
Does nothing.

Parameters: target data

Throws: SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)
Does nothing.

Parameters: locator

skippedEntity

public void skippedEntity(String name)
Does nothing.

Parameters: name

Throws: SAXException

startDocument

public void startDocument()

startElement

public void startElement(String namespaceURI, String localName, String qName, Attributes atts)

startPrefixMapping

public void startPrefixMapping(String prefix, String uri)
Does nothing.

Parameters: prefix uri

Throws: SAXException

Copyright © 2004-2007 TMate Software Ltd. All Rights Reserved.