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 |
|---|---|
protected java.util.Set<java.lang.String> |
pathsFound |
protected java.io.PrintWriter |
writer |
log, theFactory| Constructor and Description |
|---|
XPathWalker(java.io.File xpathOutput) |
XPathWalker(java.io.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(java.lang.String separator) |
void |
setUnique(boolean unique) |
int |
walkAll(KElement e) |
getFactorytoString, walkTree, walkTreeKidsFirstprotected final java.io.PrintWriter writer
protected java.util.Set<java.lang.String> pathsFound
public XPathWalker(java.io.File xpathOutput)
throws java.io.FileNotFoundException
xpathOutput - java.io.FileNotFoundExceptionpublic XPathWalker(java.io.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(java.lang.String separator)
separator - the separator to setpublic void setBElement(boolean element)
element - the bElement to set