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

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

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

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


Field Summary
static int FROMROOT
          Provides an XPath from the root of the document to the node provided, XPath expression will begin with '/'
static int RELATIVE
          Provides an XPath which is relative
 
Constructor Summary
XPathSerializer()
           
XPathSerializer(int pathType)
           
 
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
 

Field Detail

FROMROOT

public static final int FROMROOT
Provides an XPath from the root of the document to the node provided, XPath expression will begin with '/'

See Also:
Constant Field Values

RELATIVE

public static final int RELATIVE
Provides an XPath which is relative

See Also:
Constant Field Values
Constructor Detail

XPathSerializer

public XPathSerializer(int pathType)

XPathSerializer

public XPathSerializer()
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