Class EncryptedDataBuilder

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

public class EncryptedDataBuilder extends AbstractXMLObjectBuilder<EncryptedData> implements XMLEncryptionBuilder<EncryptedData>
Builder of EncryptedData.
  • Constructor Details

    • EncryptedDataBuilder

      public EncryptedDataBuilder()
  • Method Details

    • buildObject

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

      @Nonnull public EncryptedData 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<EncryptedData>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<EncryptedData>
      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