Class XPathPatternContentSelector

java.lang.Object
org.apache.batik.bridge.svg12.AbstractContentSelector
org.apache.batik.bridge.svg12.XPathPatternContentSelector

public class XPathPatternContentSelector extends AbstractContentSelector
A class to handle the XPath Pattern syntax for XBL content elements.
Version:
$Id: XPathPatternContentSelector.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

  • Constructor Details

  • Method Details

    • parse

      protected void parse()
      Parses the XPath selector.
    • getSelectedContent

      public NodeList getSelectedContent()
      Returns a list of nodes that were matched by the given selector string.
      Specified by:
      getSelectedContent in class AbstractContentSelector
    • 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:
      update in class AbstractContentSelector