Class MGFBuilder

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

public class MGFBuilder
extends AbstractXMLObjectBuilder<MGF>
implements XMLEncryptionBuilder<MGF>
Builder of MGF.
  • Constructor Details

    • MGFBuilder

      public MGFBuilder()
      Constructor.
  • Method Details

    • buildObject

      public MGF buildObject​(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<MGF>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<MGF>
      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 MGF buildObject()
      Builds an XMLObject using the default name and namespace information provided XML Encryption specifications.
      Specified by:
      buildObject in interface XMLEncryptionBuilder<MGF>
      Returns:
      built XMLObject