Class AdviceBuilder

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

public class AdviceBuilder extends AbstractSAMLObjectBuilder<Advice>
Builder for AdviceImpl objects.
  • Constructor Details

    • AdviceBuilder

      public AdviceBuilder()
  • Method Details

    • buildObject

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

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