public abstract class SOAPFaultImpl extends SOAPElement implements SOAPFault, OMConstants
| Modifier and Type | Field and Description |
|---|---|
protected Exception |
e |
localName, namespacefirstChild, lastChildnextSibling, parentNode, previousSiblingbuilder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIEDCDATA_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_URIATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
SOAPFaultImpl(SOAPBody parent,
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 |
|---|---|
Exception |
getException()
If exception detailElement is not there we will return null
|
protected abstract SOAPFaultDetail |
getNewSOAPFaultDetail(SOAPFault fault) |
void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
protected void |
putExceptionToSOAPFault(Exception e) |
protected abstract void |
serializeFaultNode(XMLStreamWriter writer) |
void |
setCode(SOAPFaultCode soapFaultCode)
SOAPFaultCode is a mandatory item in a Fault, in SOAP 1.2 specification
|
void |
setDetail(SOAPFaultDetail detail)
SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification
|
void |
setException(Exception e) |
protected void |
setNewElement(OMElement myElement,
OMElement newElement) |
void |
setNode(SOAPFaultNode node)
SOAPFaultNode is an optional item in a Fault, in SOAP 1.2 specification
|
void |
setReason(SOAPFaultReason reason)
SOAPFaultReason is a mandatory item in a Fault, in SOAP 1.2 specification
|
void |
setRole(SOAPFaultRole role)
SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification
|
checkParentaddAttribute, addAttribute, buildWithAttachments, cloneNode, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getChildElements, getDefaultNamespace, getElementsByTagName, getElementsByTagNameNS, getFirstElement, getLineNumber, getLocalName, getNamespace, getNamespaceURI, getNamespaceURI, getNextOMSibling, getNodeName, getNodeType, getPrefix, getQName, getSchemaTypeInfo, getTagName, getText, getTextAsQName, getTrimmedText, getType, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeNamespace, resolveQName, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setBuilder, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setOwnerDocument, setText, setText, setType, toString, toStringWithConsumeaddChild, buildNext, getBuilder, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastChild, getTextContent, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, hasChildNodes, importNode, insertBefore, removeChild, replaceChild, setFirstChild, setLastChild, setTextContentdetach, getNextOMSiblingIfAvailable, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSiblingappendChild, build, close, compareDocumentPosition, getBaseURI, getFeature, getLength, getNodeValue, getOMFactory, getOwnerDocument, getUserData, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setPrefix, setUserDataclone, 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, getNamespaceURI, 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, serializeAndConsumeappendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatasetCompleteprotected Exception e
public SOAPFaultImpl(SOAPBody parent, 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(Exception e)
setException in interface SOAPFaultprotected abstract SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) throws SOAPProcessingException
SOAPProcessingExceptionpublic void setCode(SOAPFaultCode soapFaultCode) throws SOAPProcessingException
SOAPFaultsetCode in interface SOAPFaultSOAPProcessingExceptionpublic void setReason(SOAPFaultReason reason) throws SOAPProcessingException
SOAPFaultsetReason in interface SOAPFaultSOAPProcessingExceptionpublic void setNode(SOAPFaultNode node) throws SOAPProcessingException
SOAPFaultsetNode in interface SOAPFaultSOAPProcessingExceptionpublic void setRole(SOAPFaultRole role) throws SOAPProcessingException
SOAPFaultsetRole in interface SOAPFaultSOAPProcessingExceptionpublic void setDetail(SOAPFaultDetail detail) throws SOAPProcessingException
SOAPFaultsetDetail in interface SOAPFaultSOAPProcessingExceptionpublic Exception getException() throws OMException
getException in interface SOAPFaultOMExceptionprotected void putExceptionToSOAPFault(Exception e) throws SOAPProcessingException
SOAPProcessingExceptionpublic void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMNodeExOMSerializable.serialize(XMLStreamWriter, boolean) instead.internalSerialize in interface OMNodeExinternalSerialize in class ElementImplcache - indicates if caching should be enabledXMLStreamExceptionprotected abstract void serializeFaultNode(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.