BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.apache.xerces.dom
Class ASDOMImplementationImpl

java.lang.Object
  |
  +--weblogic.apache.xerces.dom.CoreDOMImplementationImpl
        |
        +--weblogic.apache.xerces.dom.DOMImplementationImpl
              |
              +--weblogic.apache.xerces.dom.ASDOMImplementationImpl

public class ASDOMImplementationImpl
extends DOMImplementationImpl
implements org.apache.xerces.dom3.as.DOMImplementationAS

The DOMImplementation class is description of a particular implementation of the Document Object Model. As such its data is static, shared by all instances of this implementation.

The DOM API requires that it be a real object rather than static methods. However, there's nothing that says it can't be a singleton, so that's how I've implemented it.

This particular class, along with DocumentImpl, supports the DOM Core, DOM Level 2 optional mofules, and Abstract Schemas (Experimental).


Constructor Summary
ASDOMImplementationImpl()
           
 
Method Summary
 org.apache.xerces.dom3.as.ASModel createAS(boolean isNamespaceAware)
          DOM Level 3 WD - Experimental.
 org.apache.xerces.dom3.as.DOMASBuilder createDOMASBuilder()
          DOM Level 3 WD - Experimental.
 org.apache.xerces.dom3.as.DOMASWriter createDOMASWriter()
          DOM Level 3 WD - Experimental.
static org.w3c.dom.DOMImplementation getDOMImplementation()
          NON-DOM: Obtain and return the single shared object
 
Methods inherited from class weblogic.apache.xerces.dom.DOMImplementationImpl
createDocument, createDocumentType, hasFeature
 
Methods inherited from class weblogic.apache.xerces.dom.CoreDOMImplementationImpl
createDOMBuilder, createDOMInputSource, createDOMWriter, getInterface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASDOMImplementationImpl

public ASDOMImplementationImpl()
Method Detail

getDOMImplementation

public static org.w3c.dom.DOMImplementation getDOMImplementation()
NON-DOM: Obtain and return the single shared object


createAS

public org.apache.xerces.dom3.as.ASModel createAS(boolean isNamespaceAware)
DOM Level 3 WD - Experimental. Creates an ASModel.
Specified by:
createAS in interface org.apache.xerces.dom3.as.DOMImplementationAS

Parameters:
isNamespaceAware - Allow creation of ASModel with this attribute set to a specific value.
Returns:
A null return indicates failure.what is a failure? Could be a system error.

createDOMASBuilder

public org.apache.xerces.dom3.as.DOMASBuilder createDOMASBuilder()
DOM Level 3 WD - Experimental. Creates an DOMASBuilder.Do we need the method since we already have DOMImplementationLS.createDOMBuilder?
Specified by:
createDOMASBuilder in interface org.apache.xerces.dom3.as.DOMImplementationAS

Returns:
DOMASBuilder

createDOMASWriter

public org.apache.xerces.dom3.as.DOMASWriter createDOMASWriter()
DOM Level 3 WD - Experimental. Creates an DOMASWriter.
Specified by:
createDOMASWriter in interface org.apache.xerces.dom3.as.DOMImplementationAS

Returns:
a DOMASWriter

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b