com.sun.msv.writer
public class ContentHandlerAdaptor extends Object implements DocumentHandler
Constructor Summary | |
---|---|
ContentHandlerAdaptor(ContentHandler handler) |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length)
Adapt a SAX1 characters event.
|
void | endDocument()
Adapt a SAX1 end document event.
|
void | endElement(String qName)
Adapt a SAX1 end element event.
|
void | ignorableWhitespace(char[] ch, int start, int length)
Adapt a SAX1 ignorable whitespace event.
|
void | processingInstruction(String target, String data)
Adapt a SAX1 processing instruction event.
|
void | setDocumentLocator(Locator locator)
Adapt a SAX1 document locator event.
|
void | startDocument()
Adapt a SAX1 start document event.
|
void | startElement(String qName, AttributeList qAtts)
Adapt a SAX1 startElement event.
|
Parameters: ch An array of characters. start The starting position in the array. length The number of characters to use.
Throws: org.xml.sax.SAXException The client may raise a processing exception.
See Also: org.xml.sax.DocumentHandler#characters
Throws: org.xml.sax.SAXException The client may raise a processing exception.
See Also: org.xml.sax.DocumentHandler#endDocument
Parameters: qName The qualified (prefixed) name.
Throws: org.xml.sax.SAXException The client may raise a processing exception.
See Also: org.xml.sax.DocumentHandler#endElement
Parameters: ch An array of characters. start The starting position in the array. length The number of characters to use.
Throws: org.xml.sax.SAXException The client may raise a processing exception.
See Also: org.xml.sax.DocumentHandler#ignorableWhitespace
Parameters: target The processing instruction target. data The remainder of the processing instruction
Throws: org.xml.sax.SAXException The client may raise a processing exception.
See Also: org.xml.sax.DocumentHandler#processingInstruction
Parameters: locator A document locator.
See Also: org.xml.sax.ContentHandler#setDocumentLocator
Throws: org.xml.sax.SAXException The client may raise a processing exception.
See Also: org.xml.sax.DocumentHandler#startDocument
If necessary, perform Namespace processing.
Parameters: qName The qualified (prefixed) name. qAtts The XML 1.0 attribute list (with qnames).