org.apache.xerces.parsers
public class DOMASBuilderImpl extends DOMParserImpl implements DOMASBuilder
Deprecated:
This is Abstract Schema DOM Builder class. It extends the DOMParserImpl class. Provides support for preparsing schemas.Version: $Id: DOMASBuilderImpl.java,v 1.25 2004/02/24 23:15:57 mrglavas Exp $
Field Summary | |
---|---|
protected static String | ENTITY_MANAGER |
protected static String | ERROR_REPORTER |
protected ASModelImpl | fAbstractSchema |
protected XSGrammarBucket | fGrammarBucket |
protected static String | SCHEMA_FULL_CHECKING |
protected static String | SYMBOL_TABLE |
Constructor Summary | |
---|---|
DOMASBuilderImpl()
Constructs a DOM Builder using the dtd/xml schema parser configuration. | |
DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
Constructs a DOM Builder using the specified parser configuration.
| |
DOMASBuilderImpl(SymbolTable symbolTable)
Constructs a DOM Builder using the specified symbol table. | |
DOMASBuilderImpl(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a DOM Builder using the specified symbol table and
grammar pool.
|
Method Summary | |
---|---|
ASModel | getAbstractSchema()
Associate an ASModel with a document instance. |
ASModel | parseASInputSource(LSInput is)
Parse a Abstract Schema from a location identified by an
LSInput .
|
ASModel | parseASURI(String uri)
Parse a Abstract Schema from a location identified by an URI.
|
void | setAbstractSchema(ASModel abstractSchema)
Associate an ASModel with a document instance. |
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
.LSInput
.
Parameters: is The LSInput
from which the source
Abstract Schema is to be read.
Returns: The newly created ASModel
.
Throws: 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.
WRONG_MIME_TYPE_ERR: Raised when 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.
Parameters: uri The location of the Abstract Schema to be read.
Returns: The newly created Abstract Schema
.
Throws: 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.
WRONG_MIME_TYPE_ERR: Raised when 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.
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
.