org.opensaml.ws.soap.soap11.impl
Class HeaderBuilder

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

public class HeaderBuilder
extends AbstractXMLObjectBuilder<Header>
implements SOAPObjectBuilder<Header>

Builder of HeaderImpl objects.


Constructor Summary
HeaderBuilder()
           
 
Method Summary
 Header buildObject()
          Creates an envelope object with the default SOAP 1.1 namespace, prefix and "Header" as the element local name.
 Header buildObject(java.lang.String namespaceURI, java.lang.String localName, java.lang.String namespacePrefix)
          Creates an XMLObject with a given fully qualified name.
 
Methods inherited from class org.opensaml.xml.AbstractXMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
 

Constructor Detail

HeaderBuilder

public HeaderBuilder()
Method Detail

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(java.lang.String namespaceURI,
                          java.lang.String localName,
                          java.lang.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