org.xml.sax.ContentHandler
public class DocumentHandlerAdapter
extends java.lang.Object
implements org.xml.sax.ContentHandler
Constructor | Description |
---|---|
DocumentHandlerAdapter(org.xml.sax.DocumentHandler handler) |
Creates a new DocumentHandlerAdapter
|
Modifier and Type | Method | Description |
---|---|---|
void |
characters(char[] chars,
int start,
int length) |
|
void |
endDocument() |
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
|
void |
endPrefixMapping(java.lang.String prefix) |
|
void |
ignorableWhitespace(char[] chars,
int start,
int length) |
|
void |
processingInstruction(java.lang.String target,
java.lang.String data) |
|
void |
setDocumentLocator(org.xml.sax.Locator locator) |
|
void |
skippedEntity(java.lang.String arg0) |
|
void |
startDocument() |
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri) |
public DocumentHandlerAdapter(org.xml.sax.DocumentHandler handler)
handler
- the DocumentHandler to wrap (non-null).public void characters(char[] chars, 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 endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.endDocument()
public void endElement(java.lang.String uri, 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(java.lang.String, java.lang.String,
java.lang.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(java.lang.String)
public void ignorableWhitespace(char[] chars, 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(java.lang.String, java.lang.String)
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
ContentHandler.setDocumentLocator(org.xml.sax.Locator)
public void skippedEntity(java.lang.String arg0) throws org.xml.sax.SAXException
skippedEntity
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.skippedEntity(java.lang.String)
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
org.xml.sax.SAXException
ContentHandler.startDocument()
public void startElement(java.lang.String uri, 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(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
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(java.lang.String, java.lang.String)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com