Package org.apache.xerces.parsers
Class DOMASBuilderImpl
java.lang.Object
org.apache.xerces.parsers.XMLParser
org.apache.xerces.parsers.AbstractXMLDocumentParser
org.apache.xerces.parsers.AbstractDOMParser
org.apache.xerces.parsers.DOMParserImpl
org.apache.xerces.parsers.DOMASBuilderImpl
- All Implemented Interfaces:
org.apache.xerces.dom3.as.DOMASBuilder
,org.apache.xerces.xni.XMLDocumentHandler
,org.apache.xerces.xni.XMLDTDContentModelHandler
,org.apache.xerces.xni.XMLDTDHandler
,DOMConfiguration
,LSParser
public class DOMASBuilderImpl
extends DOMParserImpl
implements org.apache.xerces.dom3.as.DOMASBuilder
Deprecated.
This is Abstract Schema DOM Builder class. It extends the DOMParserImpl
class. Provides support for preparsing schemas.
- Version:
- $Id: DOMASBuilderImpl.java 447239 2006-09-18 05:08:26Z mrglavas $
- Author:
- Pavani Mukthipudi, Sun Microsystems Inc., Neil Graham, IBM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
Deprecated.protected static final String
Deprecated.protected ASModelImpl
Deprecated.protected XSGrammarBucket
Deprecated.protected static final String
Deprecated.protected static final String
Deprecated.Fields inherited from class org.apache.xerces.parsers.DOMParserImpl
DEBUG, 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_CHECKING
Fields inherited from class org.apache.xerces.parsers.AbstractDOMParser
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_NAME
Fields inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
fDocumentSource, fDTDContentModelSource, fDTDSource
Fields inherited from class org.apache.xerces.parsers.XMLParser
ENTITY_RESOLVER, ERROR_HANDLER, fConfiguration
Fields inherited from interface org.w3c.dom.ls.LSParser
ACTION_APPEND_AS_CHILDREN, ACTION_INSERT_AFTER, ACTION_INSERT_BEFORE, ACTION_REPLACE, ACTION_REPLACE_CHILDREN
Fields inherited from interface org.apache.xerces.xni.XMLDTDContentModelHandler
OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE
Fields inherited from interface org.apache.xerces.xni.XMLDTDHandler
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a DOM Builder using the dtd/xml schema parser configuration.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. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xerces.dom3.as.ASModel
Deprecated.Associate anASModel
with a document instance.org.apache.xerces.dom3.as.ASModel
Deprecated.Parse a Abstract Schema from a location identified by anLSInput
.org.apache.xerces.dom3.as.ASModel
parseASURI
(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 anASModel
with a document instance.Methods inherited from class org.apache.xerces.parsers.DOMParserImpl
abort, canSetParameter, getAsync, getBusy, getDomConfig, getFilter, getParameter, getParameterNames, parse, parseURI, parseWithContext, reset, setFilter, setParameter, startElement
Methods inherited from class org.apache.xerces.parsers.AbstractDOMParser
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
Methods inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
any, element, empty, endContentModel, endGroup, getDocumentSource, getDTDContentModelSource, getDTDSource, occurrence, pcdata, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startContentModel, startGroup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.ls.LSParser
abort, getAsync, getBusy, getDomConfig, getFilter, parse, parseURI, parseWithContext, setFilter
-
Field Details
-
SCHEMA_FULL_CHECKING
Deprecated.- See Also:
-
ERROR_REPORTER
Deprecated.- See Also:
-
SYMBOL_TABLE
Deprecated.- See Also:
-
ENTITY_MANAGER
Deprecated.- See Also:
-
fGrammarBucket
Deprecated. -
fAbstractSchema
Deprecated.
-
-
Constructor Details
-
DOMASBuilderImpl
public DOMASBuilderImpl()Deprecated.Constructs a DOM Builder using the dtd/xml schema parser configuration. -
DOMASBuilderImpl
Deprecated.Constructs a DOM Builder using the specified parser configuration. We must demand that the configuration extend XMLGrammarCachingConfiguration to make sure all relevant methods/features are available. -
DOMASBuilderImpl
Deprecated.Constructs a DOM Builder using the specified symbol table. -
DOMASBuilderImpl
public DOMASBuilderImpl(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool) Deprecated.Constructs a DOM Builder using the specified symbol table and grammar pool. The grammarPool implementation should extent the default implementation; otherwise, correct functioning of this class may not occur.
-
-
Method Details
-
getAbstractSchema
public org.apache.xerces.dom3.as.ASModel getAbstractSchema()Deprecated.Associate anASModel
with a document instance. ThisASModel
will be used by the "validate-if-schema
" and "datatype-normalization
" options during the load of a newDocument
.- Specified by:
getAbstractSchema
in interfaceorg.apache.xerces.dom3.as.DOMASBuilder
-
setAbstractSchema
public void setAbstractSchema(org.apache.xerces.dom3.as.ASModel abstractSchema) Deprecated.Associate anASModel
with a document instance. ThisASModel
will be used by the "validate-if-schema
" and "datatype-normalization
" options during the load of a newDocument
.- Specified by:
setAbstractSchema
in interfaceorg.apache.xerces.dom3.as.DOMASBuilder
-
parseASURI
public org.apache.xerces.dom3.as.ASModel parseASURI(String uri) throws org.apache.xerces.dom3.as.DOMASException, Exception Deprecated.Parse a Abstract Schema from a location identified by an URI.- Specified by:
parseASURI
in interfaceorg.apache.xerces.dom3.as.DOMASBuilder
- Parameters:
uri
- The location of the Abstract Schema to be read.- Returns:
- The newly created
Abstract Schema
.
-
parseASInputSource
public org.apache.xerces.dom3.as.ASModel parseASInputSource(LSInput is) throws org.apache.xerces.dom3.as.DOMASException, Exception Deprecated.Parse a Abstract Schema from a location identified by anLSInput
.- Specified by:
parseASInputSource
in interfaceorg.apache.xerces.dom3.as.DOMASBuilder
- Parameters:
is
- TheLSInput
from which the source Abstract Schema is to be read.- Returns:
- The newly created
ASModel
.
-