|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tmatesoft.svn.core.wc.xml.SVNXMLSerializer
This implementation of ContentHandler can write XML contents to a specified output stream or writer.
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 | |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
Writes a End Of Line marker to the output. |
void |
endElement(String namespaceURI,
String localName,
String qName)
|
void |
endPrefixMapping(String prefix)
Does nothing. |
void |
flush()
Flushes written bytes. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Does nothing. |
void |
processingInstruction(String target,
String data)
Does nothing. |
void |
setDocumentLocator(Locator locator)
Does nothing. |
void |
skippedEntity(String name)
Does nothing. |
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
void |
startPrefixMapping(String prefix,
String uri)
Does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVNXMLSerializer(OutputStream os)
os
- an output stream to write contents topublic SVNXMLSerializer(Writer writer)
writer
- a writer to write contents toMethod Detail |
public void flush() throws IOException
IOException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
ch
- start
- length
-
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
prefix
-
SAXException
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
name
-
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
locator
- public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
target
- data
-
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
prefix
- uri
-
SAXException
|
JavaSVN Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |