Class XPathBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<XPath>
org.opensaml.xmlsec.signature.impl.XPathBuilder
All Implemented Interfaces:
XMLObjectBuilder<XPath>, XMLSignatureBuilder<XPath>

public class XPathBuilder extends AbstractXMLObjectBuilder<XPath> implements XMLSignatureBuilder<XPath>
Builder of XPath.
  • Constructor Details

    • XPathBuilder

      public XPathBuilder()
      Constructor.
  • Method Details

    • buildObject

      public XPath buildObject(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<XPath>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<XPath>
      Parameters:
      namespaceURI - the URI of the namespace the Element represented by this XMLObject will be in
      localName - the local name of the Element represented by this XMLObject
      namespacePrefix - the namespace prefix of the Element represented by this XMLObject
      Returns:
      the constructed XMLObject
    • buildObject

      public XPath buildObject()
      Builds an XMLObject using the default name and namespace information provided by the XML Signature specifications.
      Specified by:
      buildObject in interface XMLSignatureBuilder<XPath>
      Returns:
      built XMLObject