Class HeaderElementImpl
- java.lang.Object
-
- com.sun.xml.messaging.saaj.soap.impl.ElementImpl
-
- com.sun.xml.messaging.saaj.soap.impl.HeaderElementImpl
-
- All Implemented Interfaces:
javax.xml.soap.Node,javax.xml.soap.SOAPBodyElement,javax.xml.soap.SOAPElement,javax.xml.soap.SOAPHeaderElement,Element,Node
- Direct Known Subclasses:
HeaderElement1_1Impl,HeaderElement1_2Impl
public abstract class HeaderElementImpl extends ElementImpl implements javax.xml.soap.SOAPHeaderElement
-
-
Field Summary
Fields Modifier and Type Field Description protected static javax.xml.soap.NameMUST_UNDERSTAND_ATTRIBUTE_LOCAL_NAMEprotected static javax.xml.soap.NameRELAY_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 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
-
-
Constructor Summary
Constructors Constructor Description HeaderElementImpl(SOAPDocumentImpl ownerDoc, QName qname)HeaderElementImpl(SOAPDocumentImpl ownerDoc, javax.xml.soap.Name qname)HeaderElementImpl(SOAPDocumentImpl ownerDoc, Element domElement)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetActor()protected abstract NameImplgetActorAttributeName()protected abstract StringgetActorOrRole()booleangetMustUnderstand()protected abstract NameImplgetMustunderstandAttributeName()protected abstract booleangetMustunderstandAttributeValue(String str)protected abstract StringgetMustunderstandLiteralValue(boolean mu)booleangetRelay()protected abstract NameImplgetRelayAttributeName()protected abstract booleangetRelayAttributeValue(String str)protected abstract StringgetRelayLiteralValue(boolean mu)StringgetRole()protected abstract NameImplgetRoleAttributeName()voidsetActor(String actorUri)voidsetMustUnderstand(boolean mustUnderstand)voidsetParentElement(javax.xml.soap.SOAPElement element)voidsetRelay(boolean relay)voidsetRole(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, appendChild, cloneNode, compareDocumentPosition, convertToSoapElement, convertToSoapText, createElement, createElement, createQName, detachNode, doGetNamespacePrefixes, ensureNamespaceIsDeclared, findAndConvertChildElement, findChild, findEncodingStyleAttributeName, getAllAttributes, getAllAttributesAsQNames, getAllAttributesFrom, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getAttributeValue, getAttributeValueFrom, getBaseURI, getChildElementNodes, getChildElements, getChildElements, getChildElements, getChildElementsFrom, getChildNodes, getDomElement, getElementName, getElementQName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFeature, getFirstChild, getLastChild, getLocalName, getLocalPart, getNamespaceAttr, getNamespaceAttrFrom, getNamespaceContextNodes, getNamespaceContextNodes, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPrefix, getPreviousSibling, getQualifiedName, getSchemaTypeInfo, getSoapDocument, getSOAPNamespace, getTagName, getTextContent, getUserData, getValue, getValueNode, getValueNodeStrict, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, importElement, insertBefore, isDefaultNamespace, isEqualNode, isNamespaceQualified, isNamespaceQualified, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeAttribute, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, replaceElementWithSOAPElement, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setElementQName, setEncodingStyle, setEncodingStyleNamespace, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setValue, tryToFindEncodingStyleAttributeName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValue
-
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
-
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
-
-
-
-
Constructor Detail
-
HeaderElementImpl
public HeaderElementImpl(SOAPDocumentImpl ownerDoc, javax.xml.soap.Name qname)
-
HeaderElementImpl
public HeaderElementImpl(SOAPDocumentImpl ownerDoc, QName qname)
-
HeaderElementImpl
public HeaderElementImpl(SOAPDocumentImpl ownerDoc, Element domElement)
-
-
Method Detail
-
getActorAttributeName
protected abstract NameImpl getActorAttributeName()
-
getRoleAttributeName
protected abstract NameImpl getRoleAttributeName()
-
getMustunderstandAttributeName
protected abstract NameImpl getMustunderstandAttributeName()
-
getMustunderstandAttributeValue
protected abstract boolean getMustunderstandAttributeValue(String str)
-
getMustunderstandLiteralValue
protected abstract String getMustunderstandLiteralValue(boolean mu)
-
getRelayAttributeName
protected abstract NameImpl getRelayAttributeName()
-
getRelayAttributeValue
protected abstract boolean getRelayAttributeValue(String str)
-
getRelayLiteralValue
protected abstract String getRelayLiteralValue(boolean mu)
-
getActorOrRole
protected abstract String getActorOrRole()
-
setParentElement
public void setParentElement(javax.xml.soap.SOAPElement element) throws javax.xml.soap.SOAPException- Specified by:
setParentElementin interfacejavax.xml.soap.Node- Overrides:
setParentElementin classElementImpl- Throws:
javax.xml.soap.SOAPException
-
setActor
public void setActor(String actorUri)
- Specified by:
setActorin interfacejavax.xml.soap.SOAPHeaderElement
-
setRole
public void setRole(String roleUri) throws javax.xml.soap.SOAPException
- Specified by:
setRolein interfacejavax.xml.soap.SOAPHeaderElement- Throws:
javax.xml.soap.SOAPException
-
getActor
public String getActor()
- Specified by:
getActorin interfacejavax.xml.soap.SOAPHeaderElement
-
getRole
public String getRole()
- Specified by:
getRolein interfacejavax.xml.soap.SOAPHeaderElement
-
setMustUnderstand
public void setMustUnderstand(boolean mustUnderstand)
- Specified by:
setMustUnderstandin interfacejavax.xml.soap.SOAPHeaderElement
-
getMustUnderstand
public boolean getMustUnderstand()
- Specified by:
getMustUnderstandin interfacejavax.xml.soap.SOAPHeaderElement
-
setRelay
public void setRelay(boolean relay) throws javax.xml.soap.SOAPException- Specified by:
setRelayin interfacejavax.xml.soap.SOAPHeaderElement- Throws:
javax.xml.soap.SOAPException
-
getRelay
public boolean getRelay()
- Specified by:
getRelayin interfacejavax.xml.soap.SOAPHeaderElement
-
-