Java Doc for NodeImpl.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » xerces » dom » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » org.apache.xerces.dom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.xerces.dom.NodeImpl

All known Subclasses:   org.apache.xerces.dom.NotationImpl,  org.apache.xerces.dom.AttrImpl,  org.apache.xerces.dom.ChildNode,
NodeImpl
abstract public class NodeImpl implements Node,NodeList,EventTarget,Cloneable,Serializable(Code)
NodeImpl provides the basic structure of a DOM tree. It is never used directly, but instead is subclassed to add type and data information, and additional methods, appropriate to each node of the tree. Only its subclasses should be instantiated -- and those, with the exception of Document itself, only through a specific Document's factory methods.

The Node interface provides shared behaviors such as siblings and children, both for consistancy and so that the most common tree operations may be performed without constantly having to downcast to specific node types. When there is no obvious mapping for one of these queries, it will respond with null. Note that the default behavior is that children are forbidden. To permit them, the subclass ParentNode overrides several methods.

NodeImpl also implements NodeList, so it can return itself in response to the getChildNodes() query. This eliminiates the need for a separate ChildNodeList object. Note that this is an IMPLEMENTATION DETAIL; applications should _never_ assume that this identity exists.

All nodes in a single document must originate in that document. (Note that this is much tighter than "must be same implementation") Nodes are all aware of their ownerDocument, and attempts to mismatch will throw WRONG_DOCUMENT_ERR.

However, to save memory not all nodes always have a direct reference to their ownerDocument. When a node is owned by another node it relies on its owner to store its ownerDocument. Parent nodes always store it though, so there is never more than one level of indirection. And when a node doesn't have an owner, ownerNode refers to its ownerDocument.

This class doesn't directly support mutation events, however, it still implements the EventTarget interface and forward all related calls to the document so that the document class do so.
author:
   Arnaud Le Hors, IBM
author:
   Joe Kesselman, IBM
since:
   PR-DOM-Level-1-19980818.



Field Summary
final public static  shortELEMENT_DEFINITION_NODE
     Element definition node type.
final protected static  shortFIRSTCHILD
    
final protected static  shortHASSTRING
    
final protected static  shortIGNORABLEWS
    
final protected static  shortOWNED
    
final protected static  shortREADONLY
    
final protected static  shortSPECIFIED
    
final protected static  shortSYNCCHILDREN
    
final protected static  shortSYNCDATA
    
final protected static  shortUNNORMALIZED
    
protected  shortflags
    
protected  NodeImplownerNode
    
final static  longserialVersionUID
     Serialization version.

Constructor Summary
protected  NodeImpl(CoreDocumentImpl ownerDocument)
     No public constructor; only subclasses of Node should be instantiated, and those normally via a Document's factory methods

Every Node knows what Document it belongs to.

public  NodeImpl()
     Constructor for serialization.

Method Summary
public  voidaddEventListener(String type, EventListener listener, boolean useCapture)
    
public  NodeappendChild(Node newChild)
     Adds a child node to the end of the list of children for this node.
protected  voidchanged()
     Denotes that this node has changed.
protected  intchanges()
     Returns the number of changes to this node.
public  NodecloneNode(boolean deep)
     Returns a duplicate of a given node.
public  booleandispatchEvent(Event event)
    
public  NamedNodeMapgetAttributes()
     Return the collection of attributes associated with this node, or null if none.
public  NodeListgetChildNodes()
     Obtain a NodeList enumerating all children of this node.
public  NodegetFirstChild()
     The first child of this Node, or null if none.
public  NodegetLastChild()
     The first child of this Node, or null if none.
public  intgetLength()
     NodeList method: Count the immediate children of this node

By default we do not have any children, ParentNode overrides this.

public  StringgetLocalName()
     Introduced in DOM Level 2.
public  StringgetNamespaceURI()
     Introduced in DOM Level 2.
public  NodegetNextSibling()
    
abstract public  StringgetNodeName()
     the name of this node.
abstract public  shortgetNodeType()
     A short integer indicating what type of node this is.
public  StringgetNodeValue()
     Returns the node value.
public  DocumentgetOwnerDocument()
     Find the Document that this Node belongs to (the document in whose context the Node was created).
