Class EnvelopeBuilder

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

public class EnvelopeBuilder extends AbstractXMLObjectBuilder<Envelope> implements SOAPObjectBuilder<Envelope>
Builder of EnvelopeImpl objects.
  • Constructor Details

    • EnvelopeBuilder

      public EnvelopeBuilder()
  • Method Details

    • 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(String namespaceURI, String localName, 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