org.eclipse.datatools.enablement.oda.xml.util.ui
Class XPathPopulationUtil

java.lang.Object
  extended by org.eclipse.datatools.enablement.oda.xml.util.ui.XPathPopulationUtil

public final class XPathPopulationUtil
extends java.lang.Object

This class is a Utility class which is used to help UI to populate the list of possible XPath Expressions.


Constructor Summary
XPathPopulationUtil()
           
 
Method Summary
static java.util.List getPathList(java.lang.String absolutePath)
          This method is used to populate the possible root path expressions List
static java.lang.String populateColumnPath(java.lang.String rootPath, java.lang.String columnPath)
          This method is used to populate the possible column path expressions List
static java.util.List populateRootPath(java.lang.String absolutePath)
          This method is used to populate the possible root path expressions List
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathPopulationUtil

public XPathPopulationUtil()
Method Detail

populateRootPath

public static java.util.List populateRootPath(java.lang.String absolutePath)
This method is used to populate the possible root path expressions List

Parameters:
absolutePath - must be the absolute path of root path
Returns:

getPathList

public static java.util.List getPathList(java.lang.String absolutePath)
This method is used to populate the possible root path expressions List

Parameters:
absolutePath - must be the absolute path of root path
Returns:
List

populateColumnPath

public static java.lang.String populateColumnPath(java.lang.String rootPath,
                                                  java.lang.String columnPath)
This method is used to populate the possible column path expressions List

Parameters:
rootPath - the root path of the table the column in, must be absolute path.
columnPath - the absolute column path.
Returns: