| java.lang.Object net.xoetrope.optional.data.XModelNodeHelper
XModelNodeHelper | public class XModelNodeHelper (Code) | | A helper to eliminate some typecasting with the XModel
Copyright (c) Xoetrope Ltd., 2002-2004
$Revision: 1.2 $
License: see License.txt
|
XModelNodeHelper | public XModelNodeHelper(XModel node)(Code) | | Construct a new helper node
Parameters: node - the model node on which to operate |
get | public XModel get()(Code) | | Do a get on the model and return its value as a model node
the model node |
get | public XModel get(String path)(Code) | | Get the model value for the specificed path and return its value as a model node
Parameters: path - the path to the child node the model node |
get | public static XModel get(XModel modelNode)(Code) | | Do a get on the model and return its value as a model node
the model node |
get | public static XModel get(XModel baseNode, String path)(Code) | | Get the model value for the specificed path and return its value as a model node
Parameters: baseNode - the base node from which to look for the specified path Parameters: path - the path to the child node the model node |
getString | public static String getString(XModel baseNode, String path)(Code) | | Get the model value for the specificed path and return its value as a model node
Parameters: baseNode - the base node from which to look for the specified path Parameters: path - the path to the child node the model node |
set | public void set(Object value)(Code) | | Set the model value for this node
Parameters: value - the new value |
set | public void set(String path, Object value)(Code) | | Set the model value for the specificed path
Parameters: path - the path to the child node Parameters: value - the new value |
set | public static void set(XModel baseNode, String path, Object value)(Code) | | Set the model value for the specificed child of the base node
Parameters: baseNode - the node whose child is being modified Parameters: path - the path to the child node Parameters: value - the new value |
|
|