FileDocCategorySizeDatePackage
ASDOMImplementationImpl.javaAPI DocApache Xerces 3.0.13608Fri Sep 14 20:33:56 BST 2007org.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).

deprecated
version
$Id: ASDOMImplementationImpl.java 447266 2006-09-18 05:57:49Z mrglavas $
since
PR-DOM-Level-1-19980818.

Fields Summary
static ASDOMImplementationImpl
singleton
Dom implementation singleton.
Constructors Summary
Methods Summary
public org.apache.xerces.dom3.as.ASModelcreateAS(boolean isNamespaceAware)
DOM Level 3 WD - Experimental. Creates an ASModel.

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

        return new ASModelImpl(isNamespaceAware);
    
public org.apache.xerces.dom3.as.DOMASBuildercreateDOMASBuilder()
DOM Level 3 WD - Experimental. Creates an DOMASBuilder.Do we need the method since we already have DOMImplementationLS.createDOMParser?

return
DOMASBuilder

        return new DOMASBuilderImpl();
    
public org.apache.xerces.dom3.as.DOMASWritercreateDOMASWriter()
DOM Level 3 WD - Experimental. Creates an DOMASWriter.

return
a DOMASWriter

        String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
    
public static org.w3c.dom.DOMImplementationgetDOMImplementation()
NON-DOM: Obtain and return the single shared object



    //
    // Public methods
    //

             
        
        return singleton;