package at.gv.egovernment.moa.spss.api.common; import java.util.Map; /** * A class containing data for selecting single elements using an XPath * expression. * * Derived classes are used to point to the CreateSignatureLocation * and the VerifySignatureLocation. * * @author Patrick Peck * @version $Id$ */ public interface ElementSelector { /** * Gets the XPath expression pointing to a single element. * * @return The XPath expression to select the signature parent element. */ public String getXPathExpression(); /** * Gets the namespace prefix to URI mapping to use when evaluating the XPath. * * @return The namespace prefix to URI mapping. */ public Map getNamespaceDeclarations(); }