com.infoengine.soap.util.saaj
Class SOAPElement_Impl
java.lang.Object
com.infoengine.soap.util.saaj.UnsupportedDOMNode
com.infoengine.soap.util.saaj.UnsupportedDOMElement
com.infoengine.soap.util.saaj.Node_Impl
com.infoengine.soap.util.saaj.SOAPElement_Impl
- All Implemented Interfaces:
- Element, Node, javax.xml.soap.Node, javax.xml.soap.SOAPElement, Writable
- Direct Known Subclasses:
- SOAPBody_Impl, SOAPEnvelope_Impl
- public class SOAPElement_Impl
- extends Node_Impl
- implements javax.xml.soap.SOAPElement, Writable
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary |
javax.xml.soap.SOAPElement |
addAttribute(javax.xml.soap.Name name,
String str)
|
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.soap.Name name)
|
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.soap.SOAPElement SOAPElement)
|
javax.xml.soap.SOAPElement |
addChildElement(String str)
|
javax.xml.soap.SOAPElement |
addChildElement(String str,
String str1)
|
javax.xml.soap.SOAPElement |
addChildElement(String str,
String str1,
String str2)
|
javax.xml.soap.SOAPElement |
addNamespaceDeclaration(String str,
String str1)
|
javax.xml.soap.SOAPElement |
addTextNode(String str)
|
protected void |
close()
|
Iterator |
getAllAttributes()
|
String |
getAttribute(String name)
|
Attr |
getAttributeNode(String name)
|
Attr |
getAttributeNodeNS(String namespaceURI,
String localName)
|
String |
getAttributeNS(String namespaceURI,
String localName)
|
String |
getAttributeValue(javax.xml.soap.Name name)
|
Iterator |
getChildElements()
|
Iterator |
getChildElements(javax.xml.soap.Name name)
|
javax.xml.soap.Name |
getElementName()
|
NodeList |
getElementsByTagName(String name)
|
NodeList |
getElementsByTagNameNS(String namespaceURI,
String localName)
|
String |
getEncodingStyle()
|
Iterator |
getNamespacePrefixes()
|
String |
getNamespaceURI(String str)
|
String |
getTagName()
|
Iterator |
getVisibleNamespacePrefixes()
|
boolean |
hasAttribute(String name)
|
boolean |
hasAttributeNS(String namespaceURI,
String localName)
|
private javax.xml.soap.SOAPElement |
insert3rdpartySAAJ(SOAPElement_Impl parent,
javax.xml.soap.SOAPElement third)
|
protected void |
open()
|
protected void |
open(boolean empty)
|
void |
output()
|
boolean |
removeAttribute(javax.xml.soap.Name name)
|
void |
removeAttribute(String name)
|
Attr |
removeAttributeNode(Attr oldAttr)
|
void |
removeAttributeNS(String namespaceURI,
String localName)
|
void |
removeContents()
|
boolean |
removeNamespaceDeclaration(String str)
|
private Map |
reverse(Map m)
|
void |
setAttribute(String name,
String value)
|
Attr |
setAttributeNode(Attr newAttr)
|
Attr |
setAttributeNodeNS(Attr newAttr)
|
void |
setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
|
void |
setEncodingStyle(String str)
|
Methods inherited from class com.infoengine.soap.util.saaj.UnsupportedDOMNode |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.soap.Node |
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
EMPTY_ITER
private static Iterator EMPTY_ITER
OPEN
protected boolean OPEN
CLOSED
protected boolean CLOSED
declarations
protected Map declarations
attributes
protected Map attributes
msg
protected SOAPMessage_Impl msg
parent
protected SOAPElement_Impl parent
name
protected Name_Impl name
currentChild
protected Writable currentChild
SOAPElement_Impl
SOAPElement_Impl(SOAPMessage_Impl msg,
SOAPElement_Impl parent,
Name_Impl name)
SOAPElement_Impl
SOAPElement_Impl(SOAPMessage_Impl msg,
SOAPElement_Impl parent,
String elementName)
addAttribute
public javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name name,
String str)
throws javax.xml.soap.SOAPException
- Specified by:
addAttribute
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
addChildElement
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement SOAPElement)
throws javax.xml.soap.SOAPException
- Specified by:
addChildElement
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
insert3rdpartySAAJ
private javax.xml.soap.SOAPElement insert3rdpartySAAJ(SOAPElement_Impl parent,
javax.xml.soap.SOAPElement third)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
addChildElement
public javax.xml.soap.SOAPElement addChildElement(String str)
throws javax.xml.soap.SOAPException
- Specified by:
addChildElement
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
addChildElement
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name)
throws javax.xml.soap.SOAPException
- Specified by:
addChildElement
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
addChildElement
public javax.xml.soap.SOAPElement addChildElement(String str,
String str1)
throws javax.xml.soap.SOAPException
- Specified by:
addChildElement
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
addChildElement
public javax.xml.soap.SOAPElement addChildElement(String str,
String str1,
String str2)
throws javax.xml.soap.SOAPException
- Specified by:
addChildElement
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
addNamespaceDeclaration
public javax.xml.soap.SOAPElement addNamespaceDeclaration(String str,
String str1)
throws javax.xml.soap.SOAPException
- Specified by:
addNamespaceDeclaration
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
addTextNode
public javax.xml.soap.SOAPElement addTextNode(String str)
throws javax.xml.soap.SOAPException
- Specified by:
addTextNode
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
getAllAttributes
public Iterator getAllAttributes()
- Specified by:
getAllAttributes
in interface javax.xml.soap.SOAPElement
getAttribute
public String getAttribute(String name)
- Specified by:
getAttribute
in interface Element
- Overrides:
getAttribute
in class UnsupportedDOMElement
getAttributeNS
public String getAttributeNS(String namespaceURI,
String localName)
- Specified by:
getAttributeNS
in interface Element
- Overrides:
getAttributeNS
in class UnsupportedDOMElement
getAttributeNode
public Attr getAttributeNode(String name)
- Specified by:
getAttributeNode
in interface Element
- Overrides:
getAttributeNode
in class UnsupportedDOMElement
getAttributeNodeNS
public Attr getAttributeNodeNS(String namespaceURI,
String localName)
- Specified by:
getAttributeNodeNS
in interface Element
- Overrides:
getAttributeNodeNS
in class UnsupportedDOMElement
getAttributeValue
public String getAttributeValue(javax.xml.soap.Name name)
- Specified by:
getAttributeValue
in interface javax.xml.soap.SOAPElement
getChildElements
public Iterator getChildElements()
- Specified by:
getChildElements
in interface javax.xml.soap.SOAPElement
getChildElements
public Iterator getChildElements(javax.xml.soap.Name name)
- Specified by:
getChildElements
in interface javax.xml.soap.SOAPElement
getElementName
public javax.xml.soap.Name getElementName()
- Specified by:
getElementName
in interface javax.xml.soap.SOAPElement
getElementsByTagName
public NodeList getElementsByTagName(String name)
- Specified by:
getElementsByTagName
in interface Element
- Overrides:
getElementsByTagName
in class UnsupportedDOMElement
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName)
- Specified by:
getElementsByTagNameNS
in interface Element
- Overrides:
getElementsByTagNameNS
in class UnsupportedDOMElement
getEncodingStyle
public String getEncodingStyle()
- Specified by:
getEncodingStyle
in interface javax.xml.soap.SOAPElement
getNamespacePrefixes
public Iterator getNamespacePrefixes()
- Specified by:
getNamespacePrefixes
in interface javax.xml.soap.SOAPElement
getNamespaceURI
public String getNamespaceURI(String str)
- Specified by:
getNamespaceURI
in interface javax.xml.soap.SOAPElement
getTagName
public String getTagName()
- Specified by:
getTagName
in interface Element
- Overrides:
getTagName
in class UnsupportedDOMElement
getVisibleNamespacePrefixes
public Iterator getVisibleNamespacePrefixes()
- Specified by:
getVisibleNamespacePrefixes
in interface javax.xml.soap.SOAPElement
hasAttribute
public boolean hasAttribute(String name)
- Specified by:
hasAttribute
in interface Element
- Overrides:
hasAttribute
in class UnsupportedDOMElement
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI,
String localName)
- Specified by:
hasAttributeNS
in interface Element
- Overrides:
hasAttributeNS
in class UnsupportedDOMElement
removeAttribute
public void removeAttribute(String name)
throws DOMException
- Specified by:
removeAttribute
in interface Element
- Overrides:
removeAttribute
in class UnsupportedDOMElement
- Throws:
DOMException
removeAttribute
public boolean removeAttribute(javax.xml.soap.Name name)
- Specified by:
removeAttribute
in interface javax.xml.soap.SOAPElement
removeAttributeNS
public void removeAttributeNS(String namespaceURI,
String localName)
throws DOMException
- Specified by:
removeAttributeNS
in interface Element
- Overrides:
removeAttributeNS
in class UnsupportedDOMElement
- Throws:
DOMException
removeAttributeNode
public Attr removeAttributeNode(Attr oldAttr)
throws DOMException
- Specified by:
removeAttributeNode
in interface Element
- Overrides:
removeAttributeNode
in class UnsupportedDOMElement
- Throws:
DOMException
removeContents
public void removeContents()
- Specified by:
removeContents
in interface javax.xml.soap.SOAPElement
removeNamespaceDeclaration
public boolean removeNamespaceDeclaration(String str)
- Specified by:
removeNamespaceDeclaration
in interface javax.xml.soap.SOAPElement
setAttribute
public void setAttribute(String name,
String value)
throws DOMException
- Specified by:
setAttribute
in interface Element
- Overrides:
setAttribute
in class UnsupportedDOMElement
- Throws:
DOMException
setAttributeNS
public void setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
throws DOMException
- Specified by:
setAttributeNS
in interface Element
- Overrides:
setAttributeNS
in class UnsupportedDOMElement
- Throws:
DOMException
setAttributeNode
public Attr setAttributeNode(Attr newAttr)
throws DOMException
- Specified by:
setAttributeNode
in interface Element
- Overrides:
setAttributeNode
in class UnsupportedDOMElement
- Throws:
DOMException
setAttributeNodeNS
public Attr setAttributeNodeNS(Attr newAttr)
throws DOMException
- Specified by:
setAttributeNodeNS
in interface Element
- Overrides:
setAttributeNodeNS
in class UnsupportedDOMElement
- Throws:
DOMException
setEncodingStyle
public void setEncodingStyle(String str)
throws javax.xml.soap.SOAPException
- Specified by:
setEncodingStyle
in interface javax.xml.soap.SOAPElement
- Throws:
javax.xml.soap.SOAPException
output
public void output()
throws javax.xml.soap.SOAPException
- Specified by:
output
in interface Writable
- Throws:
javax.xml.soap.SOAPException
open
protected void open()
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
open
protected void open(boolean empty)
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException
reverse
private Map reverse(Map m)
close
protected void close()
throws javax.xml.soap.SOAPException
- Throws:
javax.xml.soap.SOAPException