Package com.sun.xml.wss.core
Class ReferenceElement
java.lang.Object
com.sun.xml.wss.impl.misc.SOAPElementExtension
com.sun.xml.wss.core.ReferenceElement
- Direct Known Subclasses:
DirectReference,EmbeddedReference,KeyIdentifier,X509IssuerSerial
public abstract class ReferenceElement
extends SOAPElementExtension
implements javax.xml.soap.SOAPElement
- Author:
- Vishal Mahajan
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.xml.soap.SOAPElementprotected static final javax.xml.soap.SOAPFactoryFields 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 TypeMethodDescriptionjavax.xml.soap.SOAPElementaddAttribute(javax.xml.soap.Name arg0, String arg1) javax.xml.soap.SOAPElementaddChildElement(String arg0) javax.xml.soap.SOAPElementaddChildElement(String arg0, String arg1) javax.xml.soap.SOAPElementaddChildElement(String arg0, String arg1, String arg2) javax.xml.soap.SOAPElementaddChildElement(javax.xml.soap.Name arg0) javax.xml.soap.SOAPElementaddChildElement(javax.xml.soap.SOAPElement arg0) javax.xml.soap.SOAPElementaddNamespaceDeclaration(String arg0, String arg1) javax.xml.soap.SOAPElementaddTextNode(String arg0) appendChild(Node arg0) cloneNode(boolean arg0) shortcompareDocumentPosition(Node other) voidbooleanjavax.xml.soap.SOAPElementgetAttribute(String arg0) getAttributeNode(String arg0) getAttributeNodeNS(String arg0, String arg1) getAttributeNS(String arg0, String arg1) getAttributeValue(javax.xml.soap.Name arg0) getChildElements(javax.xml.soap.Name arg0) javax.xml.soap.NamegetElementsByTagName(String arg0) getElementsByTagNameNS(String arg0, String arg1) getFeature(String feature, String version) getNamespaceURI(String arg0) shortjavax.xml.soap.SOAPElementgetUserData(String key) getValue()booleanhasAttribute(String arg0) booleanhasAttributeNS(String arg0, String arg1) booleanbooleaninthashCode()insertBefore(Node arg0, Node arg1) booleanisDefaultNamespace(String namespaceURI) booleanisEqualNode(Node arg) booleanisSameNode(Node other) booleanisSupported(String arg0, String arg1) lookupNamespaceURI(String prefix) lookupPrefix(String namespaceURI) voidvoidvoidremoveAttribute(String arg0) booleanremoveAttribute(javax.xml.soap.Name 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(javax.xml.soap.SOAPElement arg0) voidprotected voidsetSOAPElement(javax.xml.soap.SOAPElement delegateElement) voidsetTextContent(String textContent) setUserData(String key, Object data, UserDataHandler handler) voidtoString()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, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.soap.SOAPElement
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName
-
Field Details
-
delegateElement
protected javax.xml.soap.SOAPElement delegateElement -
soapFactory
protected static final javax.xml.soap.SOAPFactory soapFactory
-
-
Constructor Details
-
ReferenceElement
public ReferenceElement()
-
-
Method Details
-
setSOAPElement
protected void setSOAPElement(javax.xml.soap.SOAPElement delegateElement) -
getAsSoapElement
public javax.xml.soap.SOAPElement getAsSoapElement() throws com.sun.xml.wss.XWSSecurityException- 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
- 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
- Specified by:
addTextNodein interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
appendChild
- Specified by:
appendChildin interfaceNode- Throws:
DOMException
-
cloneNode
-
detachNode
public void detachNode()- Specified by:
detachNodein interfacejavax.xml.soap.Node
-
equals
-
getAllAttributes
- Specified by:
getAllAttributesin interfacejavax.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 interfacejavax.xml.soap.SOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfacejavax.xml.soap.SOAPElement
-
getChildElements
- Specified by:
getChildElementsin interfacejavax.xml.soap.SOAPElement
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode
-
getElementName
public javax.xml.soap.Name getElementName()- Specified by:
getElementNamein interfacejavax.xml.soap.SOAPElement
-
getElementsByTagName
- Specified by:
getElementsByTagNamein interfaceElement
-
getElementsByTagNameNS
- Specified by:
getElementsByTagNameNSin interfaceElement
-
getEncodingStyle
- Specified by:
getEncodingStylein interfacejavax.xml.soap.SOAPElement
-
getFirstChild
- Specified by:
getFirstChildin interfaceNode
-
getLastChild
- Specified by:
getLastChildin interfaceNode
-
getLocalName
- Specified by:
getLocalNamein interfaceNode
-
getNamespacePrefixes
- Specified by:
getNamespacePrefixesin interfacejavax.xml.soap.SOAPElement
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceNode
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfacejavax.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 javax.xml.soap.SOAPElement getParentElement()- Specified by:
getParentElementin interfacejavax.xml.soap.Node
-
getParentNode
- Specified by:
getParentNodein interfaceNode
-
getPrefix
-
getPreviousSibling
- Specified by:
getPreviousSiblingin interfaceNode
-
getTagName
- Specified by:
getTagNamein interfaceElement
-
getValue
- Specified by:
getValuein interfacejavax.xml.soap.Node
-
getVisibleNamespacePrefixes
- Specified by:
getVisibleNamespacePrefixesin interfacejavax.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
-
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 interfacejavax.xml.soap.Node
-
removeAttribute
- Specified by:
removeAttributein interfaceElement- Throws:
DOMException
-
removeAttribute
public boolean removeAttribute(javax.xml.soap.Name arg0) - Specified by:
removeAttributein interfacejavax.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 interfacejavax.xml.soap.SOAPElement
-
removeNamespaceDeclaration
- Specified by:
removeNamespaceDeclarationin interfacejavax.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 interfacejavax.xml.soap.SOAPElement- Throws:
javax.xml.soap.SOAPException
-
setNodeValue
- 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
- Specified by:
setPrefixin interfaceNode- Throws:
DOMException
-
setValue
- Specified by:
setValuein interfacejavax.xml.soap.Node
-
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 interfacejavax.xml.soap.SOAPElement
-