org.ozoneDB.xml
Class XMLDocument

java.lang.Object
  |
  +--org.ozoneDB.OzoneObject
        |
        +--org.ozoneDB.xml.dom.NodeImpl
              |
              +--org.ozoneDB.xml.dom.DocumentImpl
                    |
                    +--org.ozoneDB.xml.XMLDocument
All Implemented Interfaces:
org.w3c.dom.Document, DocumentProxy, org.w3c.dom.DOMImplementation, java.io.Externalizable, org.w3c.dom.Node, NodeProxy, org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, org.ozoneDB.OzoneRemote, java.io.Serializable, XMLDocumentProxy

Deprecated. Alternative API will be introduced in OpenXML 1.1

public class XMLDocument
extends DocumentImpl
implements XMLDocumentProxy

Base class for user XML document. In addition to several API extensions, user XML documents can be used to map XML documents directly into application data structures, with the aid of user elements (XMLElement).

XMLDocument extends the DOM Document with the following methods:

Documents of specific type can be created safely by passing the document class to DOMFactory.createDocument(java.lang.Class). They are supported by the built in XML parser, printer and processor. User documents are also supported by org.openxml.source.Source through use of the docClass property.

A user document derived from XMLDocument must be declared public and the constructor must be public. User elements should be registered in the constructor, and read-only status should be obeyed by calling NodeImpl.isReadOnly().

Version:
$Revision: 1.1 $ $Date: 2001/12/18 11:03:24 $
Author:
Assaf Arkin
See Also:
Document, XMLElement, XMLCollection, XMLElementFactory, Serialized Form

Field Summary
 
Fields inherited from class org.ozoneDB.xml.dom.NodeImpl
ATTLIST_DECL_NODE, ELEMENT_DECL_NODE, PARAM_ENTITY_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
XMLDocument()
          Deprecated. Default constructor.
 
Method Summary
 java.lang.Object clone()
          Deprecated.  
 org.w3c.dom.Node cloneNode(boolean deep)
          Deprecated.  
 
Methods inherited from class org.ozoneDB.xml.dom.DocumentImpl
acquire, assignDoctype, clearDocument, cloneInto, createAttribute, createAttribute, createAttributeNS, createCDATASection, createComment, createDocument, createDocumentFragment, createDocumentType, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, equals, getContainer, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getNodeType, hasFeature, importNode, lock, onDelete, readExternal, registerElement, setContainer, setDoctype, setElementTypes, setNodeValue, supportsChildern, toString, unlock, writeExternal
 
Methods inherited from class org.ozoneDB.xml.dom.NodeImpl
appendChild, castNewChild, castOldChild, getAttributes, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, init, insertBefore, isReadOnly, isSupported, normalize, notifyIterators, removeChild, replaceChild, setNextSibling, setNodeName, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setReadOnly, supports
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, getObjectID, handle, hashCode, onCreate, self, setContainer, toXML
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 
Methods inherited from interface org.ozoneDB.xml.dom.DocumentProxy
clearDocument, getContainer, setContainer, setDoctype, setElementTypes
 
Methods inherited from interface org.w3c.dom.Document
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode
 
Methods inherited from interface org.w3c.dom.Node
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.DOMImplementation
createDocument, createDocumentType, hasFeature
 
Methods inherited from interface org.ozoneDB.xml.dom.NodeProxy
cloneInto, getChild, getChildCount, getChildNodes, init, isReadOnly, setNextSibling, setNodeName, setOwnerDocument, setParentNode, setPreviousSibling, setReadOnly
 

Constructor Detail

XMLDocument

public XMLDocument()
Deprecated. 
Default constructor.

Method Detail

clone

public java.lang.Object clone()
Deprecated. 
Overrides:
clone in class DocumentImpl

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Deprecated. 
Specified by:
cloneNode in interface org.w3c.dom.Node
Overrides:
cloneNode in class DocumentImpl


Copyright © 2002 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.