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,javax.xml.soap.Node,javax.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 javax.xml.soap.SOAPElementdelegateElement-
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 protectedSecurityHeaderBlockImpl()protectedSecurityHeaderBlockImpl(javax.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(javax.xml.soap.SOAPElement delegateElement)
-
getId
public String getId()
- Specified by:
getIdin interfaceSecurityHeaderBlock
-
fromSoapElement
public static SecurityHeaderBlock fromSoapElement(javax.xml.soap.SOAPElement element, Class implClass) throws com.sun.xml.wss.XWSSecurityException
- Throws:
com.sun.xml.wss.XWSSecurityException
-
getAsSoapElement
public javax.xml.soap.SOAPElement getAsSoapElement() throws com.sun.xml.wss.XWSSecurityException- Specified by:
getAsSoapElementin interfaceSecurityHeaderBlock- Throws:
com.sun.xml.wss.XWSSecurityException
-
addAttribute
public javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name arg0, String arg1) throws javax.xml.soap.SOAPException- Specified by:
addAttributein interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addChildElement
public javax.xml.soap.SOAPElement addChildElement(String arg0) throws javax.xml.soap.SOAPException
- Specified by:
addChildElementin interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addChildElement
public javax.xml.soap.SOAPElement addChildElement(String arg0, String arg1) throws javax.xml.soap.SOAPException
- Specified by:
addChildElementin interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addChildElement
public javax.xml.soap.SOAPElement addChildElement(String arg0, String arg1, String arg2) throws javax.xml.soap.SOAPException
- Specified by:
addChildElementin interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addChildElement
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name arg0) throws javax.xml.soap.SOAPException- Specified by:
addChildElementin interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addChildElement
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement arg0) throws javax.xml.soap.SOAPException- Specified by:
addChildElementin interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addNamespaceDeclaration
public javax.xml.soap.SOAPElement addNamespaceDeclaration(String arg0, String arg1) throws javax.xml.soap.SOAPException
- Specified by:
addNamespaceDeclarationin interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
addTextNode
public javax.xml.soap.SOAPElement addTextNode(String arg0) throws javax.xml.soap.SOAPException
- Specified by:
addTextNodein interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
appendChild
public Node appendChild(Node arg0) throws DOMException
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
detachNode
public void detachNode()
- Specified by:
detachNodein interfacejavax.xml.soap.Node
-
getAllAttributes
public Iterator getAllAttributes()
- Specified by:
getAllAttributesin interfacejavax.xml.soap.SOAPElement
-
getAttribute
public String getAttribute(String arg0)
- Specified by:
getAttributein interfaceElement
-
getAttributeNode
public Attr getAttributeNode(String arg0)
- Specified by:
getAttributeNodein interfaceElement
-
getAttributeNodeNS
public Attr getAttributeNodeNS(String arg0, String arg1)
- Specified by:
getAttributeNodeNSin interfaceElement
-
getAttributeNS
public String getAttributeNS(String arg0, String arg1)
- Specified by:
getAttributeNSin interfaceElement
-
getAttributes
public NamedNodeMap getAttributes()
- Specified by:
getAttributesin interfaceNode
-
getAttributeValue
public String getAttributeValue(javax.xml.soap.Name arg0)
- Specified by:
getAttributeValuein interfacejavax.xml.soap.SOAPElement
-
getChildElements
public Iterator getChildElements()
- Specified by:
getChildElementsin interfacejavax.xml.soap.SOAPElement
-
getChildElements
public Iterator getChildElements(javax.xml.soap.Name arg0)
- Specified by:
getChildElementsin interfacejavax.xml.soap.SOAPElement
-
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodesin interfaceNode
-
getElementName
public javax.xml.soap.Name getElementName()
- Specified by:
getElementNamein interfacejavax.xml.soap.SOAPElement
-
getElementsByTagName
public NodeList getElementsByTagName(String arg0)
- Specified by:
getElementsByTagNamein interfaceElement
-
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String arg0, String arg1)
- Specified by:
getElementsByTagNameNSin interfaceElement
-
getEncodingStyle
public String getEncodingStyle()
- Specified by:
getEncodingStylein interfacejavax.xml.soap.SOAPElement
-
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
public Node getLastChild()
- Specified by:
getLastChildin interfaceNode
-
getLocalName
public String getLocalName()
- Specified by:
getLocalNamein interfaceNode
-
getNamespacePrefixes
public Iterator getNamespacePrefixes()
- Specified by:
getNamespacePrefixesin interfacejavax.xml.soap.SOAPElement
-
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURIin interfaceNode
-
getNamespaceURI
public String getNamespaceURI(String arg0)
- Specified by:
getNamespaceURIin interfacejavax.xml.soap.SOAPElement
-
getNextSibling
public Node getNextSibling()
- Specified by:
getNextSiblingin interfaceNode
-
getNodeName
public String getNodeName()
- Specified by:
getNodeNamein interfaceNode
-
getNodeType
public short getNodeType()
- Specified by:
getNodeTypein interfaceNode
-
getNodeValue
public String getNodeValue() throws DOMException
- Specified by:
getNodeValuein interfaceNode- Throws:
DOMException
-
getOwnerDocument
public Document getOwnerDocument()
- Specified by:
getOwnerDocumentin interfaceNode
-
getParentElement
public javax.xml.soap.SOAPElement getParentElement()
- Specified by:
getParentElementin interfacejavax.xml.soap.Node
-
getParentNode
public Node getParentNode()
- Specified by:
getParentNodein interfaceNode
-
getPreviousSibling
public Node getPreviousSibling()
- Specified by:
getPreviousSiblingin interfaceNode
-
getTagName
public String getTagName()
- Specified by:
getTagNamein interfaceElement
-
getValue
public String getValue()
- Specified by:
getValuein interfacejavax.xml.soap.Node
-
getVisibleNamespacePrefixes
public Iterator getVisibleNamespacePrefixes()
- Specified by:
getVisibleNamespacePrefixesin interfacejavax.xml.soap.SOAPElement
-
hasAttribute
public boolean hasAttribute(String arg0)
- Specified by:
hasAttributein interfaceElement
-
hasAttributeNS
public boolean hasAttributeNS(String arg0, String arg1)
- Specified by:
hasAttributeNSin interfaceElement
-
hasAttributes
public boolean hasAttributes()
- Specified by:
hasAttributesin interfaceNode
-
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodesin interfaceNode
-
insertBefore
public Node insertBefore(Node arg0, Node arg1) throws DOMException
- Specified by:
insertBeforein interfaceNode- Throws:
DOMException
-
isSupported
public boolean isSupported(String arg0, String arg1)
- Specified by:
isSupportedin interfaceNode
-
recycleNode
public void recycleNode()
- Specified by:
recycleNodein interfacejavax.xml.soap.Node
-
removeAttribute
public void removeAttribute(String arg0) throws DOMException
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
public boolean removeAttribute(javax.xml.soap.Name arg0)
- Specified by:
removeAttributein interfacejavax.xml.soap.SOAPElement
-
removeAttributeNode
public Attr removeAttributeNode(Attr arg0) throws DOMException
- Specified by:
removeAttributeNodein interfaceElement- Throws:
DOMException
-
removeAttributeNS
public void removeAttributeNS(String arg0, String arg1) throws DOMException
- Specified by:
removeAttributeNSin interfaceElement- Throws:
DOMException
-
removeChild
public Node removeChild(Node arg0) throws DOMException
- Specified by:
removeChildin interfaceNode- Throws:
DOMException
-
removeContents
public void removeContents()
- Specified by:
removeContentsin interfacejavax.xml.soap.SOAPElement
-
removeNamespaceDeclaration
public boolean removeNamespaceDeclaration(String arg0)
- Specified by:
removeNamespaceDeclarationin interfacejavax.xml.soap.SOAPElement
-
replaceChild
public Node replaceChild(Node arg0, Node arg1) throws DOMException
- Specified by:
replaceChildin interfaceNode- Throws:
DOMException
-
setAttribute
public void setAttribute(String arg0, String arg1) throws DOMException
- Specified by:
setAttributein interfaceElement- Throws:
DOMException
-
setAttributeNode
public Attr setAttributeNode(Attr arg0) throws DOMException
- Specified by:
setAttributeNodein interfaceElement- Throws:
DOMException
-
setAttributeNodeNS
public Attr setAttributeNodeNS(Attr arg0) throws DOMException
- Specified by:
setAttributeNodeNSin interfaceElement- Throws:
DOMException
-
setAttributeNS
public void setAttributeNS(String arg0, String arg1, String arg2) throws DOMException
- Specified by:
setAttributeNSin interfaceElement- Throws:
DOMException
-
setEncodingStyle
public void setEncodingStyle(String arg0) throws javax.xml.soap.SOAPException
- Specified by:
setEncodingStylein interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
setNodeValue
public void setNodeValue(String arg0) throws DOMException
- Specified by:
setNodeValuein interfaceNode- Throws:
DOMException
-
setParentElement
public void setParentElement(javax.xml.soap.SOAPElement arg0) throws javax.xml.soap.SOAPException- Specified by:
setParentElementin interfacejavax.xml.soap.Node- Throws:
javax.xml.soap.SOAPException
-
setPrefix
public void setPrefix(String arg0) throws DOMException
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
setValue
public void setValue(String arg0)
- Specified by:
setValuein interfacejavax.xml.soap.Node
-
getSoapFactory
protected static javax.xml.soap.SOAPFactory getSoapFactory()
-
getBaseURI
public String getBaseURI()
- Specified by:
getBaseURIin interfaceNode
-
compareDocumentPosition
public short compareDocumentPosition(Node other) throws DOMException
- Specified by:
compareDocumentPositionin interfaceNode- Throws:
DOMException
-
getTextContent
public String getTextContent() throws DOMException
- Specified by:
getTextContentin interfaceNode- Throws:
DOMException
-
setTextContent
public void setTextContent(String textContent) throws DOMException
- Specified by:
setTextContentin interfaceNode- Throws:
DOMException
-
isSameNode
public boolean isSameNode(Node other)
- Specified by:
isSameNodein interfaceNode
-
lookupPrefix
public String lookupPrefix(String namespaceURI)
- Specified by:
lookupPrefixin interfaceNode
-
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
- Specified by:
isDefaultNamespacein interfaceNode
-
lookupNamespaceURI
public String lookupNamespaceURI(String prefix)
- Specified by:
lookupNamespaceURIin interfaceNode
-
isEqualNode
public boolean isEqualNode(Node arg)
- Specified by:
isEqualNodein interfaceNode
-
getFeature
public Object getFeature(String feature, String version)
- Specified by:
getFeaturein interfaceNode
-
setUserData
public Object setUserData(String key, Object data, UserDataHandler handler)
- Specified by:
setUserDatain interfaceNode
-
getUserData
public Object getUserData(String key)
- Specified by:
getUserDatain interfaceNode
-
setIdAttribute
public void setIdAttribute(String name, boolean isId) throws DOMException
- Specified by:
setIdAttributein interfaceElement- Throws:
DOMException
-
setIdAttributeNode
public void setIdAttributeNode(Attr idAttr, boolean isId) throws DOMException
- 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
public TypeInfo getSchemaTypeInfo()
- Specified by:
getSchemaTypeInfoin interfaceElement
-
isBSP
public void isBSP(boolean flag)
-
isBSP
public boolean isBSP()
-
getAllAttributesAsQNames
public Iterator getAllAttributesAsQNames()
- Specified by:
getAllAttributesAsQNamesin interfacejavax.xml.soap.SOAPElement
-
-