| java.lang.Object org.apache.xerces.dom.NodeImpl org.apache.xerces.dom.ChildNode org.apache.xerces.dom.ParentNode org.apache.xerces.dom.CoreDocumentImpl org.apache.xerces.dom.DocumentImpl org.apache.xerces.dom.PSVIDocumentImpl
PSVIDocumentImpl | public class PSVIDocumentImpl extends DocumentImpl (Code) | | Our own document implementation, which knows how to create an element
with PSVI information.
author: Sandy Gao, IBM version: $Id: PSVIDocumentImpl.java 447266 2006-09-18 05:57:49Z mrglavas $ |
serialVersionUID | final static long serialVersionUID(Code) | | Serialization version.
|
PSVIDocumentImpl | public PSVIDocumentImpl()(Code) | | Create a document.
|
PSVIDocumentImpl | public PSVIDocumentImpl(DocumentType doctype)(Code) | | For DOM2 support.
The createDocument factory method is in DOMImplementation.
|
cloneNode | public Node cloneNode(boolean deep)(Code) | | 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.
org.w3c.dom.Node Parameters: deep - boolean, iff true replicate children |
getDomConfig | public DOMConfiguration getDomConfig()(Code) | | The configuration used when Document.normalizeDocument is
invoked.
since: DOM Level 3 |
getImplementation | public DOMImplementation getImplementation()(Code) | | 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.
|
Methods inherited from org.apache.xerces.dom.DocumentImpl | protected void addEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node cloneNode(boolean deep)(Code)(Java Doc) protected void copyEventListeners(NodeImpl src, NodeImpl tgt)(Code)(Java Doc) public Event createEvent(String type) throws DOMException(Code)(Java Doc) public NodeIterator createNodeIterator(Node root, short whatToShow, NodeFilter filter)(Code)(Java Doc) public NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)(Code)(Java Doc) public Range createRange()(Code)(Java Doc) public TreeWalker createTreeWalker(Node root, short whatToShow, NodeFilter filter)(Code)(Java Doc) public TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion)(Code)(Java Doc) void deletedText(CharacterDataImpl node, int offset, int count)(Code)(Java Doc) protected void dispatchAggregateEvents(NodeImpl node, EnclosingAttr ea)(Code)(Java Doc) protected void dispatchAggregateEvents(NodeImpl node, AttrImpl enclosingAttr, String oldvalue, short change)(Code)(Java Doc) protected boolean dispatchEvent(NodeImpl node, Event event)(Code)(Java Doc) protected void dispatchEventToSubtree(Node n, Event e)(Code)(Java Doc) protected void dispatchingEventToSubtree(Node n, Event e)(Code)(Java Doc) protected Vector getEventListeners(NodeImpl n)(Code)(Java Doc) public DOMImplementation getImplementation()(Code)(Java Doc) boolean getMutationEvents()(Code)(Java Doc) void insertedNode(NodeImpl node, NodeImpl newInternal, boolean replace)(Code)(Java Doc) void insertedText(CharacterDataImpl node, int offset, int count)(Code)(Java Doc) void insertingNode(NodeImpl node, boolean replace)(Code)(Java Doc) void modifiedAttrValue(AttrImpl attr, String oldvalue)(Code)(Java Doc) void modifiedCharacterData(NodeImpl node, String oldvalue, String value, boolean replace)(Code)(Java Doc) void modifyingCharacterData(NodeImpl node, boolean replace)(Code)(Java Doc) protected void removeEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc) void removeNodeIterator(NodeIterator nodeIterator)(Code)(Java Doc) void removeRange(Range range)(Code)(Java Doc) void removedAttrNode(AttrImpl attr, NodeImpl oldOwner, String name)(Code)(Java Doc) void removedNode(NodeImpl node, boolean replace)(Code)(Java Doc) void removingNode(NodeImpl node, NodeImpl oldChild, boolean replace)(Code)(Java Doc) void renamedAttrNode(Attr oldAt, Attr newAt)(Code)(Java Doc) void renamedElement(Element oldEl, Element newEl)(Code)(Java Doc) void replacedCharacterData(NodeImpl node, String oldvalue, String value)(Code)(Java Doc) void replacedNode(NodeImpl node)(Code)(Java Doc) void replacedText(CharacterDataImpl node)(Code)(Java Doc) void replacingData(NodeImpl node)(Code)(Java Doc) void replacingNode(NodeImpl node)(Code)(Java Doc) protected void saveEnclosingAttr(NodeImpl node)(Code)(Java Doc) void setAttrNode(AttrImpl attr, AttrImpl previous)(Code)(Java Doc) protected void setEventListeners(NodeImpl n, Vector listeners)(Code)(Java Doc) void setMutationEvents(boolean set)(Code)(Java Doc) void splitData(Node node, Node newNode, int offset)(Code)(Java Doc)
|
Methods inherited from org.apache.xerces.dom.CoreDocumentImpl | public void abort()(Code)(Java Doc) protected void addEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node adoptNode(Node source)(Code)(Java Doc) protected void callUserDataHandlers(Node n, Node c, short operation)(Code)(Java Doc) void callUserDataHandlers(Node n, Node c, short operation, Hashtable userData)(Code)(Java Doc) protected void changed()(Code)(Java Doc) protected int changes()(Code)(Java Doc) final protected void checkDOMNSErr(String prefix, String namespace)(Code)(Java Doc) final protected void checkNamespaceWF(String qname, int colon1, int colon2)(Code)(Java Doc) final protected void checkQName(String prefix, String local)(Code)(Java Doc) final protected void clearIdentifiers()(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) public Node cloneNode(boolean deep)(Code)(Java Doc) protected void cloneNode(CoreDocumentImpl newdoc, boolean deep)(Code)(Java Doc) protected void copyEventListeners(NodeImpl src, NodeImpl tgt)(Code)(Java Doc) public Attr createAttribute(String name) throws DOMException(Code)(Java Doc) public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException(Code)(Java Doc) public Attr createAttributeNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException(Code)(Java Doc) public CDATASection createCDATASection(String data) throws DOMException(Code)(Java Doc) public Comment createComment(String data)(Code)(Java Doc) public DocumentFragment createDocumentFragment()(Code)(Java Doc) public DocumentType createDocumentType(String qualifiedName, String publicID, String systemID) throws DOMException(Code)(Java Doc) public Element createElement(String tagName) throws DOMException(Code)(Java Doc) public ElementDefinitionImpl createElementDefinition(String name) throws DOMException(Code)(Java Doc) public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException(Code)(Java Doc) public Element createElementNS(String namespaceURI, String qualifiedName, String localpart) throws DOMException(Code)(Java Doc) public Entity createEntity(String name) throws DOMException(Code)(Java Doc) public EntityReference createEntityReference(String name) throws DOMException(Code)(Java Doc) public Notation createNotation(String name) throws DOMException(Code)(Java Doc) public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException(Code)(Java Doc) public Text createTextNode(String data)(Code)(Java Doc) void deletedText(CharacterDataImpl node, int offset, int count)(Code)(Java Doc) protected boolean dispatchEvent(NodeImpl node, Event event)(Code)(Java Doc) void freeNodeListCache(NodeListCache c)(Code)(Java Doc) public boolean getAsync()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public DocumentType getDoctype()(Code)(Java Doc) public Element getDocumentElement()(Code)(Java Doc) public String getDocumentURI()(Code)(Java Doc) public DOMConfiguration getDomConfig()(Code)(Java Doc) public Element getElementById(String elementId)(Code)(Java Doc) public NodeList getElementsByTagName(String tagname)(Code)(Java Doc) public NodeList getElementsByTagNameNS(String namespaceURI, String localName)(Code)(Java Doc) public String getEncoding()(Code)(Java Doc) public boolean getErrorChecking()(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Element getIdentifier(String idName)(Code)(Java Doc) public Enumeration getIdentifiers()(Code)(Java Doc) public DOMImplementation getImplementation()(Code)(Java Doc) public String getInputEncoding()(Code)(Java Doc) boolean getMutationEvents()(Code)(Java Doc) NodeListCache getNodeListCache(ParentNode owner)(Code)(Java Doc) public String getNodeName()(Code)(Java Doc) protected int getNodeNumber()(Code)(Java Doc) protected int getNodeNumber(Node node)(Code)(Java Doc) public short getNodeType()(Code)(Java Doc) final public Document getOwnerDocument()(Code)(Java Doc) public boolean getStandalone()(Code)(Java Doc) public boolean getStrictErrorChecking()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) public Object getUserData(Node n, String key)(Code)(Java Doc) protected Object getUserData(NodeImpl n)(Code)(Java Doc) protected Hashtable getUserDataRecord(Node n)(Code)(Java Doc) public String getVersion()(Code)(Java Doc) public String getXmlEncoding()(Code)(Java Doc) public boolean getXmlStandalone()(Code)(Java Doc) public String getXmlVersion()(Code)(Java Doc) public Node importNode(Node source, boolean deep) throws DOMException(Code)(Java Doc) public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc) void insertedNode(NodeImpl node, NodeImpl newInternal, boolean replace)(Code)(Java Doc) void insertedText(CharacterDataImpl node, int offset, int count)(Code)(Java Doc) void insertingNode(NodeImpl node, boolean replace)(Code)(Java Doc) protected boolean isKidOK(Node parent, Node child)(Code)(Java Doc) boolean isNormalizeDocRequired()(Code)(Java Doc) final public static boolean isValidQName(String prefix, String local, boolean xml11Version)(Code)(Java Doc) boolean isXML11Version()(Code)(Java Doc) final public static boolean isXMLName(String s, boolean xml11Version)(Code)(Java Doc) boolean isXMLVersionChanged()(Code)(Java Doc) public boolean load(String uri)(Code)(Java Doc) public boolean loadXML(String source)(Code)(Java Doc) void modifiedAttrValue(AttrImpl attr, String oldvalue)(Code)(Java Doc) void modifiedCharacterData(NodeImpl node, String oldvalue, String value, boolean replace)(Code)(Java Doc) void modifyingCharacterData(NodeImpl node, boolean replace)(Code)(Java Doc) public void normalizeDocument()(Code)(Java Doc) public void putIdentifier(String idName, Element element)(Code)(Java Doc) public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc) protected void removeEventListener(NodeImpl node, String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public void removeIdentifier(String idName)(Code)(Java Doc) Hashtable removeUserDataTable(Node n)(Code)(Java Doc) void removedAttrNode(AttrImpl attr, NodeImpl oldOwner, String name)(Code)(Java Doc) void removedNode(NodeImpl node, boolean replace)(Code)(Java Doc) void removingNode(NodeImpl node, NodeImpl oldChild, boolean replace)(Code)(Java Doc) public Node renameNode(Node n, String namespaceURI, String name) throws DOMException(Code)(Java Doc) void renamedAttrNode(Attr oldAt, Attr newAt)(Code)(Java Doc) void renamedElement(Element oldEl, Element newEl)(Code)(Java Doc) public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc) void replacedCharacterData(NodeImpl node, String oldvalue, String value)(Code)(Java Doc) void replacedNode(NodeImpl node)(Code)(Java Doc) void replacedText(CharacterDataImpl node)(Code)(Java Doc) void replacingData(NodeImpl node)(Code)(Java Doc) void replacingNode(NodeImpl node)(Code)(Java Doc) public String saveXML(Node node) throws DOMException(Code)(Java Doc) public void setAsync(boolean async)(Code)(Java Doc) void setAttrNode(AttrImpl attr, AttrImpl previous)(Code)(Java Doc) public void setDocumentURI(String documentURI)(Code)(Java Doc) public void setEncoding(String value)(Code)(Java Doc) public void setErrorChecking(boolean check)(Code)(Java Doc) public void setInputEncoding(String value)(Code)(Java Doc) void setMutationEvents(boolean set)(Code)(Java Doc) public void setStandalone(boolean value)(Code)(Java Doc) public void setStrictErrorChecking(boolean check)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(Node n, String key, Object data, UserDataHandler handler)(Code)(Java Doc) protected void setUserData(NodeImpl n, Object data)(Code)(Java Doc) void setUserDataTable(Node n, Hashtable data)(Code)(Java Doc) public void setVersion(String value)(Code)(Java Doc) public void setXmlEncoding(String value)(Code)(Java Doc) public void setXmlStandalone(boolean value) throws DOMException(Code)(Java Doc) public void setXmlVersion(String value)(Code)(Java Doc) protected void undeferChildren(Node node)(Code)(Java Doc)
|
Methods inherited from org.apache.xerces.dom.NodeImpl | public void addEventListener(String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc) protected void changed()(Code)(Java Doc) protected int changes()(Code)(Java Doc) public Node cloneNode(boolean deep)(Code)(Java Doc) public short compareDocumentPosition(Node other) throws DOMException(Code)(Java Doc) public short compareTreePosition(Node other)(Code)(Java Doc) public boolean dispatchEvent(Event event)(Code)(Java Doc) public NamedNodeMap getAttributes()(Code)(Java Doc) public String getBaseURI()(Code)(Java Doc) public NodeList getChildNodes()(Code)(Java Doc) protected Node getContainer()(Code)(Java Doc) Node getElementAncestor(Node currentNode)(Code)(Java Doc) public Object getFeature(String feature, String version)(Code)(Java Doc) public Node getFirstChild()(Code)(Java Doc) public Node getLastChild()(Code)(Java Doc) public int getLength()(Code)(Java Doc) public String getLocalName()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public Node getNextSibling()(Code)(Java Doc) abstract public String getNodeName()(Code)(Java Doc) protected int getNodeNumber()(Code)(Java Doc) abstract public short getNodeType()(Code)(Java Doc) public String getNodeValue() throws DOMException(Code)(Java Doc) public Document getOwnerDocument()(Code)(Java Doc) public Node getParentNode()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public Node getPreviousSibling()(Code)(Java Doc) public boolean getReadOnly()(Code)(Java Doc) public String getTextContent() throws DOMException(Code)(Java Doc) void getTextContent(StringBuffer buf) throws DOMException(Code)(Java Doc) public Object getUserData(String key)(Code)(Java Doc) public Object getUserData()(Code)(Java Doc) protected Hashtable getUserDataRecord()(Code)(Java Doc) public boolean hasAttributes()(Code)(Java Doc) public boolean hasChildNodes()(Code)(Java Doc) final boolean hasStringValue()(Code)(Java Doc) final void hasStringValue(boolean value)(Code)(Java Doc) public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc) final boolean internalIsIgnorableWhitespace()(Code)(Java Doc) public boolean isDefaultNamespace(String namespaceURI)(Code)(Java Doc) public boolean isEqualNode(Node arg)(Code)(Java Doc) final boolean isFirstChild()(Code)(Java Doc) final void isFirstChild(boolean value)(Code)(Java Doc) final boolean isIdAttribute()(Code)(Java Doc) final void isIdAttribute(boolean value)(Code)(Java Doc) final void isIgnorableWhitespace(boolean value)(Code)(Java Doc) final boolean isNormalized()(Code)(Java Doc) final void isNormalized(boolean value)(Code)(Java Doc) final boolean isOwned()(Code)(Java Doc) final void isOwned(boolean value)(Code)(Java Doc) final boolean isReadOnly()(Code)(Java Doc) final void isReadOnly(boolean value)(Code)(Java Doc) public boolean isSameNode(Node other)(Code)(Java Doc) final boolean isSpecified()(Code)(Java Doc) final void isSpecified(boolean value)(Code)(Java Doc) public boolean isSupported(String feature, String version)(Code)(Java Doc) public Node item(int index)(Code)(Java Doc) String lookupNamespacePrefix(String namespaceURI, ElementImpl el)(Code)(Java Doc) public String lookupNamespaceURI(String specifiedPrefix)(Code)(Java Doc) public String lookupPrefix(String namespaceURI)(Code)(Java Doc) final boolean needsSyncChildren()(Code)(Java Doc) final public void needsSyncChildren(boolean value)(Code)(Java Doc) final boolean needsSyncData()(Code)(Java Doc) final void needsSyncData(boolean value)(Code)(Java Doc) public void normalize()(Code)(Java Doc) CoreDocumentImpl ownerDocument()(Code)(Java Doc) NodeImpl parentNode()(Code)(Java Doc) ChildNode previousSibling()(Code)(Java Doc) public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc) public void removeEventListener(String type, EventListener listener, boolean useCapture)(Code)(Java Doc) public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)(Java Doc) public void setNodeValue(String x) throws DOMException(Code)(Java Doc) protected void setOwnerDocument(CoreDocumentImpl doc)(Code)(Java Doc) public void setPrefix(String prefix) throws DOMException(Code)(Java Doc) public void setReadOnly(boolean readOnly, boolean deep)(Code)(Java Doc) public void setTextContent(String textContent) throws DOMException(Code)(Java Doc) public Object setUserData(String key, Object data, UserDataHandler handler)(Code)(Java Doc) public void setUserData(Object data)(Code)(Java Doc) protected void synchronizeData()(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|