org.apache.axis2.soap.impl.llom
Class SOAPFaultCodeImpl

java.lang.Object
  extended byorg.apache.axis2.om.impl.llom.OMNodeImpl
      extended byorg.apache.axis2.om.impl.llom.OMElementImpl
          extended byorg.apache.axis2.soap.impl.llom.SOAPElement
              extended byorg.apache.axis2.soap.impl.llom.SOAPFaultCodeImpl
All Implemented Interfaces:
OMConstants, OMContainer, OMContainerEx, OMElement, OMNode, OMNodeEx, SOAPFaultCode
Direct Known Subclasses:
SOAP11FaultCodeImpl, SOAP12FaultCodeImpl

public abstract class SOAPFaultCodeImpl
extends SOAPElement
implements SOAPFaultCode


Field Summary
 
Fields inherited from class org.apache.axis2.om.impl.llom.OMElementImpl
attributes, firstChild, localName, namespaces, noPrefixNamespaceCounter, ns
 
Fields inherited from class org.apache.axis2.om.impl.llom.OMNodeImpl
builder, done, nextSibling, nodeType, parent, previousSibling
 
Fields inherited from interface org.apache.axis2.om.OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Fields inherited from interface org.apache.axis2.om.OMConstants
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DEFAULT_CHAR_SET_ENCODING, DEFAULT_XML_VERSION, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER
 
Constructor Summary
SOAPFaultCodeImpl(SOAPFault parent, boolean extractNamespaceFromParent)
           
SOAPFaultCodeImpl(SOAPFault parent, OMXMLParserWrapper builder)
          Constructor OMElementImpl
 
Method Summary
 SOAPFaultSubCode getSubCode()
           
 SOAPFaultValue getValue()
           
protected  void serialize(OMOutputImpl omOutput, boolean cache)
           
 void setSubCode(SOAPFaultSubCode value)
           
 void setValue(SOAPFaultValue value)
          Eran Chinthaka (chinthaka@apache.org)
 
Methods inherited from class org.apache.axis2.soap.impl.llom.SOAPElement
checkParent
 
Methods inherited from class org.apache.axis2.om.impl.llom.OMElementImpl
addAttribute, addAttribute, addChild, buildNext, declareNamespace, declareNamespace, detach, discard, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getNextSibling, getQName, getText, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, removeAttribute, serialize, serializeWithCache, setBuilder, setFirstChild, setLocalName, setNamespace, setText
 
Methods inherited from class org.apache.axis2.om.impl.llom.OMNodeImpl
build, getParent, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, serialize, serializeWithCache, setComplete, setNextSibling, setParent, setPreviousSibling, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.om.OMElement
addAttribute, addAttribute, addChild, declareNamespace, declareNamespace, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getQName, getText, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, setBuilder, setFirstChild, setLocalName, setNamespace, setText
 
Methods inherited from interface org.apache.axis2.om.OMNode
build, detach, discard, getNextSibling, getParent, getPreviousSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serializeWithCache
 
Methods inherited from interface org.apache.axis2.om.OMContainer
buildNext, isComplete
 
Methods inherited from interface org.apache.axis2.om.impl.OMContainerEx
setComplete
 

Constructor Detail

SOAPFaultCodeImpl

public SOAPFaultCodeImpl(SOAPFault parent,
                         OMXMLParserWrapper builder)
Constructor OMElementImpl

Parameters:
parent -
builder -

SOAPFaultCodeImpl

public SOAPFaultCodeImpl(SOAPFault parent,
                         boolean extractNamespaceFromParent)
                  throws SOAPProcessingException
Parameters:
parent -
Method Detail

setValue

public void setValue(SOAPFaultValue value)
              throws SOAPProcessingException
Eran Chinthaka (chinthaka@apache.org)

Specified by:
setValue in interface SOAPFaultCode
Parameters:
value -
Throws:
SOAPProcessingException

getValue

public SOAPFaultValue getValue()
Specified by:
getValue in interface SOAPFaultCode
Returns:

setSubCode

public void setSubCode(SOAPFaultSubCode value)
                throws SOAPProcessingException
Specified by:
setSubCode in interface SOAPFaultCode
Parameters:
value -
Throws:
SOAPProcessingException

getSubCode

public SOAPFaultSubCode getSubCode()
Specified by:
getSubCode in interface SOAPFaultCode
Returns:

serialize

protected void serialize(OMOutputImpl omOutput,
                         boolean cache)
                  throws XMLStreamException
Overrides:
serialize in class OMElementImpl
Throws:
XMLStreamException