org.openxml
Class XMLDocument

java.lang.Object
  |
  +--org.openxml.dom.NodeImpl
        |
        +--org.openxml.dom.DocumentImpl
              |
              +--org.openxml.XMLDocument

Deprecated. Alternative API will be introduced in OpenXML 1.1

public class XMLDocument
extends org.openxml.dom.DocumentImpl
implements Document

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 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.8 $ $Date: 1999/04/12 06:09:47 $
Author:
Assaf Arkin
See Also:
Document, XMLElement, XMLCollection, XMLElementFactory

Fields inherited from class org.openxml.dom.NodeImpl
ATTLIST_DECL_NODE, ELEMENT_DECL_NODE, PARAM_ENTITY_NODE
 
Constructor Summary
XMLDocument()
          Deprecated. Default constructor.
 
Method Summary
 java.lang.Object clone()
          Deprecated.  
 Node cloneNode(boolean deep)
          Deprecated.  
 
Methods inherited from class org.openxml.dom.DocumentImpl
acquire, assignDoctype, cloneInto, createAttribute, createAttribute, createCDATASection, createComment, createDocumentFragment, createElement, createEntityReference, createProcessingInstruction, createTextNode, equals, getDoctype, getDocumentElement, getElementsByTagName, getImplementation, getNodeType, hasFeature, lock, registerElement, setNodeValue, supportsChildern, toString, unlock, useElementFactory
 
Methods inherited from class org.openxml.dom.NodeImpl
appendChild, castNewChild, castOldChild, createNodeIterator, createTreeIterator, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, isReadOnly, makeReadOnly, notifyIterators, removeChild, removeInnerIterator, replaceChild, setOwnerDocument
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLDocument

public XMLDocument()
Deprecated. 
Default constructor.
Method Detail

clone

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

cloneNode

public Node cloneNode(boolean deep)
Deprecated. 
Overrides:
cloneNode in class org.openxml.dom.DocumentImpl