Class NameIDBuilder

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

public class NameIDBuilder extends AbstractSAMLObjectBuilder<NameID>
Builder for NameIDImpl objects.
  • Constructor Details

    • NameIDBuilder

      public NameIDBuilder()
  • Method Details

    • buildObject

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

      public NameID buildObject(String namespaceURI, String localName, String namespacePrefix)
      Creates an XMLObject with a given fully qualified name.
      Specified by:
      buildObject in interface XMLObjectBuilder<NameID>
      Specified by:
      buildObject in class AbstractXMLObjectBuilder<NameID>
      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
      the constructed XMLObject