|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.xml.SVNXMLSerializer
public class SVNXMLSerializer
This implementation of ContentHandler can write XML contents to a specified output stream or writer.
Constructor Summary | |
---|---|
SVNXMLSerializer(java.io.OutputStream os)
Creates a serializer to write XML contents to the specified output stream. |
|
SVNXMLSerializer(java.io.Writer writer)
Creates a serializer to write XML contents to the specified writer. |
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Handles CData characters. |
void |
endDocument()
Writes a End Of Line marker to the output. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
Closes the xml element. |
void |
endPrefixMapping(java.lang.String prefix)
Does nothing. |
void |
flush()
Flushes written bytes. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Does nothing. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Does nothing. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Does nothing. |
void |
skippedEntity(java.lang.String name)
Does nothing. |
void |
startDocument()
Starts xml document. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Starts an xml element. |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.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(java.io.OutputStream os)
os
- an output stream to write contents topublic SVNXMLSerializer(java.io.Writer writer)
writer
- a writer to write contents toMethod Detail |
---|
public void flush() throws java.io.IOException
java.io.IOException
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
namespaceURI
- localName
- qName
- atts
-
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
ch
- start
- length
-
org.xml.sax.SAXException
public void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
namespaceURI
- localName
- qName
-
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
ch
- start
- length
-
org.xml.sax.SAXException
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
prefix
-
org.xml.sax.SAXException
public void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
name
-
org.xml.sax.SAXException
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
locator
- public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
target
- data
-
org.xml.sax.SAXException
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
prefix
- uri
-
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |