org.apache.xerces.impl.xs.opti
public class SchemaDOMParser extends DefaultXMLDocumentHandler
Version: $Id: SchemaDOMParser.java,v 1.19 2005/05/30 04:17:11 mrglavas Exp $
UNKNOWN:
Field Summary | |
---|---|
static String | ERROR_REPORTER Property identifier: error reporter. |
protected XMLLocator | fLocator |
protected NamespaceContext | fNamespaceContext |
static String | GENERATE_SYNTHETIC_ANNOTATION Feature identifier: generate synthetic annotations. |
Constructor Summary | |
---|---|
SchemaDOMParser(XMLParserConfiguration config) Default constructor. |
Method Summary | |
---|---|
void | characters(XMLString text, Augmentations augs)
Character content.
|
void | comment(XMLString text, Augmentations augs)
A comment.
|
void | emptyElement(QName element, XMLAttributes attributes, Augmentations augs)
An empty element.
|
void | endCDATA(Augmentations augs)
The end of a CDATA section.
|
void | endDocument(Augmentations augs)
The end of the document. |
void | endElement(QName element, Augmentations augs)
The end of an element.
|
Document | getDocument()
Returns the DOM document object. |
Document | getDocument2()
Gets the document from SchemaParsingConfig |
boolean | getFeature(String featureId)
Delegates to SchemaParsingConfig.getFeature |
Object | getProperty(String propertyId)
Delegates to SchemaParsingConfig.getProperty. |
void | ignorableWhitespace(XMLString text, Augmentations augs)
Ignorable whitespace. |
void | parse(XMLInputSource inputSource)
Delegates parsing to SchemaParsingConfig
|
void | processingInstruction(String target, XMLString data, Augmentations augs)
A processing instruction. |
void | reset()
Reset SchemaParsingConfig |
void | resetNodePool()
ResetNodePool on SchemaParsingConfig |
void | setEntityResolver(XMLEntityResolver er)
Delegates to SchemaParsingConfig.setEntityResolver. |
void | setFeature(String featureId, boolean state)
Delegates to SchemaParsingConfig.setFeature |
void | setProperty(String propertyId, Object value)
Delegates to SchemaParsingConfig.setProperty. |
void | startCDATA(Augmentations augs)
The start of a CDATA section.
|
void | startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) |
void | startElement(QName element, XMLAttributes attributes, Augmentations augs)
The start of an element.
|
Parameters: text The content. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: text The text in the comment. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by application to signal an error.
Parameters: element The name of the element. attributes The element attributes. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: element The name of the element. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Returns: Document
Parameters: featureId
Returns: boolean
Parameters: propertyId
Returns: Object
Parameters: text The ignorable whitespace. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: inputSource
Throws: IOException
Typically, a processing instruction's data will contain a series of pseudo-attributes. These pseudo-attributes follow the form of element attributes but are not parsed or presented to the application as anything other than text. The application is responsible for parsing the data.
Parameters: target The target. data The data or null if none specified. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: er XMLEntityResolver
Parameters: featureId state
Parameters: propertyId value
Parameters: augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.
Parameters: element The name of the element. attributes The element attributes. augs Additional information that may include infoset augmentations
Throws: XNIException Thrown by handler to signal an error.