Top Fields Methods
org.apache.xerces.dom3.as

public Interface DOMASBuilder

extends LSParser
Known Direct Implementers
org.apache.xerces.parsers.DOMASBuilderImpl
Imports
org.w3c.dom.ls.LSInput, .LSParser

Deprecated

An Abstract Schema parser interface.

DOMASBuilder provides an API for parsing Abstract Schemas and building the corresponding ASModel tree.

See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.

Field Summary

Inherited from org.w3c.dom.ls.LSParser:
ACTION_APPEND_AS_CHILDRENACTION_INSERT_AFTERACTION_INSERT_BEFOREACTION_REPLACEACTION_REPLACE_CHILDREN

Method Summary

Modifier and TypeMethod and Description
public ASModel
getAbstractSchema()

Deprecated as a consequence of ASModel being deprecated.
Associate an ASModel with a LSParser.
public ASModel

Returns:

The newly created ASModel.
parseASInputSource
(LSInput
The LSInput from which the source Abstract Schema is to be read.
is
)

Deprecated as a consequence of ASModel being deprecated.
Parse a Abstract Schema from a location identified by an LSInput.
public ASModel

Returns:

The newly created Abstract Schema.
parseASURI
(String
The location of the Abstract Schema to be read.
uri
)

Deprecated as a consequence of ASModel being deprecated.
Parse a Abstract Schema from a location identified by an URI reference.
public void
setAbstractSchema(ASModel abstractSchema)

Deprecated as a consequence of ASModel being deprecated.
Associate an ASModel with a LSParser.
Inherited from org.w3c.dom.ls.LSParser:
abortgetAsyncgetBusygetDomConfiggetFilterparseparseURIparseWithContextsetFilter

Method Detail

getAbstractSchemaback to summary
public ASModel getAbstractSchema()

Deprecated

as a consequence of ASModel being deprecated. See corresponding docs for further information.

Associate an ASModel with a LSParser. This ASModel will be used by the " validate-if-schema" and " datatype-normalization" options during the load of a new Document.

parseASInputSourceback to summary
public ASModel parseASInputSource(LSInput is) throws DOMASException, Exception

Deprecated

as a consequence of ASModel being deprecated. See corresponding docs for further information.

Parse a Abstract Schema from a location identified by an LSInput.

Parameters
is:LSInput

The LSInput from which the source Abstract Schema is to be read.

Returns:ASModel

The newly created ASModel.

Exceptions
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.
Raise a WRONG_MIME_TYPE_ERR when mimeTypeCheck is true and the inputsource has an incorrect MIME Type. See attribute mimeTypeCheck.
DOMException:
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.
parseASURIback to summary
public ASModel parseASURI(String uri) throws DOMASException, Exception

Deprecated

as a consequence of ASModel being deprecated. See corresponding docs for further information.

Parse a Abstract Schema from a location identified by an URI reference.

Parameters
uri:String

The location of the Abstract Schema to be read.

Returns:ASModel

The newly created Abstract Schema.

Exceptions
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 input source has an incorrect MIME Type. See the attribute mimeTypeCheck.
DOMException:
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.
setAbstractSchemaback to summary
public void setAbstractSchema(ASModel abstractSchema)

Deprecated

as a consequence of ASModel being deprecated. See corresponding docs for further information.

Associate an ASModel with a LSParser. This ASModel will be used by the " validate-if-schema" and " datatype-normalization" options during the load of a new Document.