Class EncTypeBuilder

All Implemented Interfaces:
XMLObjectBuilder<EncType>, SAMLObjectBuilder<EncType>

public class EncTypeBuilder extends AbstractSAMLObjectBuilder<EncType>
A Builder for EncType objects.
  • Constructor Details

    • EncTypeBuilder

      public EncTypeBuilder()
  • Method Details

    • buildObject

      @Nonnull public EncType buildObject()
      Builds a SAMLObject using the default name and namespace information provided SAML specifications.
      Specified by:
      buildObject in interface SAMLObjectBuilder<EncType>
      Specified by:
      buildObject in class AbstractSAMLObjectBuilder<EncType>
      Returns:
      built SAMLObject
    • buildObject

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