org.xmldb.api.sdk.modules
public class SetContentHandler extends DefaultHandler
Field Summary | |
---|---|
protected Hashtable | namespaces |
protected StringBuffer | newContent |
protected XMLResource | resource |
Constructor Summary | |
---|---|
SetContentHandler(XMLResource resource) |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length)
Receive notification of character data inside an element.
|
void | endDocument()
Receive notification of the end of the document.
|
void | endElement(String uri, String localName, String qName)
Receive notification of the end of an element.
|
void | endPrefixMapping(String prefix)
Receive notification of the end of a Namespace mapping.
|
void | ignorableWhitespace(char[] ch, int start, int length)
Receive notification of ignorable whitespace in element content.
|
void | processingInstruction(String target, String data)
Receive notification of a processing instruction.
|
void | skippedEntity(String name)
Receive notification of a skipped entity.
|
void | startDocument()
Receive notification of the beginning of the document.
|
void | startElement(String uri, String localName, String qName, Attributes attributes)
Receive notification of the start of an element.
|
void | startPrefixMapping(String prefix, String uri)
Receive notification of the start of a Namespace mapping.
|
Parameters: ch The characters. start The start position in the character array. length The number of characters to use from the character array.
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#characters
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#endDocument
Parameters: uri Description of Parameter localName Description of Parameter qName Description of Parameter
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#endElement
Parameters: prefix The Namespace prefix being declared.
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#endPrefixMapping
Parameters: ch The whitespace characters. start The start position in the character array. length The number of characters to use from the character array.
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#ignorableWhitespace
Parameters: target The processing instruction target. data The processing instruction data, or null if none is supplied.
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#processingInstruction
Parameters: name The name of the skipped entity.
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#processingInstruction
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#startDocument
Parameters: attributes The specified or defaulted attributes. uri Description of Parameter localName Description of Parameter qName Description of Parameter
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#startElement
Parameters: prefix The Namespace prefix being declared. uri The Namespace URI mapped to the prefix.
Throws: SAXException Description of Exception
See Also: org.xml.sax.ContentHandler#startPrefixMapping