|
||||||||||
| 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 String |
localName
The local name or ID used for selection. |
protected 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,
Element bound,
String selector)
Creates a new XPathSubsetContentSelector object. |
|
| Method Summary | |
|---|---|
NodeList |
getSelectedContent()
Returns a list of nodes that were matched by the given selector string. |
protected void |
parseSelector(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 String prefix
protected String localName
protected int index
protected XPathSubsetContentSelector.SelectedNodes selectedContent
| Constructor Detail |
|---|
public XPathSubsetContentSelector(ContentManager cm,
XBLOMContentElement content,
Element bound,
String selector)
| Method Detail |
|---|
protected void parseSelector(String selector)
public NodeList getSelectedContent()
getSelectedContent in class AbstractContentSelector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||