org.apache.axis.message
public class SOAPHeaderElement extends MessageElement implements SOAPHeaderElement
MessageElement.QNameAttr| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
actor |
protected boolean |
mustUnderstand |
protected boolean |
processed |
protected boolean |
relay |
_isRoot, context, encodingStyle, endEventIndex, fixupDeserializer, href, id, log, message, namespaces, qNameAttrs, recorder, startContentsIndex, startEventIndex, typeQName_isDirty, attributes, children, document, name, namespaceURI, parent, prefix, textRepATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
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,
DeserializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected void |
outputImpl(SerializationContext context)
Subclasses can override
|
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) |
addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addMapping, addNamespaceDeclaration, addTextNode, childDeepCloned, cloneNode, cloning, detachAllChildren, equals, findElement, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributesEx, getAttributeValue, getAttributeValue, getChildElement, getChildElements, getChildElements, getChildElements, getChildren, getCompleteAttributes, getDeserializationContext, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFixupDeserializer, getHref, getID, getLength, getName, getNamespacePrefixes, getNamespaceURI, getObjectValue, getObjectValue, getOwnerDocument, getPrefix, getQName, getRealElement, getRecorder, getTagName, getType, getValue, getValueAsType, getValueAsType, getValueDOM, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, isRoot, item, output, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAllAttributes, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setEncodingStyle, setEndIndex, setEnvelope, setFixupDeserializer, setName, setNamespaceURI, setNSMappings, setObjectValue, setQName, setRecorder, setType, setValue, toStringappendChild, compareDocumentPosition, convertAttrSAXtoDOM, detachNode, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTextContent, getUserData, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDefaultNamespace, isDirty, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, makeAttributesEditable, normalize, recycleNode, removeChild, replaceChild, setDirty, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setOwnerDocument, setParent, setPrefix, setTextContent, setUserDataclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyledetachNode, getParentElement, getValue, recycleNode, setValuegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataprotected boolean processed
protected java.lang.String actor
protected boolean mustUnderstand
protected boolean relay
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,
DeserializationContext context)
throws AxisFault
AxisFaultpublic void setParentElement(SOAPElement parent) throws SOAPException
NodeImplNode object to the given
SOAPElement object.setParentElement in class NodeImplparent - the SOAPElement object to be set as
the parent of this Node objectSOAPException - if there is a problem in setting the
parent to the given elementgetParentElement()public boolean getMustUnderstand()
SOAPHeaderElementSOAPHeaderElement object is turned on.getMustUnderstand in interface SOAPHeaderElementtrue 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 SOAPHeaderElementb - true to
set the mustUnderstand attribute on; false
to turn if offgetMustUnderstand()public java.lang.String getActor()
SOAPHeaderElement
SOAPHeaderElement object.getActor in interface SOAPHeaderElementString 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_NEXTsetActor in interface SOAPHeaderElementa - 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()
protected void outputImpl(SerializationContext context) throws java.lang.Exception
outputImpl in class MessageElementcontext - destination.java.lang.Exception - if something went wrong.public org.w3c.dom.NamedNodeMap getAttributes()
NodeImplNamedNodeMap containing the attributes of this node (if
it is an Element) or null otherwise.getAttributes in interface org.w3c.dom.NodegetAttributes in class NodeImplCopyright ? 2005 Apache Web Services Project. All Rights Reserved.