public  NodegetParentNode()
     Obtain the DOM-tree parent of this node, or null if it is not currently active in the DOM tree (perhaps because it has just been created or removed).
public  StringgetPrefix()
     Introduced in DOM Level 2.
public  NodegetPreviousSibling()
    
public  booleangetReadOnly()
     NON-DOM: Returns true if this node is read-only.
public  ObjectgetUserData()
     NON-DOM: Returns the user data associated to this node.
public  booleanhasAttributes()
     Returns whether this node (if it is an element) has any attributes.
public  booleanhasChildNodes()
     Test whether this node has any children.
final  booleanhasStringValue()
    
final  voidhasStringValue(boolean value)
    
public  NodeinsertBefore(Node newChild, Node refChild)
     Move one or more node(s) to our list of children.
final  booleaninternalIsIgnorableWhitespace()
    
final  booleanisFirstChild()
    
final  voidisFirstChild(boolean value)
    
final  voidisIgnorableWhitespace(boolean value)
    
final  booleanisNormalized()
    
final  voidisNormalized(boolean value)
    
final  booleanisOwned()
    
final  voidisOwned(boolean value)
    
final  booleanisReadOnly()
    
final  voidisReadOnly(boolean value)
    
final  booleanisSpecified()
    
final  voidisSpecified(boolean value)
    
public  booleanisSupported(String feature, String version)
     Introduced in DOM Level 2.
public  Nodeitem(int index)
     NodeList method: Return the Nth immediate child of this node, or null if the index is out of bounds.
final  booleanneedsSyncChildren()
    
final  voidneedsSyncChildren(boolean value)
    
final  booleanneedsSyncData()
    
final  voidneedsSyncData(boolean value)
    
public  voidnormalize()
     Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are no adjacent Text nodes.
 CoreDocumentImplownerDocument()
    
 NodeImplparentNode()
    
 ChildNodepreviousSibling()
    
public  NoderemoveChild(Node oldChild)
     Remove a child from this Node.
public  voidremoveEventListener(String type, EventListener listener, boolean useCapture)
    
public  NodereplaceChild(Node newChild, Node oldChild)
     Make newChild occupy the location that oldChild used to have.
public  voidsetNodeValue(String x)
     Sets the node value.
 voidsetOwnerDocument(CoreDocumentImpl doc)
    
public  voidsetPrefix(String prefix)
     Introduced in DOM Level 2.
public  voidsetReadOnly(boolean readOnly, boolean deep)
     NON-DOM: PR-DOM-Level-1-19980818 mentions readonly nodes in conjunction with Entities, but provides no API to support this.

Most DOM users should not touch this method.

public  voidsetUserData(Object data)
     NON-DOM: As an alternative to subclassing the DOM, this implementation has been extended with the ability to attach an object to each node. (If you need multiple objects, you can attach a collection such as a vector or hashtable, then attach your application information to that.)

Important Note: You are responsible for removing references to your data on nodes that are no longer used.

protected  voidsynchronizeData()
     Override this method in subclass to hook in efficient internal data structure.
public  StringtoString()
     NON-DOM method for debugging convenience.

Field Detail
ELEMENT_DEFINITION_NODE
final public static short ELEMENT_DEFINITION_NODE(Code)
Element definition node type.



FIRSTCHILD
final protected static short FIRSTCHILD(Code)



HASSTRING
final protected static short HASSTRING(Code)



IGNORABLEWS
final protected static short IGNORABLEWS(Code)



OWNED
final protected static short OWNED(Code)



READONLY
final protected static short READONLY(Code)



SPECIFIED
final protected static short SPECIFIED(Code)



SYNCCHILDREN
final protected static short SYNCCHILDREN(Code)



SYNCDATA
final protected static short SYNCDATA(Code)



UNNORMALIZED
final protected static short UNNORMALIZED(Code)



flags
protected short flags(Code)



ownerNode
protected NodeImpl ownerNode(Code)



serialVersionUID
final static long serialVersionUID(Code)
Serialization version.




Constructor Detail
NodeImpl
protected NodeImpl(CoreDocumentImpl ownerDocument)(Code)
No public constructor; only subclasses of Node should be instantiated, and those normally via a Document's factory methods

Every Node knows what Document it belongs to.




NodeImpl
public NodeImpl()(Code)
Constructor for serialization.




