Class SignatureBuilder

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

public class SignatureBuilder extends AbstractXMLObjectBuilder<Signature> implements XMLSignatureBuilder<Signature>
Builder of Signature.
  • Constructor Details

    • SignatureBuilder

      public SignatureBuilder()
  • Method Details

    • buildObject

      @Nonnull public Signature buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<Signature>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<Signature>
      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

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