public final class XPathParser extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
XPathParser.Attribute
return the attribute value of the current nodes that have the given attribute name
|
(package private) class |
XPathParser.Cache
A growable buffer for storing events as byte sequences
|
(package private) class |
XPathParser.Child
return the children of the current nodes that have the given tagname
|
(package private) class |
XPathParser.Descendant
As efficient as SimpleDescendant when there are no nested elements with the same tagname.
|
(package private) class |
XPathParser.Equals
generate a releasePredicate signal if the content of the input node is equal to text
|
(package private) class |
XPathParser.Materialize
Remove the start/end/releasePredicate events by storing some events in a buffer, when necessary
|
(package private) class |
XPathParser.MRDataHandler
Converts the SAX data stream to MRData
|
(package private) class |
XPathParser.Predicate
propagates all input signals to both next and condition streams but wraps each
top-level element in the next stream with start/end Condition signals
|
(package private) class |
XPathParser.Print
The end of the pipeline: Print the SAX stream to the output
|
(package private) class |
XPathParser.SimpleDescendant
Return the descendants of the current nodes that have the given tagname.
|
(package private) class |
XPathParser.XPathHandler
a SAX handler to form XPath pipelines
|
Modifier and Type | Field and Description |
---|---|
(package private) static int |
cached_events |
XPathParser.MRDataHandler |
dataConstructor |
XPathParser.XPathHandler |
handler |
(package private) static PrintStream |
out |
Constructor and Description |
---|
XPathParser(Tree xpath) |
public XPathParser.MRDataHandler dataConstructor
public XPathParser.XPathHandler handler
static final PrintStream out
static int cached_events
public XPathParser.XPathHandler compile_xpath(Tree xpath, XPathParser.XPathHandler next, int cn) throws Exception
Exception
Copyright © 2013 The Apache Software Foundation. All rights reserved.