public class SOAP11FaultImpl extends SOAPFaultImpl
e
attributes, DEFAULT_DEFAULT_NS_OBJECT, firstChild, lastChild, localName, namespaces, noPrefixNamespaceCounter, ns, qName
nextSibling, nodeType, parent, previousSibling
builder, done, 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
Constructor and Description |
---|
SOAP11FaultImpl(SOAPBody parent,
Exception e,
SOAPFactory factory) |
SOAP11FaultImpl(SOAPBody parent,
OMXMLParserWrapper builder,
SOAPFactory factory) |
SOAP11FaultImpl(SOAPBody parent,
SOAPFactory factory)
This is a convenience method for the SOAP Fault Impl.
|
SOAP11FaultImpl(SOAPFactory factory)
Eran Chinthaka (chinthaka@apache.org)
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkParent(OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent.
|
SOAPFaultCode |
getCode() |
SOAPFaultDetail |
getDetail() |
protected SOAPFaultDetail |
getNewSOAPFaultDetail(SOAPFault fault) |
SOAPFaultNode |
getNode() |
SOAPFaultReason |
getReason() |
SOAPFaultRole |
getRole() |
protected void |
serializeFaultNode(javax.xml.stream.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 |
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
|
getException, internalSerialize, putExceptionToSOAPFault, setException, setNewElement
registerContentHandler, setParent
addAttribute, 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, getNamespaceURI, getNextOMSibling, getQName, getText, getTextAsQName, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, notifyChildComplete, removeAttribute, resolveQName, setBuilder, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume
getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setPreviousOMSibling, setType
close, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttribute, 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, toStringWithConsume
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
addChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
setComplete
public SOAP11FaultImpl(SOAPFactory factory)
public SOAP11FaultImpl(SOAPBody parent, Exception e, SOAPFactory factory) throws SOAPProcessingException
SOAPProcessingException
public SOAP11FaultImpl(SOAPBody parent, OMXMLParserWrapper builder, SOAPFactory factory)
public SOAP11FaultImpl(SOAPBody parent, SOAPFactory factory) throws SOAPProcessingException
parent
- SOAPProcessingException
protected SOAPFaultDetail getNewSOAPFaultDetail(SOAPFault fault) throws SOAPProcessingException
getNewSOAPFaultDetail
in class SOAPFaultImpl
SOAPProcessingException
public void setCode(SOAPFaultCode soapFaultCode) throws SOAPProcessingException
SOAPFault
setCode
in interface SOAPFault
setCode
in class SOAPFaultImpl
SOAPProcessingException
public void setReason(SOAPFaultReason reason) throws SOAPProcessingException
SOAPFault
setReason
in interface SOAPFault
setReason
in class SOAPFaultImpl
SOAPProcessingException
public void setNode(SOAPFaultNode node) throws SOAPProcessingException
SOAPFault
setNode
in interface SOAPFault
setNode
in class SOAPFaultImpl
SOAPProcessingException
public void setRole(SOAPFaultRole role) throws SOAPProcessingException
SOAPFault
setRole
in interface SOAPFault
setRole
in class SOAPFaultImpl
SOAPProcessingException
protected void checkParent(OMElement parent) throws SOAPProcessingException
SOAPElement
checkParent
in class SOAPElement
SOAPProcessingException
public void setDetail(SOAPFaultDetail detail) throws SOAPProcessingException
SOAPFault
setDetail
in interface SOAPFault
setDetail
in class SOAPFaultImpl
SOAPProcessingException
protected void serializeFaultNode(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
serializeFaultNode
in class SOAPFaultImpl
javax.xml.stream.XMLStreamException
public SOAPFaultCode getCode()
public SOAPFaultReason getReason()
public SOAPFaultNode getNode()
public SOAPFaultRole getRole()
public SOAPFaultDetail getDetail()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.