| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vivoweb.harvester.util.XPathTool
public class XPathTool
Export xpath selection from xml file
| Field Summary | |
|---|---|
| protected static org.slf4j.Logger | logSLF4J Logger | 
| Constructor Summary | |
|---|---|
| XPathTool(ArgList argList)Constructor | |
| XPathTool(java.lang.String[] args)Constructor | |
| XPathTool(java.lang.String xmlFile,
          java.lang.String expression)Constructor | |
| Method Summary | |
|---|---|
|  void | execute()Runs the xpath | 
| static java.lang.String | getXPathResult(java.lang.String xmlFile,
               java.lang.String expression)Export xpath selection from xml file | 
| static void | main(java.lang.String... args)Main method | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static org.slf4j.Logger log
| Constructor Detail | 
|---|
public XPathTool(java.lang.String xmlFile,
                 java.lang.String expression)
xmlFile - path to xml file to read data fromexpression - xpath expression to export
public XPathTool(java.lang.String[] args)
          throws java.io.IOException
args - commandline arguments
java.io.IOException - error creating taskpublic XPathTool(ArgList argList)
argList - arguments| Method Detail | 
|---|
public static java.lang.String getXPathResult(java.lang.String xmlFile,
                                              java.lang.String expression)
                                       throws java.io.IOException
xmlFile - path to xml file to read data fromexpression - xpath expression to export
java.io.IOException - error reading xml file
public void execute()
             throws java.io.IOException
java.io.IOException - error executingpublic static void main(java.lang.String... args)
args - commandline arguments| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||