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

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

public class EnvelopeBuilder
extends AbstractXMLObjectBuilder<Envelope>
implements SOAPObjectBuilder<Envelope>

Builder of EnvelopeImpl objects.


Constructor Summary
EnvelopeBuilder()
           
 
Method Summary
 Envelope buildObject()
          Creates an envelope object with the default SOAP 1.1 namespace, prefix and "Envelope" as the element local name.
 Envelope 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

EnvelopeBuilder

public EnvelopeBuilder()
Method Detail

buildObject

public Envelope buildObject()
Creates an envelope object with the default SOAP 1.1 namespace, prefix and "Envelope" as the element local name.

Specified by:
buildObject in interface SOAPObjectBuilder<Envelope>
Returns:
the build Envelope object

buildObject

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