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
Fields Modifier and Type Field Description protected jakarta.xml.soap.SOAPElement
delegateElement
-
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 Modifier Constructor Description protected
SecurityHeaderBlockImpl()
protected
SecurityHeaderBlockImpl(jakarta.xml.soap.SOAPElement delegateElement)
-
Method Summary
-
Methods inherited from class com.sun.xml.wss.impl.misc.SOAPElementExtension
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName
-
-
-
-
Method Detail
-
setSOAPElement
protected void setSOAPElement(jakarta.xml.soap.SOAPElement delegateElement)
-
getId
public String getId()
- Specified by:
getId
in interfaceSecurityHeaderBlock
-
fromSoapElement
public static SecurityHeaderBlock fromSoapElement(jakarta.xml.soap.SOAPElement element, Class implClass) throws XWSSecurityException
- Throws:
XWSSecurityException
-
getAsSoapElement
public jakarta.xml.soap.SOAPElement getAsSoapElement() throws XWSSecurityException
- Specified by:
getAsSoapElement
in interfaceSecurityHeaderBlock
- Throws:
XWSSecurityException
-
addAttribute
public jakarta.xml.soap.SOAPElement addAttribute(jakarta.xml.soap.Name arg0, String arg1) throws jakarta.xml.soap.SOAPException
- Specified by:
addAttribute
in 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:
addChildElement
in 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:
addChildElement
in 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:
addChildElement
in 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:
addChildElement
in 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:
addChildElement
in 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:
addNamespaceDeclaration
in interfacejakarta.xml.soap.SOAPElement
- Throws:
jakarta.xml.soap.SOAPException
-
addTextNode
public jakarta.xml.soap.SOAPElement addTextNode(String arg0) throws jakarta.xml.soap.SOAPException
- Specified by:
addTextNode
in interfacejakarta.xml.soap.SOAPElement
- Throws:
jakarta.xml.soap.SOAPException
-
appendChild
public Node appendChild(Node arg0) throws DOMException
- Specified by:
appendChild
in interfaceNode
- Throws:
DOMException
-
detachNode
public void detachNode()
- Specified by:
detachNode
in interfacejakarta.xml.soap.Node
-
getAllAttributes
public Iterator getAllAttributes()
- Specified by:
getAllAttributes
in interfacejakarta.xml.soap.SOAPElement
-
getAttribute
public String getAttribute(String arg0)
- Specified by:
getAttribute
in interfaceElement
-
getAttributeNode
public Attr getAttributeNode(String arg0)
- Specified by:
getAttributeNode
in interfaceElement
-
getAttributeNodeNS
public Attr getAttributeNodeNS(String arg0, String arg1)
- Specified by:
getAttributeNodeNS
in interfaceElement
-
getAttributeNS
public String getAttributeNS(String arg0, String arg1)
- Specified by:
getAttributeNS
in interfaceElement
-
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributes
in interfaceNode
-
getAttributeValue
public String getAttributeValue(jakarta.xml.soap.Name arg0)
- Specified by:
getAttributeValue
in interfacejakarta.xml.soap.SOAPElement
-
getChildElements
public Iterator getChildElements()
- Specified by:
getChildElements
in interfacejakarta.xml.soap.SOAPElement
-
getChildElements
public Iterator getChildElements(jakarta.xml.soap.Name arg0)
- Specified by:
getChildElements
in interfacejakarta.xml.soap.SOAPElement
-
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes
in interfaceNode
-
getElementName
public jakarta.xml.soap.Name getElementName()
- Specified by:
getElementName
in interfacejakarta.xml.soap.SOAPElement
-
getElementsByTagName
public NodeList getElementsByTagName(String arg0)
- Specified by:
getElementsByTagName
in interfaceElement
-
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String arg0, String arg1)
- Specified by:
getElementsByTagNameNS
in interfaceElement
-
getEncodingStyle
public String getEncodingStyle()
- Specified by:
getEncodingStyle
in interfacejakarta.xml.soap.SOAPElement
-
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild
in interfaceNode
-
getLastChild
public Node getLastChild()
- Specified by:
getLastChild
in interfaceNode
-
getLocalName
public String getLocalName()
- Specified by:
getLocalName
in interfaceNode
-
getNamespacePrefixes
public Iterator getNamespacePrefixes()
- Specified by:
getNamespacePrefixes
in interfacejakarta.xml.soap.SOAPElement
-
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURI
in interfaceNode
-
getNamespaceURI
public String getNamespaceURI(String arg0)
- Specified by:
getNamespaceURI
in interfacejakarta.xml.soap.SOAPElement
-
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSibling
in interfaceNode
-
getNodeName
public String getNodeName()
- Specified by:
getNodeName
in interfaceNode
-
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interfaceNode
-
getNodeValue
public String getNodeValue() throws DOMException
- Specified by:
getNodeValue
in interfaceNode
- Throws:
DOMException
-
getOwnerDocument
public Document getOwnerDocument()
- Specified by:
getOwnerDocument
in interfaceNode
-
getParentElement
public jakarta.xml.soap.SOAPElement getParentElement()
- Specified by:
getParentElement
in interfacejakarta.xml.soap.Node
-
getParentNode
public Node getParentNode()
- Specified by:
getParentNode
in interfaceNode
-
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSibling
in interfaceNode
-
getTagName
public String getTagName()
- Specified by:
getTagName
in interfaceElement
-
getValue
public String getValue()
- Specified by:
getValue
in interfacejakarta.xml.soap.Node
-
getVisibleNamespacePrefixes
public Iterator getVisibleNamespacePrefixes()
- Specified by:
getVisibleNamespacePrefixes
in interfacejakarta.xml.soap.SOAPElement
-
hasAttribute
public boolean hasAttribute(String arg0)
- Specified by:
hasAttribute
in interfaceElement
-
hasAttributeNS
public boolean hasAttributeNS(String arg0, String arg1)
- Specified by:
hasAttributeNS
in interfaceElement
-
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributes
in interfaceNode
-
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes
in interfaceNode
-
insertBefore
public Node insertBefore(Node arg0, Node arg1) throws DOMException
- Specified by:
insertBefore
in interfaceNode
- Throws:
DOMException
-
isSupported
public boolean isSupported(String arg0, String arg1)
- Specified by:
isSupported
in interfaceNode
-
recycleNode
public void recycleNode()
- Specified by:
recycleNode
in interfacejakarta.xml.soap.Node
-
removeAttribute
public void removeAttribute(String arg0) throws DOMException
- Specified by:
removeAttribute
in interfaceElement
- Throws:
DOMException
-
removeAttribute
public boolean removeAttribute(jakarta.xml.soap.Name arg0)
- Specified by:
removeAttribute
in interfacejakarta.xml.soap.SOAPElement
-
removeAttributeNode
public Attr removeAttributeNode(Attr arg0) throws DOMException
- Specified by:
removeAttributeNode
in interfaceElement
- Throws:
DOMException
-
removeAttributeNS
public void removeAttributeNS(String arg0, String arg1) throws DOMException
- Specified by:
removeAttributeNS
in interfaceElement
- Throws:
DOMException
-
removeChild
public Node removeChild(Node arg0) throws DOMException
- Specified by:
removeChild
in interfaceNode
- Throws:
DOMException
-
removeContents
public void removeContents()
- Specified by:
removeContents
in interfacejakarta.xml.soap.SOAPElement
-
removeNamespaceDeclaration
public boolean removeNamespaceDeclaration(String arg0)
- Specified by:
removeNamespaceDeclaration
in interfacejakarta.xml.soap.SOAPElement
-
replaceChild
public Node replaceChild(Node arg0, Node arg1) throws DOMException
- Specified by:
replaceChild
in interfaceNode
- Throws:
DOMException
-
setAttribute
public void setAttribute(String arg0, String arg1) throws DOMException
- Specified by:
setAttribute
in interfaceElement
- Throws:
DOMException
-
setAttributeNode
public Attr setAttributeNode(Attr arg0) throws DOMException
- Specified by:
setAttributeNode
in interfaceElement
- Throws:
DOMException
-
setAttributeNodeNS
public Attr setAttributeNodeNS(Attr arg0) throws DOMException
- Specified by:
setAttributeNodeNS
in interfaceElement
- Throws:
DOMException
-
setAttributeNS
public void setAttributeNS(String arg0, String arg1, String arg2) throws DOMException
- Specified by:
setAttributeNS
in interfaceElement
- Throws:
DOMException
-
setEncodingStyle
public void setEncodingStyle(String arg0) throws jakarta.xml.soap.SOAPException
- Specified by:
setEncodingStyle
in interfacejakarta.xml.soap.SOAPElement
- Throws:
jakarta.xml.soap.SOAPException
-
setNodeValue
public void setNodeValue(String arg0) throws DOMException
- Specified by:
setNodeValue
in interfaceNode
- Throws:
DOMException
-
setParentElement
public void setParentElement(jakarta.xml.soap.SOAPElement arg0) throws jakarta.xml.soap.SOAPException
- Specified by:
setParentElement
in interfacejakarta.xml.soap.Node
- Throws:
jakarta.xml.soap.SOAPException
-
setPrefix
public void setPrefix(String arg0) throws DOMException
- Specified by:
setPrefix
in interfaceNode
- Throws:
DOMException
-
setValue
public void setValue(String arg0)
- Specified by:
setValue
in interfacejakarta.xml.soap.Node
-
getSoapFactory
protected static jakarta.xml.soap.SOAPFactory getSoapFactory()
-
getBaseURI
public String getBaseURI()
- Specified by:
getBaseURI
in interfaceNode
-
compareDocumentPosition
public short compareDocumentPosition(Node other) throws DOMException
- Specified by:
compareDocumentPosition
in interfaceNode
- Throws:
DOMException
-
getTextContent
public String getTextContent() throws DOMException
- Specified by:
getTextContent
in interfaceNode
- Throws:
DOMException
-
setTextContent
public void setTextContent(String textContent) throws DOMException
- Specified by:
setTextContent
in interfaceNode
- Throws:
DOMException
-
isSameNode
public boolean isSameNode(Node other)
- Specified by:
isSameNode
in interfaceNode
-
lookupPrefix
public String lookupPrefix(String namespaceURI)
- Specified by:
lookupPrefix
in interfaceNode
-
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
- Specified by:
isDefaultNamespace
in interfaceNode
-
lookupNamespaceURI
public String lookupNamespaceURI(String prefix)
- Specified by:
lookupNamespaceURI
in interfaceNode
-
isEqualNode
public boolean isEqualNode(Node arg)
- Specified by:
isEqualNode
in interfaceNode
-
getFeature
public Object getFeature(String feature, String version)
- Specified by:
getFeature
in interfaceNode
-
setUserData
public Object setUserData(String key, Object data, UserDataHandler handler)
- Specified by:
setUserData
in interfaceNode
-
getUserData
public Object getUserData(String key)
- Specified by:
getUserData
in interfaceNode
-
setIdAttribute
public void setIdAttribute(String name, boolean isId) throws DOMException
- Specified by:
setIdAttribute
in interfaceElement
- Throws:
DOMException
-
setIdAttributeNode
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException
- Specified by:
setIdAttributeNode
in interfaceElement
- Throws:
DOMException
-
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI, String localName, boolean isId) throws DOMException
- Specified by:
setIdAttributeNS
in interfaceElement
- Throws:
DOMException
-
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
- Specified by:
getSchemaTypeInfo
in interfaceElement
-
isBSP
public void isBSP(boolean flag)
-
isBSP
public boolean isBSP()
-
getAllAttributesAsQNames
public Iterator getAllAttributesAsQNames()
- Specified by:
getAllAttributesAsQNames
in interfacejakarta.xml.soap.SOAPElement
-
-