|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.dom.DOMImplementationImpl
class DOMImplementationImpl
A simple implementation of the DOMImplementation interface, for use when accessing Saxon tree structure using the DOM API.
Constructor Summary | |
---|---|
DOMImplementationImpl()
|
Method Summary | |
---|---|
org.w3c.dom.Document |
createDocument(java.lang.String namespaceURI,
java.lang.String qualifiedName,
org.w3c.dom.DocumentType doctype)
Creates an XML Document object of the specified type with
its document element. |
org.w3c.dom.DocumentType |
createDocumentType(java.lang.String qualifiedName,
java.lang.String publicId,
java.lang.String systemId)
Creates an empty DocumentType node. |
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
Return the value of a specific feature. |
boolean |
hasFeature(java.lang.String feature,
java.lang.String version)
Test if the DOM implementation implements a specific feature. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
DOMImplementationImpl()
Method Detail |
---|
public boolean hasFeature(java.lang.String feature, java.lang.String version)
hasFeature
in interface org.w3c.dom.DOMImplementation
feature
- The name of the feature to test (case-insensitive).version
- This is the version number of the feature to test.
true
if the feature is implemented in the
specified version, false
otherwise.public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
getFeature
in interface org.w3c.dom.DOMImplementation
feature
- The name of the feature to test (case-insensitive).version
- This is the version number of the feature to test.
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId) throws org.w3c.dom.DOMException
DocumentType
node.
createDocumentType
in interface org.w3c.dom.DOMImplementation
qualifiedName
- The qualified name of the document type to be
created.publicId
- The external subset public identifier.systemId
- The external subset system identifier.
DocumentType
node with
Node.ownerDocument
set to null
.
org.w3c.dom.DOMException
- INVALID_CHARACTER_ERR: Raised if the specified qualified name
contains an illegal character.
qualifiedName
is
malformed.public org.w3c.dom.Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, org.w3c.dom.DocumentType doctype) throws org.w3c.dom.DOMException
Document
object of the specified type with
its document element.
createDocument
in interface org.w3c.dom.DOMImplementation
namespaceURI
- The namespace URI of the document element to
create.qualifiedName
- The qualified name of the document element to be
created.doctype
- The type of document to be created or null
.
Document
object.
org.w3c.dom.DOMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |