org.apache.axiom.soap.impl.llom.soap11
Class SOAP11HeaderBlockImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.llom.OMSerializableImpl
      extended by org.apache.axiom.om.impl.llom.OMNodeImpl
          extended by org.apache.axiom.om.impl.llom.OMElementImpl
              extended by org.apache.axiom.om.impl.llom.OMSourcedElementImpl
                  extended by org.apache.axiom.soap.impl.llom.SOAPHeaderBlockImpl
                      extended by org.apache.axiom.soap.impl.llom.soap11.SOAP11HeaderBlockImpl
All Implemented Interfaces:
IChildNode, IContainer, IElement, IParentNode, OMContainerEx, OMElementEx, OMNodeEx, OMConstants, OMContainer, OMElement, OMInformationItem, OMNamedInformationItem, OMNode, OMSerializable, OMSourcedElement, SOAPHeaderBlock

public class SOAP11HeaderBlockImpl
extends SOAPHeaderBlockImpl


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMElementImpl
attributes, builder, firstChild, lastChild, localName, namespaces, ns, qName, state
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
nextSibling, parent, previousSibling
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
factory
 
Fields inherited from interface org.apache.axiom.soap.SOAPHeaderBlock
MUST_UNDERSTAND_PROPERTY, RELAY_PROPERTY, ROLE_PROPERTY
 
Fields inherited from interface org.apache.axiom.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.axiom.om.impl.common.IParentNode
COMPLETE, DISCARDED, INCOMPLETE
 
Fields inherited from interface org.apache.axiom.om.OMConstants
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 Summary
SOAP11HeaderBlockImpl(OMContainer parent, java.lang.String localName, OMNamespace ns, OMXMLParserWrapper builder, OMFactory factory, boolean generateNSDecl)
           
SOAP11HeaderBlockImpl(SOAPFactory factory, OMDataSource source)
           
SOAP11HeaderBlockImpl(java.lang.String localName, OMNamespace ns, SOAPFactory factory, OMDataSource ds)
           
 
Method Summary
protected  void checkParent(OMElement parent)
           
 boolean getMustUnderstand()
          Returns whether the mustUnderstand attribute for this SOAPHeaderBlock object is turned on.
 boolean getRelay()
           
 java.lang.String getRole()
           
 SOAPVersion getVersion()
           
 void setMustUnderstand(boolean mustUnderstand)
           
 void setMustUnderstand(java.lang.String mustUnderstand)
           
 void setRelay(boolean relay)
           
 void setRole(java.lang.String roleURI)
           
 
Methods inherited from class org.apache.axiom.soap.impl.llom.SOAPHeaderBlockImpl
createClone, createClone, getAttribute, getOMDataSourceProperty, hasOMDataSourceProperty, isProcessed, setAttribute, setParent, setProcessed
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMSourcedElementImpl
addAttribute, addAttribute, addChild, addChild, addNamespaceDeclaration, build, buildWithAttachments, clone, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, detach, discard, discarded, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDataSource, getDefaultNamespace, getDescendants, getFirstChildWithName, getFirstElement, getFirstOMChild, getFirstOMChildIfAvailable, getLastKnownOMChild, getLineNumber, getLocalName, getNamespace, getNamespaceContext, getNamespacesInScope, getNamespaceURI, getNextOMSibling, getNextOMSiblingIfAvailable, getObject, getPrefix, getQName, getSAXSource, getState, getText, getTextAsQName, getTextAsStream, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, isComplete, isExpanded, removeAttribute, removeChildren, resolveQName, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setComplete, setDataSource, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
getIParentNode, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setPreviousOMSibling
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl
close, getOMFactory, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.axiom.om.OMSourcedElement
getDataSource, getObject, isExpanded, setDataSource
 
Methods inherited from interface org.apache.axiom.om.OMElement
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
 
Methods inherited from interface org.apache.axiom.om.OMNode
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
 
Methods inherited from interface org.apache.axiom.om.OMContainer
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
build, close, isComplete, serialize, serialize, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMInformationItem
clone, getOMFactory
 
Methods inherited from interface org.apache.axiom.om.OMNamedInformationItem
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName
 
Methods inherited from interface org.apache.axiom.om.impl.common.IChildNode
getIParentNode
 
Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx
internalSerialize, internalSerializeAndConsume, setNextOMSibling, setPreviousOMSibling
 

Constructor Detail

SOAP11HeaderBlockImpl

public SOAP11HeaderBlockImpl(OMContainer parent,
                             java.lang.String localName,
                             OMNamespace ns,
                             OMXMLParserWrapper builder,
                             OMFactory factory,
                             boolean generateNSDecl)

SOAP11HeaderBlockImpl

public SOAP11HeaderBlockImpl(SOAPFactory factory,
                             OMDataSource source)

SOAP11HeaderBlockImpl

public SOAP11HeaderBlockImpl(java.lang.String localName,
                             OMNamespace ns,
                             SOAPFactory factory,
                             OMDataSource ds)
Method Detail

checkParent

protected void checkParent(OMElement parent)
                    throws SOAPProcessingException
Specified by:
checkParent in class SOAPHeaderBlockImpl
Throws:
SOAPProcessingException

setRole

public void setRole(java.lang.String roleURI)

getRole

public java.lang.String getRole()

setMustUnderstand

public void setMustUnderstand(boolean mustUnderstand)

setMustUnderstand

public void setMustUnderstand(java.lang.String mustUnderstand)
                       throws SOAPProcessingException
Throws:
SOAPProcessingException

getMustUnderstand

public boolean getMustUnderstand()
                          throws SOAPProcessingException
Returns whether the mustUnderstand attribute for this SOAPHeaderBlock object is turned on.

Returns:
true if the mustUnderstand attribute of this SOAPHeaderBlock object is turned on; false otherwise
Throws:
SOAPProcessingException

setRelay

public void setRelay(boolean relay)

getRelay

public boolean getRelay()

getVersion

public SOAPVersion getVersion()


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.