public abstract class SOAPFaultImpl extends SOAPElement implements SOAPFault, OMConstants
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.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(OMNamespace ns,
SOAPFactory factory) |
|
SOAPFaultImpl(SOAPBody parent,
java.lang.Exception e,
SOAPFactory factory)
Constructor SOAPFaultImpl
|
|
SOAPFaultImpl(SOAPBody parent,
OMXMLParserWrapper builder,
SOAPFactory factory)
Constructor SOAPFaultImpl
|
|
SOAPFaultImpl(SOAPBody parent,
SOAPFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Exception |
getException()
If exception detailElement is not there we will return null
|
protected abstract SOAPFaultDetail |
getNewSOAPFaultDetail(SOAPFault fault) |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
protected void |
putExceptionToSOAPFault(java.lang.Exception e) |
protected abstract void |
serializeFaultNode(javax.xml.stream.XMLStreamWriter writer) |
void |
setCode(SOAPFaultCode soapFaultCode) |
void |
setDetail(SOAPFaultDetail detail) |
void |
setException(java.lang.Exception e) |
protected void |
setNewElement(OMElement myElement,
OMElement newElement) |
void |
setNode(SOAPFaultNode node) |
void |
setReason(SOAPFaultReason reason) |
void |
setRole(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, 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, 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, getXMLStreamReaderWithoutCachingbuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumesetCompleteprotected SOAPFaultImpl(OMNamespace ns, SOAPFactory factory)
public SOAPFaultImpl(SOAPBody parent, java.lang.Exception e, SOAPFactory factory) throws SOAPProcessingException
parent - e - SOAPProcessingExceptionpublic SOAPFaultImpl(SOAPBody parent, SOAPFactory factory) throws SOAPProcessingException
SOAPProcessingExceptionpublic SOAPFaultImpl(SOAPBody parent, OMXMLParserWrapper builder, SOAPFactory factory)
parent - builder - public void setException(java.lang.Exception e)
setException in interface SOAPFaultprotected abstract SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) throws SOAPProcessingException
SOAPProcessingExceptionpublic void setCode(SOAPFaultCode soapFaultCode) throws SOAPProcessingException
setCode in interface SOAPFaultSOAPProcessingExceptionpublic void setReason(SOAPFaultReason reason) throws SOAPProcessingException
setReason in interface SOAPFaultSOAPProcessingExceptionpublic void setNode(SOAPFaultNode node) throws SOAPProcessingException
setNode in interface SOAPFaultSOAPProcessingExceptionpublic void setRole(SOAPFaultRole role) throws SOAPProcessingException
setRole in interface SOAPFaultSOAPProcessingExceptionpublic void setDetail(SOAPFaultDetail detail) throws SOAPProcessingException
setDetail in interface SOAPFaultSOAPProcessingExceptionpublic java.lang.Exception getException()
throws OMException
getException in interface SOAPFaultOMExceptionprotected void putExceptionToSOAPFault(java.lang.Exception e)
throws SOAPProcessingException
SOAPProcessingExceptionpublic void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
throws javax.xml.stream.XMLStreamException
OMSerializableImplinternalSerialize in interface OMNodeExinternalSerialize in class OMElementImpljavax.xml.stream.XMLStreamExceptionprotected abstract void serializeFaultNode(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.