Class BodyBuilder

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

public class BodyBuilder extends AbstractXMLObjectBuilder<Body> implements SOAPObjectBuilder<Body>
Builder of BodyImpl objects.
  • Constructor Details

    • BodyBuilder

      public BodyBuilder()
  • Method Details

    • buildObject

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

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