Method Detail
addEventListener
public void addEventListener(String type, EventListener listener, boolean useCapture)(Code)



appendChild
public Node appendChild(Node newChild) throws DOMException(Code)
Adds a child node to the end of the list of children for this node. Convenience shorthand for insertBefore(newChild,null).
See Also:   NodeImpl.insertBefore(Node,Node)
See Also:   


See Also:   By default we do not accept any children, ParentNode overrides this.
See Also:   ParentNode
throws:
  DOMException - (HIERARCHY_REQUEST_ERR) if newChild is of atype that shouldn't be a child of this node.
throws:
  DOMException - (WRONG_DOCUMENT_ERR) if newChild has adifferent owner document than we do.
throws:
  DOMException - (NO_MODIFICATION_ALLOWED_ERR) if this node isread-only.




changed
protected void changed()(Code)
Denotes that this node has changed.



changes
protected int changes()(Code)
Returns the number of changes to this node.



cloneNode
public Node cloneNode(boolean deep)(Code)
Returns a duplicate of a given node. You can consider this a generic "copy constructor" for nodes. The newly returned object should be completely independent of the source object's subtree, so changes in one after the clone has been made will not affect the other.

Note: since we never have any children deep is meaningless here, ParentNode overrides this behavior.
See Also:   ParentNode
See Also:   


See Also:   Example: Cloning a Text node will copy both the node and the text it
See Also:   contains.
See Also:   


See Also:   Example: Cloning something that has children -- Element or Attr, for
See Also:   example -- will _not_ clone those children unless a "deep clone"
See Also:   has been requested. A shallow clone of an Attr node will yield an
See Also:   empty Attr of the same name.
See Also:   


See Also:   NOTE: Clones will always be read/write, even if the node being cloned
See Also:   is read-only, to permit applications using only the DOM API to obtain
See Also:   editable copies of locked portions of the tree.




dispatchEvent
public boolean dispatchEvent(Event event)(Code)



getAttributes
public NamedNodeMap getAttributes()(Code)
Return the collection of attributes associated with this node, or null if none. At this writing, Element is the only type of node which will ever have attributes.
See Also:   ElementImpl



getChildNodes
public NodeList getChildNodes()(Code)
Obtain a NodeList enumerating all children of this node. If there are none, an (initially) empty NodeList is returned.

NodeLists are "live"; as children are added/removed the NodeList will immediately reflect those changes. Also, the NodeList refers to the actual nodes, so changes to those nodes made via the DOM tree will be reflected in the NodeList and vice versa.

In this implementation, Nodes implement the NodeList interface and provide their own getChildNodes() support. Other DOMs may solve this differently.




getFirstChild
public Node getFirstChild()(Code)
The first child of this Node, or null if none.

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode




getLastChild
public Node getLastChild()(Code)
The first child of this Node, or null if none.

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode




getLength
public int getLength()(Code)
NodeList method: Count the immediate children of this node

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode int




getLocalName
public String getLocalName()(Code)
Introduced in DOM Level 2.

Returns the local part of the qualified name of this node. For nodes created with a DOM Level 1 method, such as createElement from the Document interface, and for nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE this is the same as the nodeName attribute.
since:
   WD-DOM-Level-2-19990923
See Also:   AttrNSImpl
See Also:   ElementNSImpl




getNamespaceURI
public String getNamespaceURI()(Code)
Introduced in DOM Level 2.

The namespace URI of this node, or null if it is unspecified. When this node is of any type other than ELEMENT_NODE and ATTRIBUTE_NODE, this is always null and setting it has no effect.

This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.

For nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is null.
since:
   WD-DOM-Level-2-19990923
See Also:   AttrNSImpl
See Also:   ElementNSImpl




getNextSibling
public Node getNextSibling()(Code)
The next child of this node's parent, or null if none



getNodeName
abstract public String getNodeName()(Code)
the name of this node.



getNodeType
abstract public short getNodeType()(Code)
A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface.



getNodeValue
public String getNodeValue()(Code)
Returns the node value.



getOwnerDocument
public Document getOwnerDocument()(Code)
Find the Document that this Node belongs to (the document in whose context the Node was created). The Node may or may not currently be part of that Document's actual contents.



