|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.message.NodeImpl org.apache.axis.message.MessageElement org.apache.axis.message.SOAPHeaderElement
A simple header element abstraction. Extends MessageElement with header-specific stuff like mustUnderstand, actor, and a 'processed' flag.
Field Summary |
Fields inherited from class org.apache.axis.message.MessageElement |
namespaces |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
SOAPHeaderElement(org.w3c.dom.Element elem)
|
|
SOAPHeaderElement(Name name)
|
|
SOAPHeaderElement(QName qname)
|
|
SOAPHeaderElement(QName qname,
java.lang.Object value)
|
|
SOAPHeaderElement(java.lang.String namespace,
java.lang.String localPart)
|
|
SOAPHeaderElement(java.lang.String namespace,
java.lang.String localPart,
java.lang.Object value)
|
|
SOAPHeaderElement(java.lang.String namespace,
java.lang.String localPart,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
org.apache.axis.encoding.DeserializationContext context)
|
Method Summary | |
java.lang.String |
getActor()
Returns the uri of the actor associated with this
SOAPHeaderElement object. |
org.w3c.dom.NamedNodeMap |
getAttributes()
A NamedNodeMap containing the attributes of this node (if
it is an Element ) or null otherwise. |
boolean |
getMustUnderstand()
Returns whether the mustUnderstand attribute for this SOAPHeaderElement object is turned on. |
boolean |
getRelay()
|
java.lang.String |
getRole()
|
boolean |
isProcessed()
|
void |
setActor(java.lang.String a)
Sets the actor associated with this
SOAPHeaderElement object to the specified actor. |
void |
setMustUnderstand(boolean b)
Sets the mustUnderstand attribute for this
SOAPHeaderElement object to be on or off. |
void |
setParentElement(SOAPElement parent)
Sets the parent of this Node object to the given
SOAPElement object. |
void |
setProcessed(boolean value)
|
void |
setRelay(boolean relay)
|
void |
setRole(java.lang.String a)
|
Methods inherited from class org.apache.axis.message.NodeImpl |
appendChild, detachNode, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentElement, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isDirty, isSupported, normalize, recycleNode, removeChild, replaceChild, setDirty, setNodeValue, setOwnerDocument, setPrefix |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.soap.Node |
detachNode, getParentElement, getValue, recycleNode, setValue |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Constructor Detail |
public SOAPHeaderElement(java.lang.String namespace, java.lang.String localPart)
public SOAPHeaderElement(Name name)
public SOAPHeaderElement(QName qname)
public SOAPHeaderElement(java.lang.String namespace, java.lang.String localPart, java.lang.Object value)
public SOAPHeaderElement(QName qname, java.lang.Object value)
public SOAPHeaderElement(org.w3c.dom.Element elem)
public SOAPHeaderElement(java.lang.String namespace, java.lang.String localPart, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context) throws AxisFault
Method Detail |
public void setParentElement(SOAPElement parent) throws SOAPException
Node
Node
object to the given
SOAPElement
object.
setParentElement
in interface Node
setParentElement
in class NodeImpl
parent
- the SOAPElement
object to be set as
the parent of this Node
object
SOAPException
- if there is a problem in setting the
parent to the given elementgetParentElement()
public boolean getMustUnderstand()
SOAPHeaderElement
SOAPHeaderElement
object is turned on.
getMustUnderstand
in interface SOAPHeaderElement
true
if the mustUnderstand attribute of
this SOAPHeaderElement
object is turned on;
false
otherwisepublic void setMustUnderstand(boolean b)
SOAPHeaderElement
SOAPHeaderElement
object to be on or off.
If the mustUnderstand attribute is on, the actor who
receives the SOAPHeaderElement
must process it
correctly. This ensures, for example, that if the
SOAPHeaderElement
object modifies the message, that
the message is being modified correctly.
setMustUnderstand
in interface SOAPHeaderElement
b
- true
to
set the mustUnderstand attribute on; false
to turn if offgetMustUnderstand()
public java.lang.String getActor()
SOAPHeaderElement
SOAPHeaderElement
object.
getActor
in interface SOAPHeaderElement
String
giving the URI of the
actorsetActor(java.lang.String)
public void setActor(java.lang.String a)
SOAPHeaderElement
SOAPHeaderElement
object to the specified actor. The
default value of an actor is:
SOAPConstants.URI_SOAP_ACTOR_NEXT
setActor
in interface SOAPHeaderElement
a
- a String
giving
the URI of the actor to setgetActor()
public java.lang.String getRole()
public void setRole(java.lang.String a)
public boolean getRelay()
public void setRelay(boolean relay)
public void setProcessed(boolean value)
public boolean isProcessed()
public org.w3c.dom.NamedNodeMap getAttributes()
NodeImpl
NamedNodeMap
containing the attributes of this node (if
it is an Element
) or null
otherwise.
getAttributes
in interface org.w3c.dom.Node
getAttributes
in class NodeImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |