DefaultHandler (Java Platform SE 7 ) (original) (raw)

Modifier and Type

Method and Description

void

**[characters](../../../../org/xml/sax/helpers/DefaultHandler.html#characters%28char[],%20int,%20int%29)**(char[] ch, int start, int length)

Receive notification of character data inside an element.

void

**[endDocument](../../../../org/xml/sax/helpers/DefaultHandler.html#endDocument%28%29)**()

Receive notification of the end of the document.

void

**[endElement](../../../../org/xml/sax/helpers/DefaultHandler.html#endElement%28java.lang.String,%20java.lang.String,%20java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") uri,[String](../../../../java/lang/String.html "class in java.lang") localName,[String](../../../../java/lang/String.html "class in java.lang") qName)

Receive notification of the end of an element.

void

**[endPrefixMapping](../../../../org/xml/sax/helpers/DefaultHandler.html#endPrefixMapping%28java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") prefix)

Receive notification of the end of a Namespace mapping.

void

**[error](../../../../org/xml/sax/helpers/DefaultHandler.html#error%28org.xml.sax.SAXParseException%29)**([SAXParseException](../../../../org/xml/sax/SAXParseException.html "class in org.xml.sax") e)

Receive notification of a recoverable parser error.

void

**[fatalError](../../../../org/xml/sax/helpers/DefaultHandler.html#fatalError%28org.xml.sax.SAXParseException%29)**([SAXParseException](../../../../org/xml/sax/SAXParseException.html "class in org.xml.sax") e)

Report a fatal XML parsing error.

void

**[ignorableWhitespace](../../../../org/xml/sax/helpers/DefaultHandler.html#ignorableWhitespace%28char[],%20int,%20int%29)**(char[] ch, int start, int length)

Receive notification of ignorable whitespace in element content.

void

**[notationDecl](../../../../org/xml/sax/helpers/DefaultHandler.html#notationDecl%28java.lang.String,%20java.lang.String,%20java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") name,[String](../../../../java/lang/String.html "class in java.lang") publicId,[String](../../../../java/lang/String.html "class in java.lang") systemId)

Receive notification of a notation declaration.

void

**[processingInstruction](../../../../org/xml/sax/helpers/DefaultHandler.html#processingInstruction%28java.lang.String,%20java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") target,[String](../../../../java/lang/String.html "class in java.lang") data)

Receive notification of a processing instruction.

[InputSource](../../../../org/xml/sax/InputSource.html "class in org.xml.sax")

**[resolveEntity](../../../../org/xml/sax/helpers/DefaultHandler.html#resolveEntity%28java.lang.String,%20java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") publicId,[String](../../../../java/lang/String.html "class in java.lang") systemId)

Resolve an external entity.

void

**[setDocumentLocator](../../../../org/xml/sax/helpers/DefaultHandler.html#setDocumentLocator%28org.xml.sax.Locator%29)**([Locator](../../../../org/xml/sax/Locator.html "interface in org.xml.sax") locator)

Receive a Locator object for document events.

void

**[skippedEntity](../../../../org/xml/sax/helpers/DefaultHandler.html#skippedEntity%28java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") name)

Receive notification of a skipped entity.

void

**[startDocument](../../../../org/xml/sax/helpers/DefaultHandler.html#startDocument%28%29)**()

Receive notification of the beginning of the document.

void

**[startElement](../../../../org/xml/sax/helpers/DefaultHandler.html#startElement%28java.lang.String,%20java.lang.String,%20java.lang.String,%20org.xml.sax.Attributes%29)**([String](../../../../java/lang/String.html "class in java.lang") uri,[String](../../../../java/lang/String.html "class in java.lang") localName,[String](../../../../java/lang/String.html "class in java.lang") qName,[Attributes](../../../../org/xml/sax/Attributes.html "interface in org.xml.sax") attributes)

Receive notification of the start of an element.

void

**[startPrefixMapping](../../../../org/xml/sax/helpers/DefaultHandler.html#startPrefixMapping%28java.lang.String,%20java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") prefix,[String](../../../../java/lang/String.html "class in java.lang") uri)

Receive notification of the start of a Namespace mapping.

void

**[unparsedEntityDecl](../../../../org/xml/sax/helpers/DefaultHandler.html#unparsedEntityDecl%28java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String%29)**([String](../../../../java/lang/String.html "class in java.lang") name,[String](../../../../java/lang/String.html "class in java.lang") publicId,[String](../../../../java/lang/String.html "class in java.lang") systemId,[String](../../../../java/lang/String.html "class in java.lang") notationName)

Receive notification of an unparsed entity declaration.

void

**[warning](../../../../org/xml/sax/helpers/DefaultHandler.html#warning%28org.xml.sax.SAXParseException%29)**([SAXParseException](../../../../org/xml/sax/SAXParseException.html "class in org.xml.sax") e)

Receive notification of a parser warning.