public class XPathPatternContentSelector extends AbstractContentSelector
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
XPathPatternContentSelector.NSPrefixResolver |
Xalan prefix resolver.
|
protected class |
XPathPatternContentSelector.SelectedNodes |
Implementation of NodeList that contains the nodes that matched
this selector.
|
AbstractContentSelector.ContentSelectorFactory, AbstractContentSelector.XPathPatternContentSelectorFactory, AbstractContentSelector.XPathSubsetContentSelectorFactory| Modifier and Type | Field | Description |
|---|---|---|
protected org.apache.xpath.XPathContext |
context |
The XPath context.
|
protected java.lang.String |
expression |
The expression string.
|
protected XPathPatternContentSelector.NSPrefixResolver |
prefixResolver |
The Xalan prefix resolver.
|
protected XPathPatternContentSelector.SelectedNodes |
selectedContent |
The selected nodes.
|
protected org.apache.xpath.XPath |
xpath |
The XPath expression.
|
boundElement, contentElement, contentManager, selectorFactories| Constructor | Description |
|---|---|
XPathPatternContentSelector(ContentManager cm,
XBLOMContentElement content,
org.w3c.dom.Element bound,
java.lang.String selector) |
Creates a new XPathPatternContentSelector.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.NodeList |
getSelectedContent() |
Returns a list of nodes that were matched by the given selector
string.
|
protected void |
parse() |
Parses the XPath selector.
|
createSelector, isSelectedprotected XPathPatternContentSelector.NSPrefixResolver prefixResolver
protected org.apache.xpath.XPath xpath
protected org.apache.xpath.XPathContext context
protected XPathPatternContentSelector.SelectedNodes selectedContent
protected java.lang.String expression
public XPathPatternContentSelector(ContentManager cm, XBLOMContentElement content, org.w3c.dom.Element bound, java.lang.String selector)
protected void parse()
public org.w3c.dom.NodeList getSelectedContent()
getSelectedContent in class AbstractContentSelectorCopyright ? 2018 Apache Software Foundation. All Rights Reserved.