public class XPathPatternContentSelector extends AbstractContentSelector
Modifier and Type | Class and 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 and Description |
---|---|
protected java.lang.String |
expression
The expression string.
|
protected XPathPatternContentSelector.NSPrefixResolver |
prefixResolver
The Xalan prefix resolver.
|
protected XPathPatternContentSelector.SelectedNodes |
selectedContent
The selected nodes.
|
protected javax.xml.xpath.XPathExpression |
xpath
The XPath expression.
|
boundElement, contentElement, contentManager, selectorFactories
Constructor and Description |
---|
XPathPatternContentSelector(ContentManager cm,
XBLOMContentElement content,
Element bound,
java.lang.String selector)
Creates a new XPathPatternContentSelector.
|
Modifier and Type | Method and Description |
---|---|
NodeList |
getSelectedContent()
Returns a list of nodes that were matched by the given selector
string.
|
protected void |
parse()
Parses the XPath selector.
|
createSelector, isSelected
protected XPathPatternContentSelector.NSPrefixResolver prefixResolver
protected javax.xml.xpath.XPathExpression xpath
protected XPathPatternContentSelector.SelectedNodes selectedContent
protected java.lang.String expression
public XPathPatternContentSelector(ContentManager cm, XBLOMContentElement content, Element bound, java.lang.String selector)
protected void parse()
public NodeList getSelectedContent()
getSelectedContent
in class AbstractContentSelector
Copyright © 2022 Apache Software Foundation. All Rights Reserved.