| java.lang.Object org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandler org.apache.xerces.impl.xs.opti.SchemaDOMParser
SchemaDOMParser | public class SchemaDOMParser extends DefaultXMLDocumentHandler (Code) | | author: Rahul Srivastava, Sun Microsystems Inc. author: Sandy Gao, IBM version: $Id: SchemaDOMParser.java 446728 2006-09-15 20:43:46Z mrglavas $ |
Method Summary | |
public void | characters(XMLString text, Augmentations augs) Character content. | public void | comment(XMLString text, Augmentations augs) A comment. | public void | emptyElement(QName element, XMLAttributes attributes, Augmentations augs) An empty element. | public void | endCDATA(Augmentations augs) The end of a CDATA section. | public void | endDocument(Augmentations augs) The end of the document. | public void | endElement(QName element, Augmentations augs) The end of an element. | public Document | getDocument() Returns the DOM document object. | public Document | getDocument2() | public boolean | getFeature(String featureId) | public Object | getProperty(String propertyId) Delegates to SchemaParsingConfig.getProperty. | public void | ignorableWhitespace(XMLString text, Augmentations augs) Ignorable whitespace. | public void | parse(XMLInputSource inputSource) | public void | processingInstruction(String target, XMLString data, Augmentations augs) A processing instruction. | public void | reset() | public void | resetNodePool() | public void | setEntityResolver(XMLEntityResolver er) Delegates to SchemaParsingConfig.setEntityResolver. | public void | setFeature(String featureId, boolean state) | public void | setProperty(String propertyId, Object value) Delegates to SchemaParsingConfig.setProperty. | public void | startCDATA(Augmentations augs) The start of a CDATA section. | public void | startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) | public void | startElement(QName element, XMLAttributes attributes, Augmentations augs) The start of an element. |
ERROR_REPORTER | final public static String ERROR_REPORTER(Code) | | Property identifier: error reporter.
|
GENERATE_SYNTHETIC_ANNOTATION | final public static String GENERATE_SYNTHETIC_ANNOTATION(Code) | | Feature identifier: generate synthetic annotations.
|
characters | public void characters(XMLString text, Augmentations augs) throws XNIException(Code) | | Character content.
Parameters: text - The content. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
comment | public void comment(XMLString text, Augmentations augs) throws XNIException(Code) | | A comment.
Parameters: text - The text in the comment. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by application to signal an error. |
emptyElement | public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code) | | An empty element.
Parameters: element - The name of the element. Parameters: attributes - The element attributes. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
endCDATA | public void endCDATA(Augmentations augs) throws XNIException(Code) | | The end of a CDATA section.
Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
endDocument | public void endDocument(Augmentations augs) throws XNIException(Code) | | The end of the document.
Parameters: augs - Additional information that may include infoset augmentations throws: XNIException - Thrown by handler to signal an error. |
endElement | public void endElement(QName element, Augmentations augs) throws XNIException(Code) | | The end of an element.
Parameters: element - The name of the element. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
getDocument | public Document getDocument()(Code) | | Returns the DOM document object.
|
getDocument2 | public Document getDocument2()(Code) | | Gets the document from SchemaParsingConfig
Document |
getFeature | public boolean getFeature(String featureId)(Code) | | Delegates to SchemaParsingConfig.getFeature
Parameters: featureId - boolean |
getProperty | public Object getProperty(String propertyId)(Code) | | Delegates to SchemaParsingConfig.getProperty.
Parameters: propertyId - Object |
ignorableWhitespace | public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code) | | Ignorable whitespace. For this method to be called, the document
source must have some way of determining that the text containing
only whitespace characters should be considered ignorable. For
example, the validator can determine if a length of whitespace
characters in the document are ignorable based on the element
content model.
Parameters: text - The ignorable whitespace. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
processingInstruction | public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code) | | A processing instruction. Processing instructions consist of a
target name and, optionally, text data. The data is only meaningful
to the application.
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. Parameters: data - The data or null if none specified. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
reset | public void reset()(Code) | | Reset SchemaParsingConfig
|
resetNodePool | public void resetNodePool()(Code) | | ResetNodePool on SchemaParsingConfig
|
setEntityResolver | public void setEntityResolver(XMLEntityResolver er)(Code) | | Delegates to SchemaParsingConfig.setEntityResolver.
Parameters: er - XMLEntityResolver |
setFeature | public void setFeature(String featureId, boolean state)(Code) | | Delegates to SchemaParsingConfig.setFeature
Parameters: featureId - Parameters: state - |
setProperty | public void setProperty(String propertyId, Object value)(Code) | | Delegates to SchemaParsingConfig.setProperty.
Parameters: propertyId - Parameters: value - |
startCDATA | public void startCDATA(Augmentations augs) throws XNIException(Code) | | The start of a CDATA section.
Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
startElement | public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code) | | The start of an element.
Parameters: element - The name of the element. Parameters: attributes - The element attributes. Parameters: augs - Additional information that may include infoset augmentations exception: XNIException - Thrown by handler to signal an error. |
Methods inherited from org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandler | public void any(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void characters(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void comment(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) throws XNIException(Code)(Java Doc) public void element(String elementName, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void elementDecl(String name, String contentModel, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void empty(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void endAttlist(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void endConditional(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endContentModel(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endDTD(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endDocument(Augmentations augs) throws XNIException(Code)(Java Doc) public void endElement(QName element, Augmentations augs) throws XNIException(Code)(Java Doc) public void endExternalSubset(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endGeneralEntity(String name, Augmentations augs) throws XNIException(Code)(Java Doc) public void endGroup(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endParameterEntity(String name, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void endPrefixMapping(String prefix, Augmentations augs) throws XNIException(Code)(Java Doc) public void externalEntityDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc) public XMLDTDContentModelSource getDTDContentModelSource()(Code)(Java Doc) public XMLDTDSource getDTDSource()(Code)(Java Doc) public XMLDocumentSource getDocumentSource()(Code)(Java Doc) public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException(Code)(Java Doc) public void ignoredCharacters(XMLString text, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void internalEntityDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void occurrence(short occurrence, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void pcdata(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException(Code)(Java Doc) public void separator(short separator, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void setDTDContentModelSource(XMLDTDContentModelSource source)(Code)(Java Doc) public void setDTDSource(XMLDTDSource source)(Code)(Java Doc) public void setDocumentSource(XMLDocumentSource source)(Code)(Java Doc) public void startAttlist(String elementName, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startCDATA(Augmentations augs) throws XNIException(Code)(Java Doc) public void startConditional(short type, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startContentModel(String elementName, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startDTD(XMLLocator locator, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startDocument(XMLLocator locator, String encoding, NamespaceContext context, Augmentations augs) throws XNIException(Code)(Java Doc) public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException(Code)(Java Doc) public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void startGroup(Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startParameterEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri, Augmentations augs) throws XNIException(Code)(Java Doc) public void textDecl(String version, String encoding, Augmentations augs) throws XNIException(Code)(Java Doc) public void unparsedEntityDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augmentations) throws XNIException(Code)(Java Doc) public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) throws XNIException(Code)(Java Doc)
|
|
|