getParentNode
public Node getParentNode()(Code)
Obtain the DOM-tree parent of this node, or null if it is not currently active in the DOM tree (perhaps because it has just been created or removed). Note that Document, DocumentFragment, and Attribute will never have parents.



getPrefix
public String getPrefix()(Code)
Introduced in DOM Level 2.

The namespace prefix of this node, or null if it is unspecified. When this node is of any type other than ELEMENT_NODE and ATTRIBUTE_NODE this is always null and setting it has no effect.

For nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is null.


since:
   WD-DOM-Level-2-19990923
See Also:   AttrNSImpl
See Also:   ElementNSImpl




getPreviousSibling
public Node getPreviousSibling()(Code)
The previous child of this node's parent, or null if none



getReadOnly
public boolean getReadOnly()(Code)
NON-DOM: Returns true if this node is read-only. This is a shallow check.



getUserData
public Object getUserData()(Code)
NON-DOM: Returns the user data associated to this node.



hasAttributes
public boolean hasAttributes()(Code)
Returns whether this node (if it is an element) has any attributes. true if this node has any attributes, false otherwise.
since:
   DOM Level 2
See Also:   ElementImpl



hasChildNodes
public boolean hasChildNodes()(Code)
Test whether this node has any children. Convenience shorthand for (Node.getFirstChild()!=null)

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode




hasStringValue
final boolean hasStringValue()(Code)



hasStringValue
final void hasStringValue(boolean value)(Code)



insertBefore
public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)
Move one or more node(s) to our list of children. Note that this implicitly removes them from their previous parent.

By default we do not accept any children, ParentNode overrides this.
See Also:   ParentNode
Parameters:
  newChild - The Node to be moved to our subtree. As aconvenience feature, inserting a DocumentNode will instead insertall its children.
Parameters:
  refChild - Current child which newChild should be placedimmediately before. If refChild is null, the insertion occursafter all existing Nodes, like appendChild().
throws:
  DOMException - (HIERARCHY_REQUEST_ERR) if newChild is of atype that shouldn't be a child of this node, or if newChild is anancestor of this node.
throws:
  DOMException - (WRONG_DOCUMENT_ERR) if newChild has adifferent owner document than we do.
throws:
  DOMException - (NOT_FOUND_ERR) if refChild is not a child ofthis node.
throws:
  DOMException - (NO_MODIFICATION_ALLOWED_ERR) if this node isread-only.




internalIsIgnorableWhitespace
final boolean internalIsIgnorableWhitespace()(Code)



isFirstChild
final boolean isFirstChild()(Code)



isFirstChild
final void isFirstChild(boolean value)(Code)



isIgnorableWhitespace
final void isIgnorableWhitespace(boolean value)(Code)



isNormalized
final boolean isNormalized()(Code)



isNormalized
final void isNormalized(boolean value)(Code)



isOwned
final boolean isOwned()(Code)



isOwned
final void isOwned(boolean value)(Code)



isReadOnly
final boolean isReadOnly()(Code)



isReadOnly
final void isReadOnly(boolean value)(Code)



isSpecified
final boolean isSpecified()(Code)



isSpecified
final void isSpecified(boolean value)(Code)



isSupported
public boolean isSupported(String feature, String version)(Code)
Introduced in DOM Level 2.

Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
Parameters:
  feature - The package name of the feature to test. This is the samename as what can be passed to the method hasFeature onDOMImplementation.
Parameters:
  version - This is the version number of the package name totest. In Level 2, version 1, this is the string "2.0". If the version isnot specified, supporting any version of the feature will cause themethod to return true. boolean Returns true if this node defines a subtree within whichthe specified feature is supported, false otherwise.
since:
   WD-DOM-Level-2-19990923




item
public Node item(int index)(Code)
NodeList method: Return the Nth immediate child of this node, or null if the index is out of bounds.

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode org.w3c.dom.Node
Parameters:
  Index - int




needsSyncChildren
final boolean needsSyncChildren()(Code)



needsSyncChildren
final void needsSyncChildren(boolean value)(Code)



needsSyncData
final boolean needsSyncData()(Code)



needsSyncData
final void needsSyncData(boolean value)(Code)



