Class DefaultContentSelector
java.lang.Object
org.apache.batik.bridge.svg12.AbstractContentSelector
org.apache.batik.bridge.svg12.DefaultContentSelector
A class to handle content selection when the includes attribute is not
present.
- Version:
- $Id$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classImplementation of NodeList that contains the nodes that matched this selector.Nested classes/interfaces inherited from class AbstractContentSelector
AbstractContentSelector.ContentSelectorFactory, AbstractContentSelector.XPathPatternContentSelectorFactory, AbstractContentSelector.XPathSubsetContentSelectorFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DefaultContentSelector.SelectedNodesThe selected nodes.Fields inherited from class AbstractContentSelector
boundElement, contentElement, contentManager, selectorFactories -
Constructor Summary
ConstructorsConstructorDescriptionDefaultContentSelector(ContentManager cm, XBLOMContentElement content, Element bound) Creates a new XPathSubsetContentSelector object. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of nodes that were matched by the given selector string.(package private) booleanupdate()Forces this selector to update its selected nodes list.Methods inherited from class AbstractContentSelector
createSelector, isSelected
-
Field Details
-
selectedContent
The selected nodes.
-
-
Constructor Details
-
DefaultContentSelector
Creates a new XPathSubsetContentSelector object.
-
-
Method Details
-
getSelectedContent
Returns a list of nodes that were matched by the given selector string.- Specified by:
getSelectedContentin classAbstractContentSelector
-
update
boolean update()Forces this selector to update its selected nodes list. Returns true if the selected node list needed updating. This assumes that the previous content elements in this shadow tree (in document order) have up-to-date selectedContent lists.- Specified by:
updatein classAbstractContentSelector
-