Interface XPathQueryItem
- All Known Subinterfaces:
XPathQueryParameter
- All Known Implementing Classes:
AbstractXPathQueryItem, AbstractXPathQueryParameter, XPathQueryAnyItem, XPathQueryAttributeItem, XPathQueryAttributeParameter, XPathQueryElementItem, XPathQueryEndItem, XPathQueryIdentifierParameter, XPathQueryNotChildOfParameter
public interface XPathQueryItem
Represents a single XPath expression item.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(XPathQueryParameter parameter) Adds a parameter to the given XPath query itemGets parameters related to the given XPathQueryItem, if anyGets a string representation of the XPath expression chain itembooleanGets whether XPath query item is related to an Attribute node processingbooleanGets whether XPath query item is related to an Element node processingbooleanisEmpty()Gets whether the XPath query item is emptybooleanThis method verifies whether the givennodematches the XPathQueryItemnextItem()Gets the next XPath chain item, if anysetNextItem(XPathQueryItem nextItem) Sets the nexteu.europa.esig.dss.xml.common.definition.xpath.item.XPathChainItemas part of the XPath expression
-
Method Details
-
nextItem
XPathQueryItem nextItem()Gets the next XPath chain item, if any- Returns:
XPathQueryItemif next chain item is present, FALSE otherwise
-
setNextItem
Sets the nexteu.europa.esig.dss.xml.common.definition.xpath.item.XPathChainItemas part of the XPath expression- Parameters:
nextItem-XPathQueryItemto set- Returns:
XPathQueryItemthat has been set
-
matchNode
-
addParameter
Adds a parameter to the given XPath query item- Parameters:
parameter-XPathQueryParameter
-
getParameters
List<XPathQueryParameter> getParameters()Gets parameters related to the given XPathQueryItem, if any- Returns:
- a list of
XPathQueryParameters
-
isElementRelated
boolean isElementRelated()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
boolean isAttributeRelated()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
-
isEmpty
boolean isEmpty()Gets whether the XPath query item is empty- Returns:
- TRUE if the XPath query item is empty, FALSE otherwise
-
getQueryString
-