|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.svg12.AbstractContentSelector
org.apache.batik.bridge.svg12.XPathSubsetContentSelector
public class XPathSubsetContentSelector
A class to handle the XPath subset syntax for XBL content elements.
Nested Class Summary | |
---|---|
protected static class |
XPathSubsetContentSelector.Scanner
A scanner for XPath subset selectors. |
protected class |
XPathSubsetContentSelector.SelectedNodes
Implementation of NodeList that contains the nodes that matched this selector. |
Nested classes/interfaces inherited from class org.apache.batik.bridge.svg12.AbstractContentSelector |
---|
AbstractContentSelector.ContentSelectorFactory, AbstractContentSelector.XPathPatternContentSelectorFactory, AbstractContentSelector.XPathSubsetContentSelectorFactory |
Field Summary | |
---|---|
protected int |
index
The index for selection. |
protected java.lang.String |
localName
The local name or ID used for selection. |
protected java.lang.String |
prefix
The QName prefix used for selection. |
protected XPathSubsetContentSelector.SelectedNodes |
selectedContent
The selected nodes. |
protected static int |
SELECTOR_ANY
|
protected static int |
SELECTOR_ID
|
protected static int |
SELECTOR_INVALID
|
protected static int |
SELECTOR_QNAME
|
protected int |
selectorType
The type of XPath subset expression. |
Fields inherited from class org.apache.batik.bridge.svg12.AbstractContentSelector |
---|
boundElement, contentElement, contentManager, selectorFactories |
Constructor Summary | |
---|---|
XPathSubsetContentSelector(ContentManager cm,
XBLOMContentElement content,
org.w3c.dom.Element bound,
java.lang.String selector)
Creates a new XPathSubsetContentSelector object. |
Method Summary | |
---|---|
org.w3c.dom.NodeList |
getSelectedContent()
Returns a list of nodes that were matched by the given selector string. |
protected void |
parseSelector(java.lang.String selector)
Parses the selector string. |
Methods inherited from class org.apache.batik.bridge.svg12.AbstractContentSelector |
---|
createSelector, isSelected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int SELECTOR_INVALID
protected static final int SELECTOR_ANY
protected static final int SELECTOR_QNAME
protected static final int SELECTOR_ID
protected int selectorType
protected java.lang.String prefix
protected java.lang.String localName
protected int index
protected XPathSubsetContentSelector.SelectedNodes selectedContent
Constructor Detail |
---|
public XPathSubsetContentSelector(ContentManager cm, XBLOMContentElement content, org.w3c.dom.Element bound, java.lang.String selector)
Method Detail |
---|
protected void parseSelector(java.lang.String selector)
public org.w3c.dom.NodeList getSelectedContent()
getSelectedContent
in class AbstractContentSelector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |