public class XPathWalker extends BaseElementWalker
| Modifier and Type | Class and Description |
|---|---|
class |
XPathWalker.WalkAll
the link and ref walker
|
protected class |
XPathWalker.XPathBuilder |
| Modifier and Type | Field and Description |
|---|---|
VString |
attNames
the attribute names to set as [@att] rather than [n] if method=3
|
int |
method
the method to create xpaths
|
protected Set<String> |
pathsFound |
protected PrintWriter |
writer |
logtheFactory| Constructor and Description |
|---|
XPathWalker(File xpathOutput) |
XPathWalker(PrintWriter w) |
| Modifier and Type | Method and Description |
|---|---|
protected BaseWalkerFactory |
getFactory() |
void |
setAttribute(boolean attribute)
if true, include attributes
|
void |
setAttributeValue(boolean attribute)
if true, include attribute values
|
void |
setBElement(boolean element) |
void |
setDatatype(boolean datatype) |
void |
setMethod(int method) |
void |
setSeparator(String separator) |
void |
setUnique(boolean unique) |
int |
walkAll(KElement e) |
constructWalkerstoString, walkTree, walkTreeKidsFirstpublic VString attNames
public int method
protected final PrintWriter writer
public XPathWalker(File xpathOutput) throws FileNotFoundException
xpathOutput - FileNotFoundExceptionpublic XPathWalker(PrintWriter w)
w - public int walkAll(KElement e)
e - public void setAttribute(boolean attribute)
attribute - public void setAttributeValue(boolean attribute)
attribute - protected BaseWalkerFactory getFactory()
getFactory in class BaseElementWalkerpublic void setMethod(int method)
method - the method to setpublic void setUnique(boolean unique)
unique - the method to setpublic void setDatatype(boolean datatype)
datatype - the bDatatype to setpublic void setSeparator(String separator)
separator - the separator to setpublic void setBElement(boolean element)
element - the bElement to setCopyright © 2013. All Rights Reserved.