Class SaltBuilder

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

public class SaltBuilder extends AbstractXMLObjectBuilder<Salt> implements XMLEncryptionBuilder<Salt>
Builder of EncryptionMethod.
  • Constructor Details

    • SaltBuilder

      public SaltBuilder()
      Constructor.
  • Method Details

    • buildObject

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