Save This Page
Home » openjdk-7 » com.sun.org.apache.xerces.internal » dom » [javadoc | source]
com.sun.org.apache.xerces.internal.dom
public class: PSVIDocumentImpl [javadoc | source]
java.lang.Object
   com.sun.org.apache.xerces.internal.dom.NodeImpl
      com.sun.org.apache.xerces.internal.dom.ChildNode
         com.sun.org.apache.xerces.internal.dom.ParentNode
            com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl
               com.sun.org.apache.xerces.internal.dom.DocumentImpl
                  com.sun.org.apache.xerces.internal.dom.PSVIDocumentImpl

All Implemented Interfaces:
    DocumentTraversal, DocumentRange, DocumentEvent, Document, Cloneable, Node, EventTarget, Serializable, NodeList

Our own document implementation, which knows how to create an element with PSVI information.
Field Summary
static final  long serialVersionUID    Serialization version. 
Fields inherited from com.sun.org.apache.xerces.internal.dom.DocumentImpl:
serialVersionUID,  iterators,  ranges,  eventListeners,  mutationEvents,  savedEnclosingAttr
Fields inherited from com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl:
serialVersionUID,  docType,  docElement,  fFreeNLCache,  encoding,  actualEncoding,  version,  standalone,  fDocumentURI,  userData,  identifiers,  domNormalizer,  fConfiguration,  fXPathEvaluator,  changes,  allowGrammarAccess,  errorChecking,  xmlVersionChanged
Fields inherited from com.sun.org.apache.xerces.internal.dom.ParentNode:
serialVersionUID,  ownerDocument,  firstChild,  fNodeListCache
Fields inherited from com.sun.org.apache.xerces.internal.dom.ChildNode:
serialVersionUID,  fBufferStr,  previousSibling,  nextSibling
Fields inherited from com.sun.org.apache.xerces.internal.dom.NodeImpl:
TREE_POSITION_PRECEDING,  TREE_POSITION_FOLLOWING,  TREE_POSITION_ANCESTOR,  TREE_POSITION_DESCENDANT,  TREE_POSITION_EQUIVALENT,  TREE_POSITION_SAME_NODE,  TREE_POSITION_DISCONNECTED,  DOCUMENT_POSITION_DISCONNECTED,  DOCUMENT_POSITION_PRECEDING,  DOCUMENT_POSITION_FOLLOWING,  DOCUMENT_POSITION_CONTAINS,  DOCUMENT_POSITION_IS_CONTAINED,  DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,  serialVersionUID,  ELEMENT_DEFINITION_NODE,  ownerNode,  flags,  READONLY,  SYNCDATA,  SYNCCHILDREN,  OWNED,  FIRSTCHILD,  SPECIFIED,  IGNORABLEWS,  HASSTRING,  NORMALIZED,  ID
Constructor:
 public PSVIDocumentImpl() 
 public PSVIDocumentImpl(DocumentType doctype) 
    For DOM2 support. The createDocument factory method is in DOMImplementation.
