| Package | Description |
|---|---|
| javax.xml.bind.helpers |
JAXB Provider Use Only: Provides partial default implementations for some of the
javax.xml.bind interfaces.
|
| javax.xml.parsers |
Provides classes allowing the processing of XML documents.
|
| javax.xml.validation |
This package provides an API for validation of XML documents.
|
| org.xml.sax |
This package provides the core SAX APIs.
|
| org.xml.sax.ext |
This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.
|
| org.xml.sax.helpers |
This package contains "helper" classes, including support for bootstrapping SAX-based applications.
|
| Modifier and Type | Method and Description |
|---|---|
protected UnmarshalException |
AbstractUnmarshallerImpl.createUnmarshalException(SAXException
Creates an UnmarshalException from a SAXException.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Parser |
SAXParser.getParser()
Returns the SAX parser that is encapsultated by the implementation of this class.
|
abstract XMLReader |
SAXParser.getXMLReader()
Returns the
XMLReader that is encapsulated by the implementation of this class.
|
abstract SAXParser |
SAXParserFactory.newSAXParser()
Creates a new instance of a SAXParser using the currently configured factory parameters.
|
Document |
DocumentBuilder.parse(File
Parse the content of the given file as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(File
Parse the content of the file specified as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(File
Parse the content of the file specified as XML using the specified
HandlerBase.
|
abstract Document |
DocumentBuilder.parse(InputSource
Parse the content of the given input source as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(InputSource
Parse the content given
InputSource as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputSource
Parse the content given
InputSource as XML using the specified
HandlerBase.
|
Document |
DocumentBuilder.parse(InputStream
Parse the content of the given
InputStream as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
HandlerBase.
|
void |
SAXParser.parse(InputStream
Parse the content of the given
InputStream instance as XML using the specified
HandlerBase.
|
Document |
DocumentBuilder.parse(InputStream
Parse the content of the given
InputStream as an XML document and return a new DOM
Document object.
|
Document |
DocumentBuilder.parse(String
Parse the content of the given URI as an XML document and return a new DOM
Document object.
|
void |
SAXParser.parse(String
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified
DefaultHandler.
|
void |
SAXParser.parse(String
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified
HandlerBase.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Schema |
SchemaFactory.newSchema()
Creates a special
Schema object.
|
Schema |
SchemaFactory.newSchema(File
Parses the specified
File as a schema and returns it as a
Schema.
|
Schema |
SchemaFactory.newSchema(Source
Parses the specified source as a schema and returns it as a schema.
|
abstract Schema |
SchemaFactory.newSchema(Source
Parses the specified source(s) as a schema and returns it as a schema.
|
Schema |
SchemaFactory.newSchema(URL
Parses the specified
URL as a schema and returns it as a
Schema.
|
void |
Validator.validate(Source
Validates the specified input.
|
abstract void |
Validator.validate(Source
Validates the specified input and send the augmented validation result to the specified output.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SAXNotRecognizedException
Exception class for an unrecognized identifier.
|
class |
SAXNotSupportedException
Exception class for an unsupported operation.
|
class |
SAXParseException
Encapsulate an XML parse error or warning.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HandlerBase.characters(char[] ch, int start, int length)
Deprecated.
Receive notification of character data inside an element.
|
void |
ContentHandler.characters(char[] ch, int start, int length)
Receive notification of character data.
|
void |
DocumentHandler.characters(char[] ch, int start, int length)
Deprecated.
Receive notification of character data.
|
void |
HandlerBase.endDocument()
Deprecated.
Receive notification of the end of the document.
|
void |
ContentHandler.endDocument()
Receive notification of the end of a document.
|
void |
DocumentHandler.endDocument()
Deprecated.
Receive notification of the end of a document.
|
void |
HandlerBase.endElement(String
Deprecated.
Receive notification of the end of an element.
|
void |
DocumentHandler.endElement(String
Deprecated.
Receive notification of the end of an element.
|
void |
ContentHandler.endElement(String
Receive notification of the end of an element.
|
void |
ContentHandler.endPrefixMapping(String
End the scope of a prefix-URI mapping.
|
void |
HandlerBase.error(SAXParseException
Deprecated.
Receive notification of a recoverable parser error.
|
void |
ErrorHandler.error(SAXParseException
Receive notification of a recoverable error.
|
void |
HandlerBase.fatalError(SAXParseException
Deprecated.
Report a fatal XML parsing error.
|
void |
ErrorHandler.fatalError(SAXParseException
Receive notification of a non-recoverable error.
|
void |
HandlerBase.ignorableWhitespace(char[] ch, int start, int length)
Deprecated.
Receive notification of ignorable whitespace in element content.
|
void |
ContentHandler.ignorableWhitespace(char[] ch, int start, int length)
Receive notification of ignorable whitespace in element content.
|
void |
DocumentHandler.ignorableWhitespace(char[] ch, int start, int length)
Deprecated.
Receive notification of ignorable whitespace in element content.
|
void |
DTDHandler.notationDecl(String
Receive notification of a notation declaration event.
|
void |
XMLReader.parse(InputSource
Parse an XML document.
|
void |
Parser.parse(InputSource
Deprecated.
Parse an XML document.
|
void |
XMLReader.parse(String
Parse an XML document from a system identifier (URI).
|
void |
Parser.parse(String
Deprecated.
Parse an XML document from a system identifier (URI).
|
void |
HandlerBase.processingInstruction(String
Deprecated.
Receive notification of a processing instruction.
|
void |
ContentHandler.processingInstruction(String
Receive notification of a processing instruction.
|
void |
DocumentHandler.processingInstruction(String
Deprecated.
Receive notification of a processing instruction.
|
InputSource |
EntityResolver.resolveEntity(String
Allow the application to resolve external entities.
|
InputSource |
HandlerBase.resolveEntity(String
Deprecated.
Resolve an external entity.
|
void |
Parser.setLocale(Locale
Deprecated.
Allow an application to request a locale for errors and warnings.
|
void |
ContentHandler.skippedEntity(String
Receive notification of a skipped entity.
|
void |
HandlerBase.startDocument()
Deprecated.
Receive notification of the beginning of the document.
|
void |
ContentHandler.startDocument()
Receive notification of the beginning of a document.
|
void |
DocumentHandler.startDocument()
Deprecated.
Receive notification of the beginning of a document.
|
void |
HandlerBase.startElement(String
Deprecated.
Receive notification of the start of an element.
|
void |
DocumentHandler.startElement(String
Deprecated.
Receive notification of the beginning of an element.
|
void |
ContentHandler.startElement(String
Receive notification of the beginning of an element.
|
void |
ContentHandler.startPrefixMapping(String
Begin the scope of a prefix-URI Namespace mapping.
|
void |
DTDHandler.unparsedEntityDecl(String
Receive notification of an unparsed entity declaration event.
|
void |
HandlerBase.warning(SAXParseException
Deprecated.
Receive notification of a parser warning.
|
void |
ErrorHandler.warning(SAXParseException
Receive notification of a warning.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeclHandler.attributeDecl(String
Report an attribute type declaration.
|
void |
DefaultHandler2.attributeDecl(String
|
void |
LexicalHandler.comment(char[] ch, int start, int length)
Report an XML comment anywhere in the document.
|
void |
DefaultHandler2.comment(char[] ch, int start, int length)
|
void |
DeclHandler.elementDecl(String
Report an element type declaration.
|
void |
DefaultHandler2.elementDecl(String
|
void |
LexicalHandler.endCDATA()
Report the end of a CDATA section.
|
void |
DefaultHandler2.endCDATA()
|
void |
LexicalHandler.endDTD()
Report the end of DTD declarations.
|
void |
DefaultHandler2.endDTD()
|
void |
LexicalHandler.endEntity(String
Report the end of an entity.
|
void |
DefaultHandler2.endEntity(String
|
void |
DeclHandler.externalEntityDecl(String
Report a parsed external entity declaration.
|
void |
DefaultHandler2.externalEntityDecl(String
|
InputSource |
EntityResolver2.getExternalSubset(String
Allows applications to provide an external subset for documents that don't explicitly define one.
|
InputSource |
DefaultHandler2.getExternalSubset(String
Tells the parser that if no external subset has been declared in the document text, none should be used.
|
void |
DeclHandler.internalEntityDecl(String
Report an internal entity declaration.
|
void |
DefaultHandler2.internalEntityDecl(String
|
InputSource |
DefaultHandler2.resolveEntity(String
Invokes
EntityResolver2.resolveEntity() with null entity name and base URI.
|
InputSource |
EntityResolver2.resolveEntity(String
Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution.
|
InputSource |
DefaultHandler2.resolveEntity(String
Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI.
|
void |
LexicalHandler.startCDATA()
Report the start of a CDATA section.
|
void |
DefaultHandler2.startCDATA()
|
void |
LexicalHandler.startDTD(String
Report the start of DTD declarations, if any.
|
void |
DefaultHandler2.startDTD(String
|
void |
LexicalHandler.startEntity(String
Report the beginning of some internal and external XML entities.
|
void |
DefaultHandler2.startEntity(String
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultHandler.characters(char[] ch, int start, int length)
Receive notification of character data inside an element.
|
void |
ParserAdapter.characters(char[] ch, int start, int length)
Adapter implementation method; do not call.
|
void |
XMLReaderAdapter.characters(char[] ch, int start, int length)
Adapt a SAX2 characters event.
|
void |
XMLFilterImpl.characters(char[] ch, int start, int length)
Filter a character data event.
|
static XMLReader |
XMLReaderFactory.createXMLReader()
Attempt to create an XMLReader from system defaults.
|
static XMLReader |
XMLReaderFactory.createXMLReader(String
Attempt to create an XML reader from a class name.
|
void |
DefaultHandler.endDocument()
Receive notification of the end of the document.
|
void |
ParserAdapter.endDocument()
Adapter implementation method; do not call.
|
void |
XMLReaderAdapter.endDocument()
End document event.
|
void |
XMLFilterImpl.endDocument()
Filter an end document event.
|
void |
ParserAdapter.endElement(String
Adapter implementation method; do not call.
|
void |
DefaultHandler.endElement(String
Receive notification of the end of an element.
|
void |
XMLReaderAdapter.endElement(String
Adapt a SAX2 end element event.
|
void |
XMLFilterImpl.endElement(String
Filter an end element event.
|
void |
DefaultHandler.endPrefixMapping(String
Receive notification of the end of a Namespace mapping.
|
void |
XMLFilterImpl.endPrefixMapping(String
Filter an end Namespace prefix mapping event.
|
void |
DefaultHandler.error(SAXParseException
Receive notification of a recoverable parser error.
|
void |
XMLFilterImpl.error(SAXParseException
Filter an error event.
|
void |
DefaultHandler.fatalError(SAXParseException
Report a fatal XML parsing error.
|
void |
XMLFilterImpl.fatalError(SAXParseException
Filter a fatal error event.
|
void |
DefaultHandler.ignorableWhitespace(char[] ch, int start, int length)
Receive notification of ignorable whitespace in element content.
|
void |
ParserAdapter.ignorableWhitespace(char[] ch, int start, int length)
Adapter implementation method; do not call.
|
void |
XMLReaderAdapter.ignorableWhitespace(char[] ch, int start, int length)
Adapt a SAX2 ignorable whitespace event.
|
void |
XMLFilterImpl.ignorableWhitespace(char[] ch, int start, int length)
Filter an ignorable whitespace event.
|
void |
DefaultHandler.notationDecl(String
Receive notification of a notation declaration.
|
void |
XMLFilterImpl.notationDecl(String
Filter a notation declaration event.
|
void |
ParserAdapter.parse(InputSource
Parse an XML document.
|
void |
XMLReaderAdapter.parse(InputSource
Parse the document.
|
void |
XMLFilterImpl.parse(InputSource
Parse a document.
|
void |
ParserAdapter.parse(String
Parse an XML document.
|
void |
XMLReaderAdapter.parse(String
Parse the document.
|
void |
XMLFilterImpl.parse(String
Parse a document.
|
void |
DefaultHandler.processingInstruction(String
Receive notification of a processing instruction.
|
void |
ParserAdapter.processingInstruction(String
Adapter implementation method; do not call.
|
void |
XMLReaderAdapter.processingInstruction(String
Adapt a SAX2 processing instruction event.
|
void |
XMLFilterImpl.processingInstruction(String
Filter a processing instruction event.
|
InputSource |
DefaultHandler.resolveEntity(String
Resolve an external entity.
|
InputSource |
XMLFilterImpl.resolveEntity(String
Filter an external entity resolution.
|
void |
XMLReaderAdapter.setLocale(Locale
Set the locale for error reporting.
|
void |
DefaultHandler.skippedEntity(String
Receive notification of a skipped entity.
|
void |
XMLReaderAdapter.skippedEntity(String
Adapt a SAX2 skipped entity event.
|
void |
XMLFilterImpl.skippedEntity(String
Filter a skipped entity event.
|
void |
DefaultHandler.startDocument()
Receive notification of the beginning of the document.
|
void |
ParserAdapter.startDocument()
Adapter implementation method; do not call.
|
void |
XMLReaderAdapter.startDocument()
Start document event.
|
void |
XMLFilterImpl.startDocument()
Filter a start document event.
|
void |
ParserAdapter.startElement(String
Adapter implementation method; do not call.
|
void |
DefaultHandler.startElement(String
Receive notification of the start of an element.
|
void |
XMLReaderAdapter.startElement(String
Adapt a SAX2 start element event.
|
void |
XMLFilterImpl.startElement(String
Filter a start element event.
|
void |
DefaultHandler.startPrefixMapping(String
Receive notification of the start of a Namespace mapping.
|
void |
XMLFilterImpl.startPrefixMapping(String
Filter a start Namespace prefix mapping event.
|
void |
DefaultHandler.unparsedEntityDecl(String
Receive notification of an unparsed entity declaration.
|
void |
XMLFilterImpl.unparsedEntityDecl(String
Filter an unparsed entity declaration event.
|
void |
DefaultHandler.warning(SAXParseException
Receive notification of a parser warning.
|
void |
XMLFilterImpl.warning(SAXParseException
Filter a warning event.
|
| Constructor and Description | |
|---|---|
ParserAdapter()
Construct a new parser adapter.
|
|
XMLReaderAdapter()
Create a new adapter.
|