public class DOMASBuilderImpl extends DOMParserImpl implements DOMASBuilder
Modifier and Type | Field and Description |
---|---|
protected static String |
ENTITY_MANAGER
Deprecated.
|
protected static String |
ERROR_REPORTER
Deprecated.
|
protected ASModelImpl |
fAbstractSchema
Deprecated.
|
protected XSGrammarBucket |
fGrammarBucket
Deprecated.
|
protected static String |
SCHEMA_FULL_CHECKING
Deprecated.
|
protected static String |
SYMBOL_TABLE
Deprecated.
|
DEBUG, DISALLOW_DOCTYPE_DECL_FEATURE, DYNAMIC_VALIDATION, fBusy, fNamespaceDeclarations, fSchemaType, HONOUR_ALL_SCHEMALOCATIONS, NAMESPACES, NORMALIZE_DATA, PSVI_AUGMENT, VALIDATION_FEATURE, XMLSCHEMA, XMLSCHEMA_FULL_CHECKING
ABORT, 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, fRejectedElement, fRoot, fSkippedElemStack, fStorePSVI, fStringBuffer, INCLUDE_COMMENTS_FEATURE, INCLUDE_IGNORABLE_WHITESPACE, PSVI_DOCUMENT_CLASS_NAME
fDocumentSource, fDTDContentModelSource, fDTDSource
ENTITY_RESOLVER, ERROR_HANDLER, fConfiguration
ACTION_APPEND_AS_CHILDREN, ACTION_INSERT_AFTER, ACTION_INSERT_BEFORE, ACTION_REPLACE, ACTION_REPLACE_CHILDREN
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE
OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE
Constructor and Description |
---|
DOMASBuilderImpl()
Deprecated.
Constructs a DOM Builder using the dtd/xml schema parser configuration.
|
DOMASBuilderImpl(SymbolTable symbolTable)
Deprecated.
Constructs a DOM Builder using the specified symbol table.
|
DOMASBuilderImpl(SymbolTable symbolTable,
XMLGrammarPool grammarPool)
Deprecated.
Constructs a DOM Builder using the specified symbol table and
grammar pool.
|
DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
Deprecated.
Constructs a DOM Builder using the specified parser configuration.
|
Modifier and Type | Method and Description |
---|---|
ASModel |
getAbstractSchema()
Deprecated.
Associate an
ASModel with a document instance. |
ASModel |
parseASInputSource(LSInput is)
Deprecated.
Parse a Abstract Schema from a location identified by an
LSInput . |
ASModel |
parseASURI(String uri)
Deprecated.
Parse a Abstract Schema from a location identified by an URI.
|
void |
setAbstractSchema(ASModel abstractSchema)
Deprecated.
Associate an
ASModel with a document instance. |
abort, canSetParameter, getAsync, getBusy, getDomConfig, getFilter, getParameter, getParameterNames, parse, parseURI, parseWithContext, reset, setFilter, setParameter, startElement
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, xmlDecl
any, element, empty, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startContentModel, startGroup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, getAsync, getBusy, getDomConfig, getFilter, parse, parseURI, parseWithContext, setFilter
protected static final String SCHEMA_FULL_CHECKING
protected static final String ERROR_REPORTER
protected static final String SYMBOL_TABLE
protected static final String ENTITY_MANAGER
protected XSGrammarBucket fGrammarBucket
protected ASModelImpl fAbstractSchema
public DOMASBuilderImpl()
public DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
public DOMASBuilderImpl(SymbolTable symbolTable)
public DOMASBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool)
public 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 DOMASBuilder
public void setAbstractSchema(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 DOMASBuilder
public ASModel parseASURI(String uri) throws DOMASException, Exception
parseASURI
in interface DOMASBuilder
uri
- The location of the Abstract Schema to be read.Abstract Schema
.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.Exception
public ASModel parseASInputSource(LSInput is) throws DOMASException, Exception
LSInput
.parseASInputSource
in interface DOMASBuilder
is
- The LSInput
from which the source
Abstract Schema is to be read.ASModel
.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.Exception
Copyright © 2018 JBoss by Red Hat. All rights reserved.