public abstract class SOAPFaultImpl extends SOAPElement implements SOAPFault, OMConstants
Modifier and Type | Field and Description |
---|---|
protected Exception |
e |
attributes, builder, firstChild, lastChild, localName, namespaces, ns, qName, state
nextSibling, parent, previousSibling
factory
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
ARRAY_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
COMPLETE, DISCARDED, INCOMPLETE
Modifier | Constructor and Description |
---|---|
protected |
SOAPFaultImpl(OMNamespace ns,
SOAPFactory factory) |
|
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 |
---|---|
protected OMElement |
createClone(OMCloneOptions options,
OMContainer targetParent) |
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
|
checkParent, registerContentHandler, setParent
addAttribute, addAttribute, addChild, addChild, addNamespaceDeclaration, build, buildWithAttachments, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, detach, discard, discarded, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDefaultNamespace, getDescendants, getFirstChildWithName, getFirstElement, getFirstOMChild, getFirstOMChildIfAvailable, getLastKnownOMChild, getLineNumber, getLocalName, getNamespace, getNamespaceContext, getNamespacesInScope, getNamespaceURI, getPrefix, getQName, getSAXSource, getState, getText, getTextAsQName, getTextAsStream, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, removeAttribute, removeChildren, resolveQName, setBuilder, setComplete, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
clone, getIParentNode, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setPreviousOMSibling
close, getOMFactory, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCode, getDetail, getNode, getReason, getRole
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren
build, close, isComplete, serialize, serialize, serializeAndConsume
clone, getOMFactory
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName
getIParentNode
getNextOMSiblingIfAvailable, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setPreviousOMSibling
protected Exception e
protected SOAPFaultImpl(OMNamespace ns, SOAPFactory factory)
public SOAPFaultImpl(SOAPBody parent, Exception e, SOAPFactory factory) throws SOAPProcessingException
parent
- e
- SOAPProcessingException
public SOAPFaultImpl(SOAPBody parent, SOAPFactory factory) throws SOAPProcessingException
SOAPProcessingException
public SOAPFaultImpl(SOAPBody parent, OMXMLParserWrapper builder, SOAPFactory factory)
parent
- builder
- public void setException(Exception e)
setException
in interface SOAPFault
protected abstract SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) throws SOAPProcessingException
SOAPProcessingException
public void setCode(SOAPFaultCode soapFaultCode) throws SOAPProcessingException
SOAPFault
setCode
in interface SOAPFault
SOAPProcessingException
public void setReason(SOAPFaultReason reason) throws SOAPProcessingException
SOAPFault
setReason
in interface SOAPFault
SOAPProcessingException
public void setNode(SOAPFaultNode node) throws SOAPProcessingException
SOAPFault
setNode
in interface SOAPFault
SOAPProcessingException
public void setRole(SOAPFaultRole role) throws SOAPProcessingException
SOAPFault
setRole
in interface SOAPFault
SOAPProcessingException
public void setDetail(SOAPFaultDetail detail) throws SOAPProcessingException
SOAPFault
setDetail
in interface SOAPFault
SOAPProcessingException
public Exception getException() throws OMException
getException
in interface SOAPFault
OMException
protected void putExceptionToSOAPFault(Exception e) throws SOAPProcessingException
SOAPProcessingException
public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializableImpl
internalSerialize
in interface OMNodeEx
internalSerialize
in class OMElementImpl
cache
- indicates if caching should be enabledXMLStreamException
protected abstract void serializeFaultNode(XMLStreamWriter writer) throws XMLStreamException
XMLStreamException
protected OMElement createClone(OMCloneOptions options, OMContainer targetParent)
createClone
in class OMElementImpl
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.