com.sas.util.transforms
Class ObjectArrayToTreeInterfaceTransform
com.sas.util.transforms.ObjectArrayToTreeInterfaceTransform
All Implemented Interfaces: com.sas.util.transforms.TransformInterface, java.io.Serializable
public class ObjectArrayToTreeInterfaceTransform implements com.sas.util.transforms.TransformInterface
See Also: Serialized Form
defaultInstance
public static final ObjectArrayToTreeInterfaceTransform defaultInstance
Default instance of ObjectArrayToTreeInterfaceTransform.
ObjectArrayToTreeInterfaceTransform
public ObjectArrayToTreeInterfaceTransform ()
transform
public java.lang.Object transform (java.lang.Object object)
Alias for transform(Object, String).
Specified by: transform in interface com.sas.util.transforms.TransformInterface
Parameters: object - the object to transformSee Also: transform(Object, String)
transform
public java.lang.Object transform (java.lang.Object object,
java.lang.String rootName)
Parameters: object - the object to transformrootName - the value for the root node's text property
Returns: the tree interface that has been transformed
createNodeInterface
protected com.sas.models.NodeInterface createNodeInterface (java.lang.Object o)
Factory method to create an object representing o which implements NodeInterface.
A NodeIcon object will be created for o with the return value of
toString set as the text. Additionally o will be set
as the objectData property of the NodeIcon object.
Parameters: o - the object to create a NodeInterface for
Returns: a NodeIcon object representing o See Also: NodeIcon,
ObjectDataInterface
Copyright © 2009 SAS Institute Inc. All Rights Reserved.