com.ibm.designer.domino.xsp.api.published
Class ELPathSerializer

java.lang.Object
  extended by com.ibm.designer.domino.xsp.api.published.ELPathSerializer
All Implemented Interfaces:
CTreeCombo.IPathSerializer

public class ELPathSerializer
extends java.lang.Object
implements CTreeCombo.IPathSerializer

A serializer object that will save the el expression that describes a node in a schema.


Constructor Summary
ELPathSerializer(java.lang.String var)
          Creates a new instance of this object with the given var name.
ELPathSerializer(java.lang.String var, boolean viewDS)
          Creates a new instance of this object with the given var name, and flag to determine if the data source is a 'view data source'.
 
Method Summary
 java.lang.String getValue(java.lang.Object object)
          Given a node within the tree this method returns a 'path' that can later be used to travese to the selected tree location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELPathSerializer

public ELPathSerializer(java.lang.String var)
Creates a new instance of this object with the given var name.

Parameters:
var - the var name of the data source that this serializer is dealing with

ELPathSerializer

public ELPathSerializer(java.lang.String var,
                        boolean viewDS)
Creates a new instance of this object with the given var name, and flag to determine if the data source is a 'view data source'.

Parameters:
var - the var name of the data source that this serializer is dealing with
viewDS - true if the data source described by 'var' is a data source which is compatible with the viewPanel control
Method Detail

getValue

public java.lang.String getValue(java.lang.Object object)
Description copied from interface: CTreeCombo.IPathSerializer
Given a node within the tree this method returns a 'path' that can later be used to travese to the selected tree location.

Specified by:
getValue in interface CTreeCombo.IPathSerializer
Parameters:
object - an object from the tree control
Returns:
Returns a tree path to the given object