|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.apache.xerces.parsers.XMLParser
weblogic.apache.xerces.parsers.AbstractXMLDocumentParser
weblogic.apache.xerces.parsers.AbstractDOMParser
weblogic.apache.xerces.parsers.DOMBuilderImpl
weblogic.apache.xerces.parsers.DOMASBuilderImpl
public class DOMASBuilderImpl
This is Abstract Schema DOM Builder class. It extends the DOMBuilderImpl class. Provides support for preparsing schemas.
Field Summary | |
---|---|
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. |
Fields inherited from class weblogic.apache.xerces.parsers.DOMBuilderImpl |
---|
DEBUG, DTD_VALIDATION, DYNAMIC_VALIDATION, fErrorHandler, fSchemaType, NAMESPACES, VALIDATION_FEATURE, XML_SCHEMA_VALIDATION, XMLSCHEMA |
Fields inherited from class weblogic.apache.xerces.parsers.AbstractXMLDocumentParser |
---|
fDocumentSource |
Fields inherited from class weblogic.apache.xerces.parsers.XMLParser |
---|
ENTITY_RESOLVER, ERROR_HANDLER, fConfiguration |
Fields inherited from interface org.w3c.dom.ls.DOMBuilder |
---|
ACTION_APPEND_AS_CHILDREN, ACTION_INSERT_AFTER, ACTION_INSERT_BEFORE, ACTION_REPLACE |
Fields inherited from interface weblogic.apache.xerces.xni.XMLDTDHandler |
---|
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE |
Fields inherited from interface weblogic.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 | |
---|---|
org.apache.xerces.dom3.as.ASModel |
getAbstractSchema()
Deprecated. Associate an ASModel with a document instance. |
org.apache.xerces.dom3.as.ASModel |
parseASInputSource(DOMInputSource is)
Deprecated. Parse a Abstract Schema from a location identified by an DOMInputSource . |
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 an ASModel with a document instance. |
Methods inherited from class weblogic.apache.xerces.parsers.DOMBuilderImpl |
---|
canSetFeature, endDocument, getEntityResolver, getErrorHandler, getFeature, getFilter, initGrammarPool, parse, parseURI, parseWithContext, reset, setEntityResolver, setErrorHandler, setFeature, setFilter |
Methods inherited from class weblogic.apache.xerces.parsers.AbstractXMLDocumentParser |
---|
any, element, empty, endContentModel, endGroup, getDocumentSource, occurrence, pcdata, separator, setDocumentSource, startContentModel, startGroup |
Methods inherited from class weblogic.apache.xerces.parsers.XMLParser |
---|
parse |
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.DOMBuilder |
---|
canSetFeature, getEntityResolver, getErrorHandler, getFeature, getFilter, parse, parseURI, parseWithContext, setEntityResolver, setErrorHandler, setFeature, setFilter |
Field Detail |
---|
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
Constructor Detail |
---|
public DOMASBuilderImpl()
public DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
public DOMASBuilderImpl(SymbolTable symbolTable)
public DOMASBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Method Detail |
---|
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.DOMASBuilder
public 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.DOMASBuilder
public org.apache.xerces.dom3.as.ASModel parseASURI(String uri) throws org.apache.xerces.dom3.as.DOMASException, Exception
parseASURI
in interface org.apache.xerces.dom3.as.DOMASBuilder
uri
- 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.
Exception
public org.apache.xerces.dom3.as.ASModel parseASInputSource(DOMInputSource is) throws org.apache.xerces.dom3.as.DOMASException, Exception
DOMInputSource
.
parseASInputSource
in interface org.apache.xerces.dom3.as.DOMASBuilder
is
- The DOMInputSource
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.
Exception
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |