|
|||||||||
| 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 | |
|---|---|
Document |
createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
Creates an XML Document object of the specified type with
its document element. |
DocumentType |
createDocumentType(String qualifiedName,
String publicId,
String systemId)
Creates an empty DocumentType node. |
Object |
getFeature(String feature,
String version)
This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in . |
boolean |
hasFeature(String feature,
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(String feature,
String version)
hasFeature in interface DOMImplementationfeature - 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. This implementation
returns true if the feature is "XML" or "Core" and the version is null,
"", "3.0", "2.0", or "1.0".
public Object getFeature(String feature,
String version)
getFeature in interface DOMImplementationfeature - The name of the feature requested.version - This is the version number of the feature to test.
public DocumentType createDocumentType(String qualifiedName,
String publicId,
String systemId)
throws DOMException
DocumentType node.
createDocumentType in interface DOMImplementationqualifiedName - 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 .
DOMException - INVALID_CHARACTER_ERR: Raised if the specified qualified name
contains an illegal character.
qualifiedName is
malformed.
public Document createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
throws DOMException
Document object of the specified type with
its document element.
createDocument in interface DOMImplementationnamespaceURI - 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.
DOMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||