Package com.sun.xml.wss.impl.misc
Class SecurityHeaderBlockImpl
java.lang.Object
com.sun.xml.wss.impl.misc.SOAPElementExtension
com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
- All Implemented Interfaces:
SecurityHeaderBlock,jakarta.xml.soap.Node,jakarta.xml.soap.SOAPElement,Element,Node
- Direct Known Subclasses:
BinarySecurityToken,DerivedKeyTokenHeaderBlock,EncryptedKeyToken,EncryptedTypeHeaderBlock,KeyInfoHeaderBlock,ReferenceListHeaderBlock,SamlAssertionHeaderBlock,SecurityContextTokenImpl,SecurityTokenReference,SignatureConfirmationHeaderBlock,SignatureHeaderBlock,Timestamp,UsernameToken
public abstract class SecurityHeaderBlockImpl
extends SOAPElementExtension
implements SecurityHeaderBlock
- Author:
- XWS-Security Development Team
-
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotectedprotectedSecurityHeaderBlockImpl(jakarta.xml.soap.SOAPElement delegateElement) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.soap.SOAPElementaddAttribute(jakarta.xml.soap.Name arg0, String arg1) jakarta.xml.soap.SOAPElementaddChildElement(jakarta.xml.soap.Name arg0) jakarta.xml.soap.SOAPElementaddChildElement(jakarta.xml.soap.SOAPElement arg0) jakarta.xml.soap.SOAPElementaddChildElement(String arg0) jakarta.xml.soap.SOAPElementaddChildElement(String arg0, String arg1) jakarta.xml.soap.SOAPElementaddChildElement(String arg0, String arg1, String arg2) jakarta.xml.soap.SOAPElementaddNamespaceDeclaration(String arg0, String arg1) jakarta.xml.soap.SOAPElementaddTextNode(String arg0) appendChild(Node arg0) cloneNode(boolean arg0) shortcompareDocumentPosition(Node other) voidbooleanstatic SecurityHeaderBlockfromSoapElement(jakarta.xml.soap.SOAPElement element, Class implClass) Iterator<jakarta.xml.soap.Name>jakarta.xml.soap.SOAPElementgetAttribute(String arg0) getAttributeNode(String arg0) getAttributeNodeNS(String arg0, String arg1) getAttributeNS(String arg0, String arg1) getAttributeValue(jakarta.xml.soap.Name arg0) Iterator<jakarta.xml.soap.Node>Iterator<jakarta.xml.soap.Node>getChildElements(jakarta.xml.soap.Name arg0) jakarta.xml.soap.NamegetElementsByTagName(String arg0) getElementsByTagNameNS(String arg0, String arg1) getFeature(String feature, String version) getId()getNamespaceURI(String arg0) shortjakarta.xml.soap.SOAPElementprotected static jakarta.xml.soap.SOAPFactorygetUserData(String key) getValue()booleanhasAttribute(String arg0) booleanhasAttributeNS(String arg0, String arg1) booleanbooleaninsertBefore(Node arg0, Node arg1) booleanisBSP()voidisBSP(boolean flag) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) booleanisSameNode(Node other) booleanisSupported(String arg0, String arg1) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) voidvoidbooleanremoveAttribute(jakarta.xml.soap.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) voidsetEncodingStyle(String arg0) voidsetIdAttribute(String name, boolean isId) voidsetIdAttributeNode(Attr idAttr, boolean isId) voidsetIdAttributeNS(String namespaceURI, String localName, boolean isId) voidsetNodeValue(String arg0) voidsetParentElement(jakarta.xml.soap.SOAPElement arg0) voidprotected voidsetSOAPElement(jakarta.xml.soap.SOAPElement delegateElement) voidsetTextContent(String textContent) setUserData(String key, Object data, UserDataHandler handler) voidprotected voidsetWsuIdAttr(Element element, String wsuId) Methods 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, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.xml.soap.SOAPElement
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName
-
Field Details
-
delegateElement
protected jakarta.xml.soap.SOAPElement delegateElement
-
-
Constructor Details
-
SecurityHeaderBlockImpl
protected SecurityHeaderBlockImpl() -
SecurityHeaderBlockImpl
protected SecurityHeaderBlockImpl(jakarta.xml.soap.SOAPElement delegateElement)
-
-
Method Details
-
setSOAPElement
protected void setSOAPElement(jakarta.xml.soap.SOAPElement delegateElement) -
getId
- Specified by:
getIdin interfaceSecurityHeaderBlock
-
setWsuIdAttr
-
fromSoapElement
public static SecurityHeaderBlock fromSoapElement(jakarta.xml.soap.SOAPElement element, Class implClass) throws XWSSecurityException - Throws:
XWSSecurityException
-
getAsSoapElement
- Specified by:
getAsSoapElementin interfaceSecurityHeaderBlock- Throws:
XWSSecurityException
-
addAttribute
public jakarta.xml.soap.SOAPElement addAttribute(jakarta.xml.soap.Name arg0, String arg1) throws jakarta.xml.soap.SOAPException - Specified by:
addAttributein interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addChildElement
public jakarta.xml.soap.SOAPElement addChildElement(String arg0) throws jakarta.xml.soap.SOAPException - Specified by:
addChildElementin interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addChildElement
public jakarta.xml.soap.SOAPElement addChildElement(String arg0, String arg1) throws jakarta.xml.soap.SOAPException - Specified by:
addChildElementin interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addChildElement
public jakarta.xml.soap.SOAPElement addChildElement(String arg0, String arg1, String arg2) throws jakarta.xml.soap.SOAPException - Specified by:
addChildElementin interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addChildElement
public jakarta.xml.soap.SOAPElement addChildElement(jakarta.xml.soap.Name arg0) throws jakarta.xml.soap.SOAPException - Specified by:
addChildElementin interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addChildElement
public jakarta.xml.soap.SOAPElement addChildElement(jakarta.xml.soap.SOAPElement arg0) throws jakarta.xml.soap.SOAPException - Specified by:
addChildElementin interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addNamespaceDeclaration
public jakarta.xml.soap.SOAPElement addNamespaceDeclaration(String arg0, String arg1) throws jakarta.xml.soap.SOAPException - Specified by:
addNamespaceDeclarationin interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
addTextNode
- Specified by:
addTextNodein interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
cloneNode
-
detachNode
public void detachNode()- Specified by:
detachNodein interfacejakarta.xml.soap.Node
-
equals
-
getAllAttributes
- Specified by:
getAllAttributesin interfacejakarta.xml.soap.SOAPElement
-
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 interfacejakarta.xml.soap.SOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfacejakarta.xml.soap.SOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfacejakarta.xml.soap.SOAPElement
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
getElementName
public jakarta.xml.soap.Name getElementName()- Specified by:
getElementNamein interfacejakarta.xml.soap.SOAPElement
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceElement
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceElement
-
getEncodingStyle
- Specified by:
getEncodingStylein interfacejakarta.xml.soap.SOAPElement
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
getNamespacePrefixes
- Specified by:
getNamespacePrefixesin interfacejakarta.xml.soap.SOAPElement
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfacejakarta.xml.soap.SOAPElement
-
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
public jakarta.xml.soap.SOAPElement getParentElement()- Specified by:
getParentElementin interfacejakarta.xml.soap.Node
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
getPrefix
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-
getTagName
- Specified by:
getTagNamein interfaceElement
-
getValue
- Specified by:
getValuein interfacejakarta.xml.soap.Node
-
getVisibleNamespacePrefixes
- Specified by:
getVisibleNamespacePrefixesin interfacejakarta.xml.soap.SOAPElement
-
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
-
insertBefore
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
isSupported
- Specified by:
isSupportedin interfaceNode
-
normalize
public void normalize() -
recycleNode
public void recycleNode()- Specified by:
recycleNodein interfacejakarta.xml.soap.Node
-
removeAttribute
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
public boolean removeAttribute(jakarta.xml.soap.Name arg0) - Specified by:
removeAttributein interfacejakarta.xml.soap.SOAPElement
-
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 interfacejakarta.xml.soap.SOAPElement
-
removeNamespaceDeclaration
- Specified by:
removeNamespaceDeclarationin interfacejakarta.xml.soap.SOAPElement
-
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 interfacejakarta.xml.soap.SOAPElement- Throws:
jakarta.xml.soap.SOAPException
-
setNodeValue
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
setParentElement
public void setParentElement(jakarta.xml.soap.SOAPElement arg0) throws jakarta.xml.soap.SOAPException - Specified by:
setParentElementin interfacejakarta.xml.soap.Node- Throws:
jakarta.xml.soap.SOAPException
-
setPrefix
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
setValue
- Specified by:
setValuein interfacejakarta.xml.soap.Node
-
getSoapFactory
protected static jakarta.xml.soap.SOAPFactory getSoapFactory() -
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
-
isBSP
public void isBSP(boolean flag) -
isBSP
public boolean isBSP() -
getAllAttributesAsQNames
- Specified by:
getAllAttributesAsQNamesin interfacejakarta.xml.soap.SOAPElement
-