Class HeaderBuilder

java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<Header>
org.opensaml.soap.soap11.impl.HeaderBuilder
All Implemented Interfaces:
XMLObjectBuilder<Header>, SOAPObjectBuilder<Header>

public class HeaderBuilder extends AbstractXMLObjectBuilder<Header> implements SOAPObjectBuilder<Header>
Builder of HeaderImpl objects.
  • Constructor Details

    • HeaderBuilder

      public HeaderBuilder()
  • Method Details

    • buildObject

      public Header buildObject()
      Creates an envelope object with the default SOAP 1.1 namespace, prefix and "Header" as the element local name.
      Specified by:
      buildObject in interface SOAPObjectBuilder<Header>
      Returns:
      the build Envelope object
    • buildObject

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