| java.lang.Object net.sf.saxon.dom.DOMImplementationImpl
DOMImplementationImpl | class DOMImplementationImpl implements DOMImplementation(Code) | | A simple implementation of the DOMImplementation interface, for use when accessing
Saxon tree structure using the DOM API.
|
Method Summary | |
public Document | createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) Creates an XML Document object of the specified type with
its document element.
Parameters: namespaceURI - The namespace URI of the document element tocreate. Parameters: qualifiedName - The qualified name of the document element to becreated. Parameters: doctype - The type of document to be created or null . | public DocumentType | createDocumentType(String qualifiedName, String publicId, String systemId) Creates an empty DocumentType node.
Parameters: qualifiedName - The qualified name of the document type to becreated. Parameters: publicId - The external subset public identifier. Parameters: systemId - The external subset system identifier. | public Object | getFeature(String feature, String version) Return the value of a specific feature.
DOM level 3 method.
Parameters: feature - The name of the feature to test (case-insensitive). Parameters: version - This is the version number of the feature to test. | public boolean | hasFeature(String feature, String version) Test if the DOM implementation implements a specific feature.
Parameters: feature - The name of the feature to test (case-insensitive). Parameters: version - This is the version number of the feature to test. |
createDocument | public Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) throws DOMException(Code) | | Creates an XML Document object of the specified type with
its document element.
Parameters: namespaceURI - The namespace URI of the document element tocreate. Parameters: qualifiedName - The qualified name of the document element to becreated. Parameters: doctype - The type of document to be created or null . A new Document object. exception: org.w3c.dom.DOMException - since: DOM Level 2 |
createDocumentType | public DocumentType createDocumentType(String qualifiedName, String publicId, String systemId) throws DOMException(Code) | | Creates an empty DocumentType node.
Parameters: qualifiedName - The qualified name of the document type to becreated. Parameters: publicId - The external subset public identifier. Parameters: systemId - The external subset system identifier. A new DocumentType node withNode.ownerDocument set to null . exception: org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified qualified namecontains an illegal character. NAMESPACE_ERR: Raised if the qualifiedName ismalformed. since: DOM Level 2 |
getFeature | public Object getFeature(String feature, String version)(Code) | | Return the value of a specific feature.
DOM level 3 method.
Parameters: feature - The name of the feature to test (case-insensitive). Parameters: version - This is the version number of the feature to test. the value of the feature. Always null in this implementation. |
hasFeature | public boolean hasFeature(String feature, String version)(Code) | | Test if the DOM implementation implements a specific feature.
Parameters: feature - The name of the feature to test (case-insensitive). Parameters: version - This is the version number of the feature to test. true if the feature is implemented in thespecified version, false otherwise. |
|
|