Class CipherReferenceBuilder

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

public class CipherReferenceBuilder extends AbstractXMLObjectBuilder<CipherReference> implements XMLEncryptionBuilder<CipherReference>
Builder of CipherReference.
  • Constructor Details

    • CipherReferenceBuilder

      public CipherReferenceBuilder()
  • Method Details

    • buildObject

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