Class 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 Details

  • Constructor Details

    • DOMASBuilderImpl

      public DOMASBuilderImpl()
      Deprecated.
      Constructs a DOM Builder using the dtd/xml schema parser configuration.
    • DOMASBuilderImpl

      public DOMASBuilderImpl(XMLGrammarCachingConfiguration config)
      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

      public DOMASBuilderImpl(SymbolTable symbolTable)
      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 an 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.
      Specified by:
      getAbstractSchema in interface org.apache.xerces.dom3.as.DOMASBuilder
    • setAbstractSchema

      public void setAbstractSchema(org.apache.xerces.dom3.as.ASModel abstractSchema)
      Deprecated.
      Associate an 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.
      Specified by:
      setAbstractSchema in interface org.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 interface org.apache.xerces.dom3.as.DOMASBuilder
      Parameters:
      uri - The location of the Abstract Schema to be read.
      Returns:
      The newly created Abstract Schema.
      Throws:
      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.
      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.
      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.
      Exception
    • 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 an LSInput.
      Specified by:
      parseASInputSource in interface org.apache.xerces.dom3.as.DOMASBuilder
      Parameters:
      is - The LSInput from which the source Abstract Schema is to be read.
      Returns:
      The newly created ASModel.
      Throws:
      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.
      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.
      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.
      Exception