public class XPathWalker extends BaseElementWalker
Modifier and Type | Class and Description |
---|---|
class |
XPathWalker.WalkAll
the link and ref walker
|
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 |
log
theFactory
Constructor and Description |
---|
XPathWalker(File xpathOutput) |
XPathWalker(PrintWriter w) |
Modifier and Type | Method and Description |
---|---|
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) |
getFactory
toString, walkTree, walkTreeKidsFirst
public VString attNames
public int method
protected final PrintWriter writer
public XPathWalker(File xpathOutput) throws FileNotFoundException
xpathOutput
- FileNotFoundException
public XPathWalker(PrintWriter w)
w
- public int walkAll(KElement e)
e
- public void setAttribute(boolean attribute)
attribute
- public void setAttributeValue(boolean attribute)
attribute
- public 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 © 2018. All rights reserved.