public class ASDOMImplementationImpl extends DOMImplementationImpl implements DOMImplementationAS
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).
MODE_ASYNCHRONOUS, MODE_SYNCHRONOUS
Constructor and Description |
---|
ASDOMImplementationImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ASModel |
createAS(boolean isNamespaceAware)
Deprecated.
DOM Level 3 WD - Experimental.
|
DOMASBuilder |
createDOMASBuilder()
Deprecated.
DOM Level 3 WD - Experimental.
|
DOMASWriter |
createDOMASWriter()
Deprecated.
DOM Level 3 WD - Experimental.
|
static DOMImplementation |
getDOMImplementation()
Deprecated.
NON-DOM: Obtain and return the single shared object
|
createDocument, hasFeature
assignDocTypeNumber, assignDocumentNumber, createDocumentType, createLSInput, createLSOutput, createLSParser, createLSSerializer, getFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDocumentType, getFeature
public static DOMImplementation getDOMImplementation()
public ASModel createAS(boolean isNamespaceAware)
createAS
in interface DOMImplementationAS
isNamespaceAware
- Allow creation of ASModel
with
this attribute set to a specific value.null
return indicates failure.what is a
failure? Could be a system error.public DOMASBuilder createDOMASBuilder()
DOMASBuilder
.Do we need the method since we
already have DOMImplementationLS.createDOMParser
?createDOMASBuilder
in interface DOMImplementationAS
public DOMASWriter createDOMASWriter()
DOMASWriter
.createDOMASWriter
in interface DOMImplementationAS
Copyright © 2018 JBoss by Red Hat. All rights reserved.