Method from com.sun.org.apache.xerces.internal.dom.PSVIDocumentImpl Summary:
cloneNode,   createAttributeNS,   createAttributeNS,   createElementNS,   createElementNS,   getDomConfig,   getImplementation
Methods from com.sun.org.apache.xerces.internal.dom.DocumentImpl:
addEventListener,   cloneNode,   copyEventListeners,   createEvent,   createNodeIterator,   createNodeIterator,   createRange,   createTreeWalker,   createTreeWalker,   deletedText,   dispatchAggregateEvents,   dispatchAggregateEvents,   dispatchEvent,   dispatchEventToSubtree,   dispatchingEventToSubtree,   getEventListeners,   getImplementation,   getMutationEvents,   insertedNode,   insertedText,   insertingNode,   modifiedAttrValue,   modifiedCharacterData,   modifyingCharacterData,   removeEventListener,   removeNodeIterator,   removeRange,   removedAttrNode,   removedNode,   removingNode,   renamedAttrNode,   renamedElement,   replacedCharacterData,   replacedNode,   replacedText,   replacingData,   replacingNode,   saveEnclosingAttr,   setAttrNode,   setEventListeners,   setMutationEvents,   splitData
Methods from com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl:
abort,   addEventListener,   adoptNode,   callUserDataHandlers,   callUserDataHandlers,   changed,   changes,   checkDOMNSErr,   checkNamespaceWF,   checkQName,   clearIdentifiers,   clone,   cloneNode,   cloneNode,   copyEventListeners,   createAttribute,   createAttributeNS,   createAttributeNS,   createCDATASection,   createComment,   createDocumentFragment,   createDocumentType,   createElement,   createElementDefinition,   createElementNS,   createElementNS,   createEntity,   createEntityReference,   createNotation,   createProcessingInstruction,   createTextNode,   deletedText,   dispatchEvent,   freeNodeListCache,   getAsync,   getBaseURI,   getDoctype,   getDocumentElement,   getDocumentURI,   getDomConfig,   getElementById,   getElementsByTagName,   getElementsByTagNameNS,   getEncoding,   getErrorChecking,   getFeature,   getIdentifier,   getIdentifiers,   getImplementation,   getInputEncoding,   getMutationEvents,   getNodeListCache,   getNodeName,   getNodeNumber,   getNodeNumber,   getNodeType,   getOwnerDocument,   getStandalone,   getStrictErrorChecking,   getTextContent,   getUserData,   getUserData,   getUserDataRecord,   getVersion,   getXmlEncoding,   getXmlStandalone,   getXmlVersion,   importNode,   insertBefore,   insertedNode,   insertedText,   insertingNode,   isKidOK,   isNormalizeDocRequired,   isValidQName,   isXML11Version,   isXMLName,   isXMLVersionChanged,   load,   loadXML,   modifiedAttrValue,   modifiedCharacterData,   modifyingCharacterData,   normalizeDocument,   putIdentifier,   removeChild,   removeEventListener,   removeIdentifier,   removeUserDataTable,   removedAttrNode,   removedNode,   removingNode,   renameNode,   renamedAttrNode,   renamedElement,   replaceChild,   replacedCharacterData,   replacedNode,   replacedText,   replacingData,   replacingNode,   saveXML,   setAsync,   setAttrNode,   setDocumentURI,   setEncoding,   setErrorChecking,   setInputEncoding,   setMutationEvents,   setStandalone,   setStrictErrorChecking,   setTextContent,   setUserData,   setUserData,   setUserDataTable,   setVersion,   setXmlEncoding,   setXmlStandalone,   setXmlVersion,   undeferChildren
Methods from com.sun.org.apache.xerces.internal.dom.ParentNode:
checkNormalizationAfterInsert,   checkNormalizationAfterRemove,   cloneNode,   getChildNodes,   getChildNodesUnoptimized,   getFirstChild,   getLastChild,   getLength,   getOwnerDocument,   getTextContent,   getTextContent,   hasChildNodes,   hasTextContent,   insertBefore,   internalInsertBefore,   internalRemoveChild,   isEqualNode,   item,   lastChild,   lastChild,   normalize,   ownerDocument,   removeChild,   replaceChild,   setOwnerDocument,   setReadOnly,   setTextContent,   synchronizeChildren
Methods from com.sun.org.apache.xerces.internal.dom.ChildNode:
cloneNode,   getNextSibling,   getParentNode,   getPreviousSibling,   parentNode,   previousSibling
Methods from com.sun.org.apache.xerces.internal.dom.NodeImpl:
addEventListener,   appendChild,   changed,   changes,   cloneNode,   compareDocumentPosition,   compareTreePosition,   dispatchEvent,   getAttributes,   getBaseURI,   getChildNodes,   getContainer,   getElementAncestor,   getFeature,   getFirstChild,   getLastChild,   getLength,   getLocalName,   getNamespaceURI,   getNextSibling,   getNodeName,   getNodeNumber,   getNodeType,   getNodeValue,   getOwnerDocument,   getParentNode,   getPrefix,   getPreviousSibling,   getReadOnly,   getTextContent,   getTextContent,   getUserData,   getUserData,   getUserDataRecord,   hasAttributes,   hasChildNodes,   hasStringValue,   hasStringValue,   insertBefore,   internalIsIgnorableWhitespace,   isDefaultNamespace,   isEqualNode,   isFirstChild,   isFirstChild,   isIdAttribute,   isIdAttribute,   isIgnorableWhitespace,   isNormalized,   isNormalized,   isOwned,   isOwned,   isReadOnly,   isReadOnly,   isSameNode,   isSpecified,   isSpecified,   isSupported,   item,   lookupNamespacePrefix,   lookupNamespaceURI,   lookupPrefix,   needsSyncChildren,   needsSyncChildren,   needsSyncData,   needsSyncData,   normalize,   ownerDocument,   parentNode,   previousSibling,   removeChild,   removeEventListener,   replaceChild,   setNodeValue,   setOwnerDocument,   setPrefix,   setReadOnly,   setTextContent,   setUserData,   setUserData,   synchronizeData,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.org.apache.xerces.internal.dom.PSVIDocumentImpl Detail:
 public Node cloneNode(boolean deep) 
    Deep-clone a document, including fixing ownerDoc for the cloned children. Note that this requires bypassing the WRONG_DOCUMENT_ERR protection. I've chosen to implement it by calling importNode which is DOM Level 2.
 public Attr createAttributeNS(String namespaceURI,
    String qualifiedName) throws DOMException 
    Create an attribute with PSVI information
 public Attr createAttributeNS(String namespaceURI,
    String qualifiedName,
    String localName) throws DOMException 
    Create an attribute with PSVI information
 public Element createElementNS(String namespaceURI,
    String qualifiedName) throws DOMException 
    Create an element with PSVI information
 public Element createElementNS(String namespaceURI,
    String qualifiedName,
    String localpart) throws DOMException 
    Create an element with PSVI information
 public DOMConfiguration getDomConfig() 
    The configuration used when Document.normalizeDocument is invoked.
 public DOMImplementation getImplementation() 
    Retrieve information describing the abilities of this particular DOM implementation. Intended to support applications that may be using DOMs retrieved from several different sources, potentially with different underlying representations.