public abstract class SOAPFaultImpl extends SOAPElement implements org.apache.axiom.soap.SOAPFault, org.apache.axiom.om.OMConstants
| Modifier and Type | Field and Description |
|---|---|
protected Exception |
e |
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qNamenextSibling, nodeType, parent, previousSiblingbuilder, done, factoryCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODEARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLATTRTYPE_CDATA, XMLATTRTYPE_ENTITIES, XMLATTRTYPE_ENTITY, XMLATTRTYPE_ID, XMLATTRTYPE_IDREF, XMLATTRTYPE_IDREFS, XMLATTRTYPE_NMTOKEN, XMLATTRTYPE_NMTOKENS, XMLATTRTYPE_NOTATION, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI| Modifier | Constructor and Description |
|---|---|
protected |
SOAPFaultImpl(org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory) |
|
SOAPFaultImpl(org.apache.axiom.soap.SOAPBody parent,
Exception e,
org.apache.axiom.soap.SOAPFactory factory)
Constructor SOAPFaultImpl
|
|
SOAPFaultImpl(org.apache.axiom.soap.SOAPBody parent,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
Constructor SOAPFaultImpl
|
|
SOAPFaultImpl(org.apache.axiom.soap.SOAPBody parent,
org.apache.axiom.soap.SOAPFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getException()
If exception detailElement is not there we will return null
|
protected abstract org.apache.axiom.soap.SOAPFaultDetail |
getNewSOAPFaultDetail(org.apache.axiom.soap.SOAPFault fault) |
void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
protected void |
putExceptionToSOAPFault(Exception e) |
protected abstract void |
serializeFaultNode(XMLStreamWriter writer) |
void |
setCode(org.apache.axiom.soap.SOAPFaultCode soapFaultCode) |
void |
setDetail(org.apache.axiom.soap.SOAPFaultDetail detail) |
void |
setException(Exception e) |
protected void |
setNewElement(org.apache.axiom.om.OMElement myElement,
org.apache.axiom.om.OMElement newElement) |
void |
setNode(org.apache.axiom.soap.SOAPFaultNode node) |
void |
setReason(org.apache.axiom.soap.SOAPFaultReason reason) |
void |
setRole(org.apache.axiom.soap.SOAPFaultRole role) |
checkParent, registerContentHandler, setParentaddAttribute, addAttribute, addChild, build, buildNext, buildWithAttachments, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, detach, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDefaultNamespace, getFirstChildWithName, getFirstElement, getFirstOMChild, getFirstOMChildIfAvailable, getLineNumber, getLocalName, getNamespace, getNextOMSibling, getQName, getText, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, notifyChildComplete, removeAttribute, resolveQName, setBuilder, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumegetNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setTypeclose, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCode, getDetail, getNode, getReason, getRoleaddAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getQName, getText, getTextAsQName, getXMLStreamReader, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumebuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeaddChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCachingprotected Exception e
protected SOAPFaultImpl(org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory)
public SOAPFaultImpl(org.apache.axiom.soap.SOAPBody parent,
Exception e,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axiom.soap.SOAPProcessingException
parent - e - org.apache.axiom.soap.SOAPProcessingExceptionpublic SOAPFaultImpl(org.apache.axiom.soap.SOAPBody parent,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axiom.soap.SOAPProcessingException
org.apache.axiom.soap.SOAPProcessingExceptionpublic SOAPFaultImpl(org.apache.axiom.soap.SOAPBody parent,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
parent - builder - public void setException(Exception e)
setException in interface org.apache.axiom.soap.SOAPFaultprotected abstract org.apache.axiom.soap.SOAPFaultDetail getNewSOAPFaultDetail(org.apache.axiom.soap.SOAPFault fault)
throws org.apache.axiom.soap.SOAPProcessingException
org.apache.axiom.soap.SOAPProcessingExceptionpublic void setCode(org.apache.axiom.soap.SOAPFaultCode soapFaultCode)
throws org.apache.axiom.soap.SOAPProcessingException
setCode in interface org.apache.axiom.soap.SOAPFaultorg.apache.axiom.soap.SOAPProcessingExceptionpublic void setReason(org.apache.axiom.soap.SOAPFaultReason reason)
throws org.apache.axiom.soap.SOAPProcessingException
setReason in interface org.apache.axiom.soap.SOAPFaultorg.apache.axiom.soap.SOAPProcessingExceptionpublic void setNode(org.apache.axiom.soap.SOAPFaultNode node)
throws org.apache.axiom.soap.SOAPProcessingException
setNode in interface org.apache.axiom.soap.SOAPFaultorg.apache.axiom.soap.SOAPProcessingExceptionpublic void setRole(org.apache.axiom.soap.SOAPFaultRole role)
throws org.apache.axiom.soap.SOAPProcessingException
setRole in interface org.apache.axiom.soap.SOAPFaultorg.apache.axiom.soap.SOAPProcessingExceptionpublic void setDetail(org.apache.axiom.soap.SOAPFaultDetail detail)
throws org.apache.axiom.soap.SOAPProcessingException
setDetail in interface org.apache.axiom.soap.SOAPFaultorg.apache.axiom.soap.SOAPProcessingExceptionpublic Exception getException() throws org.apache.axiom.om.OMException
getException in interface org.apache.axiom.soap.SOAPFaultorg.apache.axiom.om.OMExceptionprotected void putExceptionToSOAPFault(Exception e) throws org.apache.axiom.soap.SOAPProcessingException
org.apache.axiom.soap.SOAPProcessingExceptionprotected void setNewElement(org.apache.axiom.om.OMElement myElement,
org.apache.axiom.om.OMElement newElement)
public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializableImplinternalSerialize in interface org.apache.axiom.om.impl.OMNodeExinternalSerialize in class OMElementImplXMLStreamExceptionprotected abstract void serializeFaultNode(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.