Class XPathQueryAnyItem

java.lang.Object
eu.europa.esig.dss.xml.common.xpath.item.AbstractXPathQueryItem
eu.europa.esig.dss.xml.common.xpath.item.XPathQueryAnyItem
All Implemented Interfaces:
XPathQueryItem

public class XPathQueryAnyItem extends AbstractXPathQueryItem
XPath expression chain item corresponding to an any element within the path
  • Constructor Details

    • XPathQueryAnyItem

      public XPathQueryAnyItem()
      Default constructor
  • Method Details

    • process

      protected boolean process(Node node)
      Description copied from class: AbstractXPathQueryItem
      This method executes the XPath query item requirement, and returns whether the node satisfies the rule
      Specified by:
      process in class AbstractXPathQueryItem
      Parameters:
      node - Node to verify
      Returns:
      TRUE if the condition matches, FALSE otherwise
    • isElementRelated

      public boolean isElementRelated()
      Description copied from interface: XPathQueryItem
      Gets whether XPath query item is related to an Element node processing
      Returns:
      TRUE if XPath query item is related to an Element node processing, FALSE otherwise
    • isAttributeRelated

      public boolean isAttributeRelated()
      Description copied from interface: XPathQueryItem
      Gets whether XPath query item is related to an Attribute node processing
      Returns:
      TRUE if XPath query item is related to an Attribute node processing, FALSE otherwise
    • getQueryString

      public String getQueryString()
      Description copied from interface: XPathQueryItem
      Gets a string representation of the XPath expression chain item
      Returns:
      String