|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class DOMASBuilderImpl
This is Abstract Schema DOM Builder class. It extends the DOMParserImpl class. Provides support for preparsing schemas.
Field Summary |
---|
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.XMLDTDHandler |
---|
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE |
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 |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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(java.lang.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. |
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, doctypeDecl, dropDocumentReferences, elementDecl, emptyElement, endAttlist, endCDATA, endConditional, endDocument, endDTD, endElement, endExternalSubset, endGeneralEntity, endParameterEntity, externalEntityDecl, getDocument, ignorableWhitespace, ignoredCharacters, internalEntityDecl, notationDecl, processingInstruction, 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 org.apache.xerces.parsers.XMLParser |
---|
parse |
Methods inherited from class java.lang.Object |
---|
equals, 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 |
Constructor Detail |
---|
public DOMASBuilderImpl()
public DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
public DOMASBuilderImpl(SymbolTable symbolTable)
public DOMASBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Method Detail |
---|
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(java.lang.String uri) throws DOMASException, java.lang.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.
java.lang.Exception
public ASModel parseASInputSource(LSInput is) throws DOMASException, java.lang.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.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |