JsonNode
base class in mapper
package. Note that in Jackson 1.x JsonNode
itself was part of core package: Jackson 2.x refactored this since conceptually Tree Model is part of mapper package, and so part visible to core
package should be minimized.
NOTE: starting with Jackson 2.2, there is more functionality available via this class, and the intent is that this should form actual base for multiple alternative tree representations; for example, immutable trees could use different implementation than mutable trees. It should also be possible to move actual Tree Model implementation out of databind package eventually (Jackson 3?). @since 2.2
When a Tree is supplied as {@link com.smartgwt.client.widgets.tree.TreeGrid#getData data} to{@link com.smartgwt.client.widgets.tree.TreeGrid}, you can also set properties from {@link com.smartgwt.client.widgets.grid.ListGridRecord} on the TreeNode (e.g. setting {@link com.smartgwt.client.widgets.grid.ListGridRecord#getEnabled enabled}:false
on the node).
TreeNode
TODO DOCUMENT ME
@version $Id: TreeNode.java,v 1.25 2010/02/12 13:49:50 PhilippBouillon Exp $
Component
in the Composite Design Pattern.
@author Christoph Becker
@see Node
@see Leaf
Component
in the Composite Design Pattern.
@author Christoph Becker
@see Node
@see Leaf
org.w3c.dom
need not be visible to the remainder of Jasper. WARNING - Construction of a new tree, or modifications to an existing one, are not thread-safe and such accesses must be synchronized. @author Craig R. McClanahan @version $Revision: 1.2 $ $Date: 2001/02/16 22:17:08 $
org.w3c.dom
need not be visible to the remainder of Jasper. WARNING - Construction of a new tree, or modifications to an existing one, are not thread-safe and such accesses must be synchronized. @author Craig R. McClanahan @version $Revision: 515 $ $Date: 2008-03-17 17:02:23 -0400 (Mon, 17 Mar 2008) $
org.w3c.dom
need not be visible to the remainder of Jasper. WARNING - Construction of a new tree, or modifications to an existing one, are not thread-safe and such accesses must be synchronized. @author Craig R. McClanahan @version $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Die, 24 Okt 2006) $
<-- statically --> <s:tree id="..." label="..."> <s:treenode id="..." label="..." /> <s:treenode id="..." label="..."> <s:treenode id="..." label="..." /> <s:treenode id="..." label="..." /> &;lt;/s:treenode> <s:treenode id="..." label="..." /> </s:tree> <-- dynamically --> <s:tree id="..." rootNode="..." nodeIdProperty="..." nodeTitleProperty="..." childCollectionProperty="..." />@s.tag name="treenode" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TreeNodeTag"description="Render a tree node within a tree widget."
<-- Creating tree statically using hard-coded data. --> <s:tree id="..." label="..."> <s:treenode id="..." label="..." /> <s:treenode id="..." label="..."> <s:treenode id="..." label="..." /> <s:treenode id="..." label="..." /> </s:treenode> <s:treenode id="..." label="..." /> </s:tree> <-- Creating tree dynamically using data from backing action. --> <s:tree id="..." rootNode="..." nodeIdProperty="..." nodeTitleProperty="..." childCollectionProperty="..." />
org.w3c.dom
need not be visible to the remainder of Jasper. WARNING - Construction of a new tree, or modifications to an existing one, are not thread-safe and such accesses must be synchronized.
@author Craig R. McClanahan
@version $Revision: 466606 $ $Date: 2006-10-21 17:07:12 -0600 (Sat, 21 Oct 2006) $
The current version supports different levels of transaction locking such as simple locking ( {@link org.jboss.cache.lock.IsolationLevel#SERIALIZABLE}, or Read/Write lock with upgrade ( {@link org.jboss.cache.lock.IsolationLevel#REPEATABLE_READ}) --that is the read lock will be automatically upgraded to write lock when the same owner intends to modify the data after read.
Implementations may not necessarily be not synchronized, so access to instances of TreeNode need to be run under an isolation level above NONE. @author Bela Ban March 25 2003 @author Ben Wang @author Manik Surtani (manik@jboss.org) @version $Revision: 2058 $
Revisions:
14 decembre 2002 Sacha Labourey:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|