org.apache.xerces.dom3.as.DOMASBuilder, org.apache.xerces.xni.XMLDocumentHandler, org.apache.xerces.xni.XMLDTDContentModelHandler, org.apache.xerces.xni.XMLDTDHandler, org.w3c.dom.DOMConfiguration, org.w3c.dom.ls.LSParserpublic class DOMASBuilderImpl extends DOMParserImpl implements org.apache.xerces.dom3.as.DOMASBuilder
| Modifier and Type | Field | Description |
|---|---|---|
protected static java.lang.String |
ENTITY_MANAGER |
Deprecated.
|
protected static java.lang.String |
ERROR_REPORTER |
Deprecated.
|
protected ASModelImpl |
fAbstractSchema |
Deprecated.
|
protected XSGrammarBucket |
fGrammarBucket |
Deprecated.
|
protected static java.lang.String |
SCHEMA_FULL_CHECKING |
Deprecated.
|
protected static java.lang.String |
SYMBOL_TABLE |
Deprecated.
|
CORE_DOCUMENT_CLASS_NAME, CREATE_CDATA_NODES_FEATURE, CREATE_ENTITY_REF_NODES, CURRENT_ELEMENT_NODE, DEFAULT_DOCUMENT_CLASS_NAME, DEFER_NODE_EXPANSION, DOCUMENT_CLASS_NAME, fBaseURIStack, fCreateCDATANodes, fCreateEntityRefNodes, fCurrentCDATASection, fCurrentCDATASectionIndex, fCurrentEntityDecl, fCurrentNode, fCurrentNodeIndex, fDeferNodeExpansion, fDeferredDocumentImpl, fDeferredEntityDecl, fDocument, fDocumentClassName, fDocumentImpl, fDocumentIndex, fDocumentType, fDocumentTypeIndex, fDOMFilter, fErrorHandler, fFilterReject, fFirstChunk, fInCDATASection, fIncludeComments, fIncludeIgnorableWhitespace, fInDTD, fInDTDExternalSubset, fInEntityRef, fInternalSubset, fNamespaceAware, fRejectedElementDepth, fRoot, fSkippedElemStack, fStorePSVI, fStringBuffer, INCLUDE_COMMENTS_FEATURE, INCLUDE_IGNORABLE_WHITESPACE, PSVI_DOCUMENT_CLASS_NAMEfDocumentSource, fDTDContentModelSource, fDTDSourceDEBUG, DISALLOW_DOCTYPE_DECL_FEATURE, DYNAMIC_VALIDATION, fBusy, fNamespaceDeclarations, fSchemaType, HONOUR_ALL_SCHEMALOCATIONS, NAMESPACE_GROWTH, NAMESPACES, NORMALIZE_DATA, PSVI_AUGMENT, TOLERATE_DUPLICATES, VALIDATION_FEATURE, XMLSCHEMA, XMLSCHEMA_FULL_CHECKINGACTION_APPEND_AS_CHILDREN, ACTION_INSERT_AFTER, ACTION_INSERT_BEFORE, ACTION_REPLACE, ACTION_REPLACE_CHILDRENOCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCECONDITIONAL_IGNORE, CONDITIONAL_INCLUDEENTITY_RESOLVER, ERROR_HANDLER, fConfiguration| Constructor | Description |
|---|---|
DOMASBuilderImpl() |
Deprecated.
Constructs a DOM Builder using the dtd/xml schema parser configuration.
|
DOMASBuilderImpl(XMLGrammarCachingConfiguration config) |
Deprecated.
Constructs a DOM Builder using the specified parser configuration.
|
DOMASBuilderImpl(SymbolTable symbolTable) |
Deprecated.
Constructs a DOM Builder using the specified symbol table.
|
DOMASBuilderImpl(SymbolTable symbolTable,
org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool) |
Deprecated.
Constructs a DOM Builder using the specified symbol table and
grammar pool.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.xerces.dom3.as.ASModel |
getAbstractSchema() |
Deprecated.
Associate an
ASModel with a document instance. |
org.apache.xerces.dom3.as.ASModel |
parseASInputSource(org.w3c.dom.ls.LSInput is) |
Deprecated.
Parse a Abstract Schema from a location identified by an
LSInput. |
org.apache.xerces.dom3.as.ASModel |
parseASURI(java.lang.String uri) |
Deprecated.
Parse a Abstract Schema from a location identified by an URI.
|
void |
setAbstractSchema(org.apache.xerces.dom3.as.ASModel abstractSchema) |
Deprecated.
Associate an
ASModel with a document instance. |
attributeDecl, characters, comment, createAttrNode, createElementNode, doctypeDecl, dropDocumentReferences, elementDecl, emptyElement, endAttlist, endCDATA, endConditional, endDocument, endDTD, endElement, endExternalSubset, endGeneralEntity, endParameterEntity, externalEntityDecl, getDocument, getDocumentClassName, handleBaseURI, handleBaseURI, ignorableWhitespace, ignoredCharacters, internalEntityDecl, notationDecl, processingInstruction, setCharacterData, setDocumentClassName, setLocale, startAttlist, startCDATA, startConditional, startDocument, startDTD, startExternalSubset, startGeneralEntity, startParameterEntity, textDecl, unparsedEntityDecl, xmlDeclany, element, empty, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startContentModel, startGroupabort, canSetParameter, getAsync, getBusy, getDomConfig, getFilter, getParameter, getParameterNames, parse, parseURI, parseWithContext, reset, setFilter, setParameter, startElementabort, getAsync, getBusy, getDomConfig, getFilter, parse, parseURI, parseWithContext, setFilterprotected static final java.lang.String SCHEMA_FULL_CHECKING
protected static final java.lang.String ERROR_REPORTER
protected static final java.lang.String SYMBOL_TABLE
protected static final java.lang.String ENTITY_MANAGER
protected XSGrammarBucket fGrammarBucket
protected ASModelImpl fAbstractSchema
public DOMASBuilderImpl()
public DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
public DOMASBuilderImpl(SymbolTable symbolTable)
public DOMASBuilderImpl(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
public org.apache.xerces.dom3.as.ASModel getAbstractSchema()
ASModel with a document instance. This
ASModel will be used by the "
validate-if-schema" and "
datatype-normalization" options during the load of a new
Document.getAbstractSchema in interface org.apache.xerces.dom3.as.DOMASBuilderpublic void setAbstractSchema(org.apache.xerces.dom3.as.ASModel abstractSchema)
ASModel with a document instance. This
ASModel will be used by the "
validate-if-schema" and "
datatype-normalization" options during the load of a new
Document.setAbstractSchema in interface org.apache.xerces.dom3.as.DOMASBuilderpublic org.apache.xerces.dom3.as.ASModel parseASURI(java.lang.String uri)
throws org.apache.xerces.dom3.as.DOMASException,
java.lang.Exception
parseASURI in interface org.apache.xerces.dom3.as.DOMASBuilderuri - The location of the Abstract Schema to be read.Abstract Schema.org.apache.xerces.dom3.as.DOMASException - Exceptions raised by parseASURI() originate with the
installed ErrorHandler, and thus depend on the implementation of
the DOMErrorHandler interfaces. The default error
handlers will raise a DOMASException if any form of
Abstract Schema inconsistencies or warning occurs during the parse,
but application defined errorHandlers are not required to do so.
mimeTypeCheck is
true and the inputsource has an incorrect MIME Type.
See attribute mimeTypeCheck.DOMSystemException - Exceptions raised by parseURI() originate with the
installed ErrorHandler, and thus depend on the implementation of
the DOMErrorHandler interfaces. The default error
handlers will raise a DOMSystemException if any form I/O or other
system error occurs during the parse, but application defined error
handlers are not required to do so.DOMASException - Exceptions raised by parseASURI() originate with the
installed ErrorHandler, and thus depend on the implementation of
the DOMErrorHandler interfaces. The default error
handlers will raise a DOMASException if any form of
Abstract Schema inconsistencies or warning occurs during the parse,
but application defined errorHandlers are not required to do so.
mimeTypeCheck is
true and the input source has an incorrect MIME Type.
See the attribute mimeTypeCheck.java.lang.Exceptionpublic org.apache.xerces.dom3.as.ASModel parseASInputSource(org.w3c.dom.ls.LSInput is)
throws org.apache.xerces.dom3.as.DOMASException,
java.lang.Exception
LSInput.parseASInputSource in interface org.apache.xerces.dom3.as.DOMASBuilderis - The LSInput from which the source
Abstract Schema is to be read.ASModel.org.apache.xerces.dom3.as.DOMASException - Exceptions raised by parseASURI() originate with the
installed ErrorHandler, and thus depend on the implementation of
the DOMErrorHandler interfaces. The default error
handlers will raise a DOMASException if any form of
Abstract Schema inconsistencies or warning occurs during the parse,
but application defined errorHandlers are not required to do so.
mimeTypeCheck is
true and the inputsource has an incorrect MIME Type. See attribute
mimeTypeCheck.DOMSystemException - Exceptions raised by parseURI() originate with the
installed ErrorHandler, and thus depend on the implementation of
the DOMErrorHandler interfaces. The default error
handlers will raise a DOMSystemException if any form I/O or other
system error occurs during the parse, but application defined error
handlers are not required to do so.DOMASException - Exceptions raised by parseASURI() originate with the
installed ErrorHandler, and thus depend on the implementation of
the DOMErrorHandler interfaces. The default error
handlers will raise a DOMASException if any form of
Abstract Schema inconsistencies or warning occurs during the parse,
but application defined errorHandlers are not required to do so.
mimeTypeCheck is
true and the inputsource has an incorrect MIME Type.
See attribute mimeTypeCheck.java.lang.ExceptionCopyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.