Package com.sun.xml.wss.core
Class SecurityHeader
java.lang.Object
com.sun.xml.wss.impl.misc.SOAPElementExtension
com.sun.xml.wss.core.SecurityHeader
- All Implemented Interfaces:
Node,SOAPElement,Element,Node
- Author:
- XWS-Security Development Team
-
Field Summary
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 -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute(Name arg0, String arg1) addChildElement(Name arg0) addChildElement(SOAPElement arg0) addChildElement(String arg0) addChildElement(String arg0, String arg1) addChildElement(String arg0, String arg1, String arg2) addNamespaceDeclaration(String arg0, String arg1) addTextNode(String arg0) voidappendChild(SecurityHeaderBlock block) appendChild(Node arg0) cloneNode(boolean arg0) shortcompareDocumentPosition(Node other) voidbooleangetAttribute(String arg0) getAttributeNode(String arg0) getAttributeNodeNS(String arg0, String arg1) getAttributeNS(String arg0, String arg1) getAttributeValue(Name arg0) getChildElements(Name arg0) getCurrentHeaderBlock(Class implType) Get the header block to be processed next.getElementsByTagName(String arg0) getElementsByTagNameNS(String arg0, String arg1) getFeature(String feature, String version) getNamespaceURI(String arg0) shortgetRole()getUserData(String key) getValue()booleanhasAttribute(String arg0) booleanhasAttributeNS(String arg0, String arg1) booleanbooleaninthashCode()voidinsertBefore(SecurityHeaderBlock block, Node elem) insertBefore(Node arg0, Node arg1) voidInserts the header block at the top of the security header, i.e, the block becomes the first child element of the security header.voidinsertHeaderBlockElement(SOAPElement blockElement) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) booleanbooleanisSameNode(Node other) booleanisSupported(String arg0, String arg1) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) makeUsable(SOAPElement elem) voidvoidbooleanremoveAttribute(Name arg0) voidremoveAttribute(String arg0) removeAttributeNode(Attr arg0) voidremoveAttributeNS(String arg0, String arg1) removeChild(Node arg0) voidbooleanreplaceChild(Node arg0, Node arg1) voidsetAttribute(String arg0, String arg1) setAttributeNode(Attr arg0) setAttributeNodeNS(Attr arg0) voidsetAttributeNS(String arg0, String arg1, String arg2) voidsetCurrentHeaderElement(SOAPElement currentElement) voidsetEncodingStyle(String arg0) voidsetIdAttribute(String name, boolean isId) voidsetIdAttributeNode(Attr idAttr, boolean isId) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) voidsetMustUnderstand(boolean mustUnderstand) voidsetNodeValue(String arg0) voidsetParentElement(SOAPElement arg0) voidvoidvoidsetTextContent(String textContent) setUserData(String key, Object data, UserDataHandler handler) voidtoString()voidMethods inherited from class com.sun.xml.wss.impl.misc.SOAPElementExtension
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.xml.soap.SOAPElement
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName
-
Constructor Details
-
SecurityHeader
-
-
Method Details
-
insertHeaderBlock
Inserts the header block at the top of the security header, i.e, the block becomes the first child element of the security header. This method will be used on the sender side.- Throws:
XWSSecurityException
-
insertBefore
- Throws:
XWSSecurityException
-
appendChild
- Throws:
XWSSecurityException
-
insertHeaderBlockElement
- Throws:
XWSSecurityException
-
getCurrentHeaderBlock
Get the header block to be processed next. This method will be used on the receiver side.- Throws:
XWSSecurityException
-
getCurrentHeaderBlockElement
-
setCurrentHeaderElement
- Throws:
XWSSecurityException
-
getCurrentHeaderElement
-
updateTopMostSoapElement
public void updateTopMostSoapElement() -
getFirstChildElement
-
getNextSiblingOfTimestamp
-
getAsSoapElement
-
setRole
-
getRole
-
setMustUnderstand
public void setMustUnderstand(boolean mustUnderstand) -
isMustUnderstand
public boolean isMustUnderstand() -
addAttribute
- Specified by:
addAttributein interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addChildElement
- Specified by:
addChildElementin interfaceSOAPElement- Throws:
SOAPException
-
addNamespaceDeclaration
- Specified by:
addNamespaceDeclarationin interfaceSOAPElement- Throws:
SOAPException
-
addTextNode
- Specified by:
addTextNodein interfaceSOAPElement- Throws:
SOAPException
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
makeUsable
- Throws:
XWSSecurityException
-
cloneNode
-
detachNode
public void detachNode()- Specified by:
detachNodein interfaceNode
-
equals
-
getAllAttributes
- Specified by:
getAllAttributesin interfaceSOAPElement
-
getAttribute
- Specified by:
getAttributein interfaceElement
-
getAttributeNode
- Specified by:
getAttributeNodein interfaceElement
-
getAttributeNodeNS
- Specified by:
getAttributeNodeNSin interfaceElement
-
getAttributeNS
- Specified by:
getAttributeNSin interfaceElement
-
getAttributes
- Specified by:
getAttributesin interfaceNode
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceSOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfaceSOAPElement
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
getElementName
- Specified by:
getElementNamein interfaceSOAPElement
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceElement
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceElement
-
getEncodingStyle
- Specified by:
getEncodingStylein interfaceSOAPElement
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
getNamespacePrefixes
- Specified by:
getNamespacePrefixesin interfaceSOAPElement
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceSOAPElement
-
getNextSibling
- Specified by:
getNextSiblingin interfaceNode
-
getNodeName
- Specified by:
getNodeNamein interfaceNode
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode
-
getNodeValue
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
getOwnerDocument
- Specified by:
getOwnerDocumentin interfaceNode
-
getParentElement
- Specified by:
getParentElementin interfaceNode
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
getPrefix
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-
getTagName
- Specified by:
getTagNamein interfaceElement
-
getValue
-
getVisibleNamespacePrefixes
- Specified by:
getVisibleNamespacePrefixesin interfaceSOAPElement
-
hasAttribute
- Specified by:
hasAttributein interfaceElement
-
hasAttributeNS
- Specified by:
hasAttributeNSin interfaceElement
-
hasAttributes
public boolean hasAttributes()- Specified by:
hasAttributesin interfaceNode
-
hasChildNodes
public boolean hasChildNodes()- Specified by:
hasChildNodesin interfaceNode
-
hashCode
public int hashCode() -
insertBefore
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
isSupported
- Specified by:
isSupportedin interfaceNode
-
normalize
public void normalize() -
recycleNode
public void recycleNode()- Specified by:
recycleNodein interfaceNode
-
removeAttribute
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
- Specified by:
removeAttributein interfaceSOAPElement
-
removeAttributeNode
- Specified by:
removeAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttributeNS
- Specified by:
removeAttributeNSin interfaceElement- Throws:
DOMException
-
removeChild
- Specified by:
removeChildin interfaceNode- Throws:
DOMException
-
removeContents
public void removeContents()- Specified by:
removeContentsin interfaceSOAPElement
-
removeNamespaceDeclaration
- Specified by:
removeNamespaceDeclarationin interfaceSOAPElement
-
replaceChild
- Specified by:
replaceChildin interfaceNode- Throws:
DOMException
-
setAttribute
- Specified by:
setAttributein interfaceElement- Throws:
DOMException
-
setAttributeNode
- Specified by:
setAttributeNodein interfaceElement- Throws:
DOMException
-
setAttributeNodeNS
- Specified by:
setAttributeNodeNSin interfaceElement- Throws:
DOMException
-
setAttributeNS
- Specified by:
setAttributeNSin interfaceElement- Throws:
DOMException
-
setEncodingStyle
- Specified by:
setEncodingStylein interfaceSOAPElement- Throws:
SOAPException
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
setParentElement
- Specified by:
setParentElementin interfaceNode- Throws:
SOAPException
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
setValue
-
toString
-
getBaseURI
- Specified by:
getBaseURIin interfaceNode
-
compareDocumentPosition
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
getTextContent
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
setTextContent
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
isSameNode
- Specified by:
isSameNodein interfaceNode
-
lookupPrefix
- Specified by:
lookupPrefixin interfaceNode
-
isDefaultNamespace
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupNamespaceURI
- Specified by:
lookupNamespaceURIin interfaceNode
-
isEqualNode
- Specified by:
isEqualNodein interfaceNode
-
getFeature
- Specified by:
getFeaturein interfaceNode
-
setUserData
- Specified by:
setUserDatain interfaceNode
-
getUserData
- Specified by:
getUserDatain interfaceNode
-
setIdAttribute
- Specified by:
setIdAttributein interfaceElement- Throws:
DOMException
-
setIdAttributeNode
- Specified by:
setIdAttributeNodein interfaceElement- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException - Specified by:
setIdAttributeNSin interfaceElement- Throws:
DOMException
-
getSchemaTypeInfo
- Specified by:
getSchemaTypeInfoin interfaceElement
-
getAllAttributesAsQNames
- Specified by:
getAllAttributesAsQNamesin interfaceSOAPElement
-