| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DefaultContentHandler
General convenience interface that allows to format common data fields and write them as characters onto a content handler
| Method Summary | |
|---|---|
| void | dateTime(java.util.Date date)
Converts the date into RFC 3066 format and Passes it on to the ContentHandler.characters(char[], int, int) method. |
| void | dateTime(long date)
Converts the date into RFC 3066 format and passes it on to the ContentHandler.characters(char[], int, int) method. |
| org.xml.sax.ContentHandler | getInnerContentHandler()
Returns a ContentHandler that ignores calls to ContentHandler.startDocument() and ContentHandler.endDocument() but simply passes on all other calls to the DefaultContentHandler. |
| java.io.Writer | getWriter()
Returns a Writer that will dispach all calls to the write methods to the ContentHandler.characters(char[], int, int) method. |
| void | number(int number)
Converts the number to a decimal string and passes it on to the ContentHandler.characters(char[], int, int) method. |
| void | number(long number)
Converts the number to a decimal string and passes it on to the ContentHandler.characters(char[], int, int) method. |
| void | text(java.lang.String text)
Passes the text string on to the ContentHandler.characters(char[], int, int) method. |
| void | text(java.lang.StringBuffer text)
Passes the text string on to the ContentHandler.characters(char[], int, int) method. |
| void | uri(java.lang.String uri)
Passes the uri as a string string on to the ContentHandler.characters(char[], int, int) method. |
| void | uri(java.net.URI uri)
Passes the uri as a string string on to the ContentHandler.characters(char[], int, int) method. |
| void | uri(java.net.URL url)
Passes the uri as a string string on to the ContentHandler.characters(char[], int, int) method. |
| void | uri(java.net.URL baseURL,
java.net.URL url,
java.lang.Boolean bTryRelative)
Passes the uri as a string string on to the ContentHandler.characters(char[], int, int) method. |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
| characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
| Method Detail |
|---|
void text(java.lang.String text)
throws org.xml.sax.SAXException
null.
void text(java.lang.StringBuffer text)
throws org.xml.sax.SAXException
null.
void uri(java.lang.String uri)
throws org.xml.sax.SAXException
null.
void uri(java.net.URI uri)
throws org.xml.sax.SAXException
null.
void uri(java.net.URL url)
throws org.xml.sax.SAXException
null.
void uri(java.net.URL baseURL,
java.net.URL url,
java.lang.Boolean bTryRelative)
throws org.xml.sax.SAXException
nullnull.
void dateTime(java.util.Date date)
throws org.xml.sax.SAXException
null.
void dateTime(long date)
throws org.xml.sax.SAXException
null.
void number(int number)
throws org.xml.sax.SAXException
void number(long number)
throws org.xml.sax.SAXException
org.xml.sax.ContentHandler getInnerContentHandler()
java.io.Writer getWriter()
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||