Class FaultBuilder

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

public class FaultBuilder extends AbstractXMLObjectBuilder<Fault> implements SOAPObjectBuilder<Fault>
Builder of FaultImpl objects.
  • Constructor Details

    • FaultBuilder

      public FaultBuilder()
  • Method Details

    • buildObject

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

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