Class FromCurrentPositionXPathQuery

java.lang.Object
eu.europa.esig.dss.xml.common.xpath.AbstractXPathQuery
eu.europa.esig.dss.xml.common.xpath.FromCurrentPositionXPathQuery
All Implemented Interfaces:
XPathQuery

public class FromCurrentPositionXPathQuery extends AbstractXPathQuery
Gets elements matching the XPath expression starting from the current element. The XPath expression path must much completely to success.
  • Constructor Details

    • FromCurrentPositionXPathQuery

      public FromCurrentPositionXPathQuery()
      Default constructor
  • Method Details

    • getXPathPreamble

      protected String getXPathPreamble()
      Description copied from class: AbstractXPathQuery
      Gets the beginning string of the XPath expression
      Specified by:
      getXPathPreamble in class AbstractXPathQuery
      Returns:
      String
    • isAll

      public boolean isAll()
      Description copied from interface: XPathQuery
      Gets whether all descendants matching the XPath expression are to be returned. If FALSE, only the children of the current element matching the XPath expression are extracted.
      Returns:
      whether all descendants matching the XPath expression are to be returned
    • isFromCurrentPosition

      public boolean isFromCurrentPosition()
      Description copied from interface: XPathQuery
      Gets whether the XPath expression execution starts from a node at the current position. if FALSE, the execution starts from the root element of the XML document.
      Returns:
      whether the XPath expression execution starts from a node at the current position