com.smallx.xml.infoset.util
Class XPath

java.lang.Object
  extended bycom.smallx.xml.infoset.util.XPath

public class XPath
extends java.lang.Object


Method Summary
static java.lang.String toXPath(Item context)
          Returns an xpath to the context node.
static java.lang.String toXPath(Item context, boolean includeBase)
          Returns an xpath to the context node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toXPath

public static java.lang.String toXPath(Item context,
                                       boolean includeBase)
Returns an xpath to the context node.

Parameters:
context - THe context node to get an xpath for.
includeBase - A true value indicates that the base URI should be used to qualify this node.

toXPath

public static java.lang.String toXPath(Item context)
Returns an xpath to the context node.

Parameters:
context - The context node to get an xpath for.