Class SOAP12FaultReasonImpl

All Implemented Interfaces:
org.apache.axiom.om.impl.OMContainerEx, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMConstants, org.apache.axiom.om.OMContainer, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMNode, org.apache.axiom.om.OMSerializable, org.apache.axiom.soap.SOAPFaultReason

public class SOAP12FaultReasonImpl extends SOAPFaultReasonImpl
  • Constructor Details

    • SOAP12FaultReasonImpl

      public SOAP12FaultReasonImpl(org.apache.axiom.soap.SOAPFault parent, org.apache.axiom.om.OMXMLParserWrapper builder, org.apache.axiom.soap.SOAPFactory factory)
    • SOAP12FaultReasonImpl

      public SOAP12FaultReasonImpl(org.apache.axiom.soap.SOAPFactory factory)
    • SOAP12FaultReasonImpl

      public SOAP12FaultReasonImpl(org.apache.axiom.soap.SOAPFault parent, org.apache.axiom.soap.SOAPFactory factory) throws org.apache.axiom.soap.SOAPProcessingException
      Throws:
      org.apache.axiom.soap.SOAPProcessingException
  • Method Details

    • addSOAPText

      public void addSOAPText(org.apache.axiom.soap.SOAPFaultText soapFaultText) throws org.apache.axiom.soap.SOAPProcessingException
      Throws:
      org.apache.axiom.soap.SOAPProcessingException
    • getFirstSOAPText

      public org.apache.axiom.soap.SOAPFaultText getFirstSOAPText()
    • getText

      public String getText()
      getText() is overridden here in order to provide a uniform way for SOAP 1.1 and SOAP 1.2 to get the "default" reason string.
      Specified by:
      getText in interface org.apache.axiom.om.OMElement
      Overrides:
      getText in class OMElementImpl
      Returns:
      the default (local language, or first) reason string
    • checkParent

      protected void checkParent(org.apache.axiom.om.OMElement parent) throws org.apache.axiom.soap.SOAPProcessingException
      Description copied from class: SOAPElement
      This has to be implemented by all the derived classes to check for the correct parent.
      Specified by:
      checkParent in class SOAPElement
      Throws:
      org.apache.axiom.soap.SOAPProcessingException