#include <IHeaderBlock.h>
Inheritance diagram for IHeaderBlock:
Public Methods | |
virtual int | getNoOfChildren ()=0 |
virtual BasicNode * | createChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar *pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 |
virtual BasicNode * | createImmediateChild (NODE_TYPE eNODE_TYPE, AxisChar *pachLocalName, AxisChar *pachPrefix, AxisChar *pachUri, AxisChar *pachValue)=0 |
virtual Attribute * | createStdAttribute (HEADER_BLOCK_STD_ATTR_TYPE eStdAttrType, SOAP_VERSION eSOAP_VERSION)=0 |
virtual Attribute * | createAttribute (const AxisChar *localname, const AxisChar *prefix, const AxisChar *uri, const AxisChar *value)=0 |
virtual Attribute * | createAttribute (const AxisChar *localname, const AxisChar *prefix, const AxisChar *value)=0 |
virtual BasicNode * | createImmediateChild (NODE_TYPE eNODE_TYPE)=0 |
virtual BasicNode * | createChild (NODE_TYPE eNODE_TYPE)=0 |
virtual const BasicNode * | getLastChild ()=0 |
virtual const BasicNode * | getChild (int iChildPosition)=0 |
virtual int | addChild (BasicNode *pBasicNode)=0 |
virtual void | setLocalName (const AxisChar *localname)=0 |
virtual void | setUri (const AxisChar *uri)=0 |
virtual int | initializeForTesting ()=0 |
virtual IHeaderBlock * | clone ()=0 |
virtual | ~IHeaderBlock () |
|
The Destructor. |
|
Adds a child node to the Header Block.
|
|
Creates and returns a clone of this Header Block.
|
|
Creates a Attribute and adds it to this Header Block.
|
|
Creates a Attribute and adds it to this Header Block.
|
|
Creates a child node depending on the given type. If the type is CHARACTER_NODE a CharacterElement is created. If the type is ELEMENT_NODE a ComplexElement is created. After creating the child it will not be added as a child to the header block. The user has to add the created child to the appropriate locaion as his wish.
|
|
Creates a child node depending on the given node type. i.e: if node type == CHARACTER_NODE then it creates a Character Element. if node type == ELEMENT_NODE then it creates a Complex Element. This method doesn't add the created child to this Header Block. If the user needs to add this created child then he has to use the addChild(BasicNode *pBasicNode) method after creating the child. If the node to be created is a CHARACTER_NODE then only the parameter pachValue will be usefull and for others you can provide NULL. If the node to be created is a ELEMENT_NODE then the parameters pachLocalName, pachPrefix, pachUri will be needed to provide and you can provide NULL for the pachValue.
|
|
Creates a child node depending on the given type. If the type is CHARACTER_NODE a CharacterElement is created. If the type is ELEMENT_NODE a ComplexElement is created. After creating the child it will be added as a immediate child to the header block.
|
|
Creates a child node depending on the given type. If the type is CHARACTER_NODE a CharacterElement is created. If the type is ELEMENT_NODE a ComplexElement is created. After creating the child it will be added as a immediate child to the header block. It is important to note that if the type is CHARACTER_NODE only the NODE_TYPE and value (pachValue) parameters will be usefull.If the type is ELEMENT_NODE the parameters NODE_TYPE, pachLocalName, pachPrefix, pachUri will be usefull.
|
|
A user can use this method to create a standard HeaderBlock attribute. The types of HEADER_BLOCK_STD_ATTR_TYPE are: ROLE_NEXT : To create the role attribute to point to next. ROLE_NONE : To create the role attribute to point to none. ROLE_ULTIMATE_RECEIVER : To create the role attribute to point to ultimate receiver. ACTOR : To create the actor attribute to point to next. MUST_UNDERSTAND_TRUE : To create the mustUnderstand attribute to point to true. MUST_UNDERSTAND_FALSE : To create the mustUnderstand attribute to point to false. To use ROLE_NEXT, ROLE_NONE, ROLE_ULTIMATE_RECEIVER, MUST_UNDERSTAND_TRUE, MUST_UNDERSTAND_FALSE the user has to pass SOAP_VER_1_2 as the SOAP_VERSION. To use ACTOR, MUST_UNDERSTAND_TRUE, MUST_UNDERSTAND_FALSE the user has to pass SOAP_VER_1_1 as the SOAP_VERSION.
|
|
Returns the child element at the given postion. The user has to check whether the method return NULL before proceding.
|
|
Returns the last child element. The user has to check whether the method return NULL before proceding.
|
|
Returns the number of child elements of this HeaderBlock.
|
|
Initialized the Header Block for testing. |
|
Sets the local name of this Header Block.
|
|
Sets the namespace uri of this Header Block.
|