normalize
public void normalize()(Code)
Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are no adjacent Text nodes. This can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer lookups) that depend on a particular document tree structure are to be used.In cases where the document contains CDATASections, the normalize operation alone may not be sufficient, since XPointers do not differentiate between Text nodes and CDATASection nodes.

Note that this implementation simply calls normalize() on this Node's children. It is up to implementors or Node to override normalize() to take action.




ownerDocument
CoreDocumentImpl ownerDocument()(Code)
same as above but returns internal type and this one is not overridden by CoreDocumentImpl to return null



parentNode
NodeImpl parentNode()(Code)



previousSibling
ChildNode previousSibling()(Code)



removeChild
public Node removeChild(Node oldChild) throws DOMException(Code)
Remove a child from this Node. The removed child's subtree remains intact so it may be re-inserted elsewhere.

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode oldChild, in its new state (removed).
throws:
  DOMException - (NOT_FOUND_ERR) if oldChild is not a child ofthis node.
throws:
  DOMException - (NO_MODIFICATION_ALLOWED_ERR) if this node isread-only.




removeEventListener
public void removeEventListener(String type, EventListener listener, boolean useCapture)(Code)



replaceChild
public Node replaceChild(Node newChild, Node oldChild) throws DOMException(Code)
Make newChild occupy the location that oldChild used to have. Note that newChild will first be removed from its previous parent, if any. Equivalent to inserting newChild before oldChild, then removing oldChild.

By default we do not have any children, ParentNode overrides this.
See Also:   ParentNode
throws:
  DOMException - (HIERARCHY_REQUEST_ERR) if newChild is of atype that shouldn't be a child of this node, or if newChild isone of our ancestors.
throws:
  DOMException - (WRONG_DOCUMENT_ERR) if newChild has adifferent owner document than we do.
throws:
  DOMException - (NOT_FOUND_ERR) if oldChild is not a child ofthis node.
throws:
  DOMException - (NO_MODIFICATION_ALLOWED_ERR) if this node isread-only.




setNodeValue
public void setNodeValue(String x) throws DOMException(Code)
Sets the node value.
throws:
  DOMException - (NO_MODIFICATION_ALLOWED_ERR)



setOwnerDocument
void setOwnerDocument(CoreDocumentImpl doc)(Code)
NON-DOM set the ownerDocument of this node



setPrefix
public void setPrefix(String prefix) throws DOMException(Code)
Introduced in DOM Level 2.

The namespace prefix of this node, or null if it is unspecified. When this node is of any type other than ELEMENT_NODE and ATTRIBUTE_NODE this is always null and setting it has no effect.

For nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is null.

Note that setting this attribute changes the nodeName attribute, which holds the qualified name, as well as the tagName and name attributes of the Element and Attr interfaces, when applicable.


throws:
  INVALID_CHARACTER_ERR - Raised if the specifiedprefix contains an invalid character.
since:
   WD-DOM-Level-2-19990923
See Also:   AttrNSImpl
See Also:   ElementNSImpl




setReadOnly
public void setReadOnly(boolean readOnly, boolean deep)(Code)
NON-DOM: PR-DOM-Level-1-19980818 mentions readonly nodes in conjunction with Entities, but provides no API to support this.

Most DOM users should not touch this method. Its anticpated use is during construction of EntityRefernces, where it will be used to lock the contents replicated from Entity so they can't be casually altered. It _could_ be published as a DOM extension, if desired.

Note: since we never have any children deep is meaningless here, ParentNode overrides this behavior.
See Also:   ParentNode
Parameters:
  readOnly - True or false as desired.
Parameters:
  deep - If true, children are also toggled. Note that this willnot change the state of an EntityReference or its children,which are always read-only.




setUserData
public void setUserData(Object data)(Code)
NON-DOM: As an alternative to subclassing the DOM, this implementation has been extended with the ability to attach an object to each node. (If you need multiple objects, you can attach a collection such as a vector or hashtable, then attach your application information to that.)

Important Note: You are responsible for removing references to your data on nodes that are no longer used. Failure to do so will prevent the nodes, your data is attached to, to be garbage collected until the whole document is.
Parameters:
  data - the object to store or null to remove any existing reference




synchronizeData
protected void synchronizeData()(Code)
Override this method in subclass to hook in efficient internal data structure.



toString
public String toString()(Code)
NON-DOM method for debugging convenience.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.