Interface IDfXPathConditionEx

All Superinterfaces:
IDfTransitionCondition, IDfXPathCondition

public interface IDfXPathConditionEx extends IDfXPathCondition
This interface adds namespace state to the definition of an XPath condition.
  • Method Details

    • setXPathNamespace

      void setXPathNamespace(String prefix, String uri) throws DfException
      Defines a namespace referenced within the XPath expression.
      Parameters:
      prefix - the prefix used within the expression
      uri - the namespace to which the prefix refers
      Throws:
      DfException - if a server error occurs
    • removeXPathNamespace

      void removeXPathNamespace(String prefix) throws DfException
      Removes a namespace definition.
      Parameters:
      prefix - the prefix of the namespace to be removed
      Throws:
      DfException - if a server error occurs
    • getXPathNamespace

      String getXPathNamespace(String prefix) throws DfException
      The namespace URI to which the given prefix refers within the XPath expression.
      Parameters:
      prefix - the prefix used within the expression
      Returns:
      the namespace to which the given prefix refers
      Throws:
      DfException - if a server error occurs
    • getXPathNamespaces

      IDfProperties getXPathNamespaces() throws DfException
      A map of all the namespace prefixes and URIs defined for the XPath expression.
      Returns:
      a map of all the namespace prefixes and URIs defined for the XPath expression
      Throws:
      DfException - if a server error occurs
    • setDefaultXPathNamespace

      void setDefaultXPathNamespace(String uri) throws DfException
      Defines the default (ie. no prefix) namespace URI for the XPath expression.
      Parameters:
      uri - the default namespace URI for the XPath expression
      Throws:
      DfException - if a server error occurs
    • getDefaultXPathNamespace

      String getDefaultXPathNamespace() throws DfException
      The default (ie. no prefix) namespace URI for the XPath expression.
      Returns:
      the default namespace URI for the XPath expression.
      Throws:
      DfException - if a server error occurs