org.apache.jmeter.functions

Class XPathFileContainer


public class XPathFileContainer
extends Object

File data container for XML files Data is accessible via XPath

Constructor Summary

XPathFileContainer(String file, String xpath)

Method Summary

String
getFileName()
String
getXPathString(int num)
int
nextRow()
Returns the next row to the caller, and updates it, allowing for wrap round
int
size()

Constructor Details

XPathFileContainer

public XPathFileContainer(String file,
                          String xpath)
            throws FileNotFoundException,
                   IOException,
                   ParserConfigurationException,
                   SAXException,
                   TransformerException

Method Details

getFileName

public String getFileName()
Returns:
the file name for this class

getXPathString

public String getXPathString(int num)

nextRow

public int nextRow()
Returns the next row to the caller, and updates it, allowing for wrap round
Returns:
the first free (unread) row

size

public int size()

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