Java Doc for Node.java in  » Ajax » dwr » jsx3 » xml » 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 » Ajax » dwr » jsx3.xml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   jsx3.xml.Node

All known Subclasses:   jsx3.xml.CdfDocument,  jsx3.xml.Record,
Node
abstract public class Node implements Iterable<Record>(Code)
A Node is a container of Records. In use, Node has a parent Node and is part of a CdfDocument.
author:
   Joe Walker [joe at getahead dot ltd dot uk]


Field Summary
protected  LinkedList<Record>children
    
protected  CdfDocumentdocument
    
protected  Stringid
    
protected  NodeparentNode
    

Constructor Summary
protected  Node(String id)
    
protected  Node()
    

Method Summary
public  voidappendRecord(Record newRecord)
     Adds the Record newRecord to the end of the list of children of this Record.
public  voidclear()
    
public  booleanequals(Object obj)
    
public  StringgetId()
    
public  CdfDocumentgetOwnerDocument()
     The CdfDocument object associated with this node.
public  NodegetParentNode()
     The parent of this node.
public  inthashCode()
    
final protected static  Stringindent(int depth)
    
public  voidinsertRecord(int position, Record newRecord)
    
public  Iterator<Record>iterator()
     A NodeList that contains all children of this node.
protected  voidjoinDocument(Node parent)
     Internal setter for the parent node.
protected  voidleaveDocument()
    
public  voidremoveRecord(Record oldRecord)
     Removes the child Record indicated by oldRecord from the list of children, and returns it.
public  voidreplaceRecord(Record newRecord, Record oldRecord)
     Replaces the child Record oldRecord with newRecord in the list of children, and returns the oldRecord Record.
public  voidsetId(String id)
    

Field Detail
children
protected LinkedList<Record> children(Code)
The records that we contain



document
protected CdfDocument document(Code)
The CdfDocument that we are a part of



id
protected String id(Code)
The JSXID of this node



parentNode
protected Node parentNode(Code)
Our parent record




Constructor Detail
Node
protected Node(String id)(Code)
You should not be directly creating Nodes



Node
protected Node()(Code)
You should not be directly creating Nodes




Method Detail
appendRecord
public void appendRecord(Record newRecord)(Code)
Adds the Record newRecord to the end of the list of children of this Record. If the newRecord is already in the tree, it is first removed.
Parameters:
  newRecord - The Record to add.



clear
public void clear()(Code)
Remove all the nodes from this node



equals
public boolean equals(Object obj)(Code)



getId
public String getId()(Code)
the id



getOwnerDocument
public CdfDocument getOwnerDocument()(Code)
The CdfDocument object associated with this node. This Records parent Document



getParentNode
public Node getParentNode()(Code)
The parent of this node. The If a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is null.



hashCode
public int hashCode()(Code)



indent
final protected static String indent(int depth)(Code)
Local utility to create an indentation string
Parameters:
  depth - the number of indents that have been done A string of depth depth * 2



insertRecord
public void insertRecord(int position, Record newRecord)(Code)
Inserts the node newChild at the given position
Parameters:
  position - The position at which to insert the new Record
Parameters:
  newRecord - The node to insert.



iterator
public Iterator<Record> iterator()(Code)
A NodeList that contains all children of this node. If there are no children, this is a NodeList containing no nodes.



joinDocument
protected void joinDocument(Node parent)(Code)
Internal setter for the parent node.
Parameters:
  parent - The new parent Node



leaveDocument
protected void leaveDocument()(Code)
Internal way to disconnect a Node from a Document



removeRecord
public void removeRecord(Record oldRecord)(Code)
Removes the child Record indicated by oldRecord from the list of children, and returns it.
Parameters:
  oldRecord - The Record being removed.



replaceRecord
public void replaceRecord(Record newRecord, Record oldRecord)(Code)
Replaces the child Record oldRecord with newRecord in the list of children, and returns the oldRecord Record. If the newRecord is already in the tree, it is first removed.
Parameters:
  newRecord - The new Record to put in the child list.
Parameters:
  oldRecord - The Record being replaced in the list.



setId
public void setId(String id)(Code)

Parameters:
  id - the id to set



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.