com.japisoft.fastparser.dom
Class DOMImplementationImpl

java.lang.Object
  |
  +--com.japisoft.fastparser.dom.DOMImplementationImpl
All Implemented Interfaces:
DOMImplementation

public class DOMImplementationImpl
extends java.lang.Object
implements DOMImplementation

DOMImplementation

Version:
1.0
Author:
(c) 2002-2003 JAPISOFT

Constructor Summary
DOMImplementationImpl()
           
 
Method Summary
 Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, DocumentType doctype)
           
 DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
           
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMImplementationImpl

public DOMImplementationImpl()
Method Detail

hasFeature

public boolean hasFeature(java.lang.String feature,
                          java.lang.String version)
Test if the DOM implementation implements a specific feature.

Specified by:
hasFeature in interface DOMImplementation
Parameters:
feature - The package name of the feature to test. In Level 1, the legal values are "HTML" and "XML" (case-insensitive).
version - This is the version number of the package name to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return true.
Returns:
true if the feature is implemented in the specified version, false otherwise.

createDocumentType

public DocumentType createDocumentType(java.lang.String qualifiedName,
                                       java.lang.String publicId,
                                       java.lang.String systemId)
                                throws DOMException
DOMException

createDocument

public Document createDocument(java.lang.String namespaceURI,
                               java.lang.String qualifiedName,
                               DocumentType doctype)
                        throws DOMException
DOMException