com.sun.xml.messaging.saaj.soap.impl
Class HeaderElementImpl

java.lang.Object
  extended by com.sun.org.apache.xerces.internal.dom.NodeImpl
      extended by com.sun.org.apache.xerces.internal.dom.ChildNode
          extended by com.sun.org.apache.xerces.internal.dom.ParentNode
              extended by com.sun.org.apache.xerces.internal.dom.ElementImpl
                  extended by com.sun.org.apache.xerces.internal.dom.ElementNSImpl
                      extended by com.sun.xml.messaging.saaj.soap.impl.ElementImpl
                          extended by com.sun.xml.messaging.saaj.soap.impl.HeaderElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.xml.soap.SOAPBodyElement, javax.xml.soap.SOAPElement, javax.xml.soap.SOAPHeaderElement, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo
Direct Known Subclasses:
HeaderElement1_1Impl, HeaderElement1_2Impl

public abstract class HeaderElementImpl
extends ElementImpl
implements javax.xml.soap.SOAPHeaderElement

See Also:
Serialized Form

Field Summary
protected static javax.xml.soap.Name MUST_UNDERSTAND_ATTRIBUTE_LOCAL_NAME
           
protected static javax.xml.soap.Name RELAY_ATTRIBUTE_LOCAL_NAME
           
 
Fields inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
DSIG_NS, elementQName, log, WSU_NS, XENC_NS, XML_URI, XMLNS_URI
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ElementNSImpl
localName, namespaceURI
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ElementImpl
attributes, name
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode
firstChild, fNodeListCache, ownerDocument
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
HeaderElementImpl(SOAPDocumentImpl ownerDoc, javax.xml.soap.Name qname)
           
HeaderElementImpl(SOAPDocumentImpl ownerDoc, javax.xml.namespace.QName qname)
           
 
Method Summary
 java.lang.String getActor()
           
protected abstract  NameImpl getActorAttributeName()
           
protected abstract  java.lang.String getActorOrRole()
           
 boolean getMustUnderstand()
           
protected abstract  NameImpl getMustunderstandAttributeName()
           
protected abstract  boolean getMustunderstandAttributeValue(java.lang.String str)
           
protected abstract  java.lang.String getMustunderstandLiteralValue(boolean mu)
           
 boolean getRelay()
           
protected abstract  NameImpl getRelayAttributeName()
           
protected abstract  boolean getRelayAttributeValue(java.lang.String str)
           
protected abstract  java.lang.String getRelayLiteralValue(boolean mu)
           
 java.lang.String getRole()
           
protected abstract  NameImpl getRoleAttributeName()
           
 void setActor(java.lang.String actorUri)
           
 void setMustUnderstand(boolean mustUnderstand)
           
 void setParentElement(javax.xml.soap.SOAPElement element)
           
 void setRelay(boolean relay)
           
 void setRole(java.lang.String roleUri)
           
 
Methods inherited from class com.sun.xml.messaging.saaj.soap.impl.ElementImpl
addAttribute, addAttribute, addCDATA, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addElement, addElement, addNamespaceDeclaration, addNode, addText, addTextNode, circumventBug5034339, convertToSoapElement, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttributeValue, getAttributeValue, getAttributeValueFrom, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getElementName, getElementQName, getEncodingStyle, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getOwnerDocument, getParentElement, getPrefix, getQualifiedName, getSOAPNamespace, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, importElement, isNamespaceQualified, isNamespaceQualified, recycleNode, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, replaceElementWithSOAPElement, setAttributeNS, setElementQName, setEncodingStyle, setEncodingStyleNamespace, setValue, tryToFindEncodingStyleAttributeName
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ElementNSImpl
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ElementImpl
cloneNode, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.soap.SOAPElement
addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setElementQName, setEncodingStyle
 
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValue
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, 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, setUserData
 

Field Detail

RELAY_ATTRIBUTE_LOCAL_NAME

protected static javax.xml.soap.Name RELAY_ATTRIBUTE_LOCAL_NAME

MUST_UNDERSTAND_ATTRIBUTE_LOCAL_NAME

protected static javax.xml.soap.Name MUST_UNDERSTAND_ATTRIBUTE_LOCAL_NAME
Constructor Detail

HeaderElementImpl

public HeaderElementImpl(SOAPDocumentImpl ownerDoc,
                         javax.xml.soap.Name qname)

HeaderElementImpl

public HeaderElementImpl(SOAPDocumentImpl ownerDoc,
                         javax.xml.namespace.QName qname)
Method Detail

getActorAttributeName

protected abstract NameImpl getActorAttributeName()

getRoleAttributeName

protected abstract NameImpl getRoleAttributeName()

getMustunderstandAttributeName

protected abstract NameImpl getMustunderstandAttributeName()

getMustunderstandAttributeValue

protected abstract boolean getMustunderstandAttributeValue(java.lang.String str)

getMustunderstandLiteralValue

protected abstract java.lang.String getMustunderstandLiteralValue(boolean mu)

getRelayAttributeName

protected abstract NameImpl getRelayAttributeName()

getRelayAttributeValue

protected abstract boolean getRelayAttributeValue(java.lang.String str)

getRelayLiteralValue

protected abstract java.lang.String getRelayLiteralValue(boolean mu)

getActorOrRole

protected abstract java.lang.String getActorOrRole()

setParentElement

public void setParentElement(javax.xml.soap.SOAPElement element)
                      throws javax.xml.soap.SOAPException
Overrides:
setParentElement in class ElementImpl
Throws:
javax.xml.soap.SOAPException

setActor

public void setActor(java.lang.String actorUri)
Specified by:
setActor in interface javax.xml.soap.SOAPHeaderElement

setRole

public void setRole(java.lang.String roleUri)
             throws javax.xml.soap.SOAPException
Specified by:
setRole in interface javax.xml.soap.SOAPHeaderElement
Throws:
javax.xml.soap.SOAPException

getActor

public java.lang.String getActor()
Specified by:
getActor in interface javax.xml.soap.SOAPHeaderElement

getRole

public java.lang.String getRole()
Specified by:
getRole in interface javax.xml.soap.SOAPHeaderElement

setMustUnderstand

public void setMustUnderstand(boolean mustUnderstand)
Specified by:
setMustUnderstand in interface javax.xml.soap.SOAPHeaderElement

getMustUnderstand

public boolean getMustUnderstand()
Specified by:
getMustUnderstand in interface javax.xml.soap.SOAPHeaderElement

setRelay

public void setRelay(boolean relay)
              throws javax.xml.soap.SOAPException
Specified by:
setRelay in interface javax.xml.soap.SOAPHeaderElement
Throws:
javax.xml.soap.SOAPException

getRelay

public boolean getRelay()
Specified by:
getRelay in interface javax.xml.soap.SOAPHeaderElement