public class SchemaDOMParser
extends org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandler
SchemaDOMParser without the fSupportedVersion set works.
This is used by the SDK but there should be a default for fSupportedVersion in isSchemaLangVersionAllowsExclude(java.math.BigDecimal, java.math.BigDecimal).| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_REPORTER |
protected org.apache.xerces.xni.XMLLocator |
fLocator |
protected org.apache.xerces.xni.NamespaceContext |
fNamespaceContext |
static String |
GENERATE_SYNTHETIC_ANNOTATION |
| Constructor and Description |
|---|
SchemaDOMParser(org.apache.xerces.xni.parser.XMLParserConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
void |
endCDATA(org.apache.xerces.xni.Augmentations augs) |
void |
endDocument(org.apache.xerces.xni.Augmentations augs) |
void |
endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.Augmentations augs) |
Document |
getDocument() |
boolean |
getFeature(String featureId) |
Object |
getProperty(String propertyId) |
void |
ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs) |
void |
parse(org.apache.xerces.xni.parser.XMLInputSource inputSource) |
void |
processingInstruction(String target,
org.apache.xerces.xni.XMLString data,
org.apache.xerces.xni.Augmentations augs) |
void |
reset() |
void |
resetNodePool() |
void |
setEntityResolver(org.apache.xerces.xni.parser.XMLEntityResolver er) |
void |
setFeature(String featureId,
boolean state) |
void |
setProperty(String propertyId,
Object value) |
void |
setSupportedVersion(org.apache.xerces.xs.datatypes.XSDecimal version) |
void |
startCDATA(org.apache.xerces.xni.Augmentations augs) |
void |
startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs) |
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
any, attributeDecl, doctypeDecl, element, elementDecl, empty, endAttlist, endConditional, endContentModel, endDTD, endExternalSubset, endGeneralEntity, endGroup, endParameterEntity, endPrefixMapping, externalEntityDecl, getDocumentSource, getDTDContentModelSource, getDTDSource, ignoredCharacters, internalEntityDecl, notationDecl, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startAttlist, startConditional, startContentModel, startDTD, startExternalSubset, startGeneralEntity, startGroup, startParameterEntity, startPrefixMapping, textDecl, unparsedEntityDecl, xmlDeclpublic static final String ERROR_REPORTER
public static final String GENERATE_SYNTHETIC_ANNOTATION
protected org.apache.xerces.xni.XMLLocator fLocator
protected org.apache.xerces.xni.NamespaceContext fNamespaceContext
public SchemaDOMParser(org.apache.xerces.xni.parser.XMLParserConfiguration config)
public void startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startDocument in interface org.apache.xerces.xni.XMLDocumentHandlerstartDocument in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endDocument(org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
endDocument in interface org.apache.xerces.xni.XMLDocumentHandlerendDocument in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
comment in interface org.apache.xerces.xni.XMLDocumentHandlercomment in interface org.apache.xerces.xni.XMLDTDHandlercomment in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void processingInstruction(String target, org.apache.xerces.xni.XMLString data, org.apache.xerces.xni.Augmentations augs) throws org.apache.xerces.xni.XNIException
processingInstruction in interface org.apache.xerces.xni.XMLDocumentHandlerprocessingInstruction in interface org.apache.xerces.xni.XMLDTDHandlerprocessingInstruction in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void characters(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
characters in interface org.apache.xerces.xni.XMLDocumentHandlercharacters in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startElement in interface org.apache.xerces.xni.XMLDocumentHandlerstartElement in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
emptyElement in interface org.apache.xerces.xni.XMLDocumentHandleremptyElement in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
endElement in interface org.apache.xerces.xni.XMLDocumentHandlerendElement in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
ignorableWhitespace in interface org.apache.xerces.xni.XMLDocumentHandlerignorableWhitespace in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void startCDATA(org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startCDATA in interface org.apache.xerces.xni.XMLDocumentHandlerstartCDATA in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic void endCDATA(org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
endCDATA in interface org.apache.xerces.xni.XMLDocumentHandlerendCDATA in class org.apache.xerces.impl.xs.opti.DefaultXMLDocumentHandlerorg.apache.xerces.xni.XNIExceptionpublic Document getDocument()
public void setFeature(String featureId, boolean state)
public boolean getFeature(String featureId)
public void setEntityResolver(org.apache.xerces.xni.parser.XMLEntityResolver er)
public void parse(org.apache.xerces.xni.parser.XMLInputSource inputSource)
throws IOException
IOExceptionpublic void reset()
public void resetNodePool()
public void setSupportedVersion(org.apache.xerces.xs.datatypes.XSDecimal version)
Copyright © 2024. All rights reserved.