Class AgreementMethodBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<AgreementMethod>
org.opensaml.xmlsec.encryption.impl.AgreementMethodBuilder
All Implemented Interfaces:
XMLObjectBuilder<AgreementMethod>, XMLEncryptionBuilder<AgreementMethod>

public class AgreementMethodBuilder extends AbstractXMLObjectBuilder<AgreementMethod> implements XMLEncryptionBuilder<AgreementMethod>
Builder of AgreementMethod.
  • Constructor Details

    • AgreementMethodBuilder

      public AgreementMethodBuilder()
  • Method Details

    • buildObject

      @Nonnull public AgreementMethod 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<AgreementMethod>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<AgreementMethod>
      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 AgreementMethod buildObject()
      Builds an XMLObject using the default name and namespace information provided XML Encryption specifications.
      Specified by:
      buildObject in interface XMLEncryptionBuilder<AgreementMethod>
      Returns:
      built XMLObject