Apache JMeter
2.1.1

org.apache.jmeter.functions
Class XPathWrapper

java.lang.Object
  extended byorg.apache.jmeter.functions.XPathWrapper

public class XPathWrapper
extends Object

This class wraps the XPathFileContainer for use across multiple threads. It does this by maintaining a list of open files, keyed by file name (or alias, if used). A list of open files is also maintained for each thread, together with the current line number.

Version:
$Revision: 1.4 $ $Date: 2005/07/12 20:50:39 $

Method Summary
static void clearAll()
           
static void endRow(String file)
           
static int getCurrentRow(String file)
          Gets the current row number (mainly for error reporting)
static String getXPathString(String file, String xpathString)
           
static void open(String file, String xpathString, String alias)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

open

public static void open(String file,
                        String xpathString,
                        String alias)

endRow

public static void endRow(String file)

getXPathString

public static String getXPathString(String file,
                                    String xpathString)

getCurrentRow

public static int getCurrentRow(String file)
Gets the current row number (mainly for error reporting)

Parameters:
file -
Returns:
the current row number for this thread

clearAll

public static void clearAll()

Apache JMeter
2.1.1

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.