|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.property.xml.XMLOutputter.Handler
Inner class to manage the SAX events. This is used to hide the public methods from the main interface.
Constructor Summary | |
protected |
XMLOutputter.Handler(java.io.Writer writer,
boolean prettyPrint)
Constructor |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
|
protected void |
decreaseOffset()
Decrease the offset |
void |
endDocument()
|
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
|
void |
endPrefixMapping(java.lang.String prefix)
|
protected java.lang.String |
escapeAttributeValue(java.lang.String value)
Escape the specified attribute value |
protected java.lang.String |
escapeBodyText(java.lang.String value)
Escape the specified body text |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
protected void |
increaseOffset()
Increase the offset |
protected void |
outputNewLine()
Output a new line |
protected void |
outputOffset()
Output offset |
protected void |
outputStartTag(boolean closed)
Output the start tag |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
|
void |
setDocumentLocator(org.xml.sax.Locator locator)
|
void |
skippedEntity(java.lang.String name)
|
void |
startDocument()
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected XMLOutputter.Handler(java.io.Writer writer, boolean prettyPrint)
writer
- a writerMethod Detail |
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.characters(char[], int, int)
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
org.xml.sax.SAXException
ContentHandler.startElement(String, String, String, Attributes)
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
org.xml.sax.SAXException
ContentHandler.endElement(String, String, String)
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
ContentHandler.setDocumentLocator(Locator)
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.startDocument()
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.endDocument()
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.ignorableWhitespace(char[], int, int)
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.processingInstruction(String, String)
public void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.skippedEntity(String)
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.startPrefixMapping(String, String)
public void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
endPrefixMapping
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.endPrefixMapping(String)
protected void increaseOffset()
protected void decreaseOffset()
protected void outputNewLine() throws java.io.IOException
java.io.IOException
protected void outputOffset() throws java.io.IOException
java.io.IOException
protected void outputStartTag(boolean closed) throws java.io.IOException
java.io.IOException
protected java.lang.String escapeBodyText(java.lang.String value)
protected java.lang.String escapeAttributeValue(java.lang.String value)
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |