Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Application Server XML Java API Reference 10g Release 2 (10.1.2) Part no. B12024-03 September 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.xdb.dom
Class XDBDomImplementation

    java.lang.Object
      |
      +--oracle.xdb.dom.XDBDomImplementation

All Implemented Interfaces:
  DOMImplementation

public class XDBDomImplementation
extends java.lang.Object
implements DOMImplementation

This class implements the DOMImplementation class of DOM.

Constructor Summary
`XDBDomImplementation()`
`XDBDomImplementation(java.sql.Connection conn)`

Method Summary
`Document` | `createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, DocumentType doctype)` create and return an empty document object and return it.
`DocumentType` | `createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)` create and return a document type defn. object and return it.
`boolean` | `hasFeature(java.lang.String feature, java.lang.String version)` test if a particular feature is supported by the given version.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XDBDomImplementation

    public XDBDomImplementation()

### XDBDomImplementation

    public XDBDomImplementation(java.sql.Connection conn)

Method Detail

### hasFeature

    public boolean hasFeature(java.lang.String feature,
                              java.lang.String version)

  test if a particular feature is supported by the given version. We do nothing currently.
  Specified by:
    `hasFeature` in interface `DOMImplementation`
  Parameters:
    `feature` - the name of the feature to test.
    `version` - the version of the DOM implementation
  Returns:
    always true

### createDocumentType

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

  create and return a document type defn. object and return it. We return null
  Specified by:
    `createDocumentType` in interface `DOMImplementation`
  Returns:
    always null
  Throws:
    `DOMException` - INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character.
    NAMESPACE_ERR: Raised if the `qualifiedName` is malformed.

### createDocument

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

  create and return an empty document object and return it. This document does not conform to any schema.
  Specified by:
    `createDocument` in interface `DOMImplementation`
  Parameters:
    `namespaceURI` - the top level namespace of the document.
    `doctype` - the DTD if any to be used for this document.
  Returns:
    the created document object
  Throws:
    `DOMException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Application Server XML Java API Reference 10g Release 2 (10.1.2) Part no. B12024-03 September 2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003, 2004, Oracle. All rights reserved.