Class FaultElementImpl

java.lang.Object
com.sun.xml.messaging.saaj.soap.impl.ElementImpl
com.sun.xml.messaging.saaj.soap.impl.FaultElementImpl
All Implemented Interfaces:
Node, SOAPBodyElement, SOAPElement, SOAPFaultElement, Element, Node
Direct Known Subclasses:
DetailImpl, FaultElement1_1Impl, FaultElement1_2Impl

public abstract class FaultElementImpl extends ElementImpl implements SOAPFaultElement
  • Constructor Details

  • Method Details

    • isStandardFaultElement

      protected abstract boolean isStandardFaultElement()
    • setElementQName

      public SOAPElement setElementQName(QName newName) throws SOAPException
      Description copied from interface: SOAPElement
      Changes the name of this Element to newName if possible. SOAP Defined elements such as SOAPEnvelope, SOAPHeader, SOAPBody etc. cannot have their names changed using this method. Any attempt to do so will result in a SOAPException being thrown.

      Callers should not rely on the element instance being renamed as is. Implementations could end up copying the content of the SOAPElement to a renamed instance.

      Specified by:
      setElementQName in interface SOAPElement
      Overrides:
      setElementQName in class ElementImpl
      Parameters:
      newName - the new name for the Element.
      Returns:
      The renamed Node
      Throws:
      SOAPException - if changing the name of this Element is not allowed.