|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.message.NodeImpl
org.jboss.axis.message.SOAPElementImpl
org.jboss.axis.message.SOAPElementAxisImpl
public class SOAPElementAxisImpl
SOAPElementImpl is the base type of nodes of the SOAP message parse tree.
| Nested Class Summary | |
|---|---|
protected static class |
SOAPElementAxisImpl.QNameAttr
|
| Field Summary | |
|---|---|
protected boolean |
_isRoot
|
protected Attributes |
attributes
|
protected DeserializationContext |
context
|
protected Element |
elementRep
|
protected String |
encodingStyle
Our encoding style, if any |
protected int |
endEventIndex
|
protected String |
href
|
protected String |
id
|
protected SOAPEnvelopeAxisImpl |
message
|
protected String |
name
|
ArrayList |
namespaces
|
protected String |
namespaceURI
|
protected Object |
objectValue
Object value, possibly supplied by subclass |
protected String |
prefix
|
protected Vector |
qNameAttrs
|
protected SAX2EventRecorder |
recorder
|
protected MessagePart |
soapPart
|
protected int |
startContentsIndex
|
protected int |
startEventIndex
|
protected javax.xml.namespace.QName |
typeQName
|
| Fields inherited from class org.jboss.axis.message.NodeImpl |
|---|
domNode, soapParent |
| Constructor Summary | |
|---|---|
SOAPElementAxisImpl()
No-arg constructor for building messages? |
|
SOAPElementAxisImpl(Element elem)
|
|
SOAPElementAxisImpl(javax.xml.soap.Name eltName)
|
|
SOAPElementAxisImpl(javax.xml.namespace.QName name,
Object value)
|
|
SOAPElementAxisImpl(String localPart)
|
|
SOAPElementAxisImpl(String namespace,
String localPart)
|
|
SOAPElementAxisImpl(String namespace,
String localPart,
Object value)
|
|
SOAPElementAxisImpl(String localPart,
String prefix,
String namespace)
|
|
SOAPElementAxisImpl(String namespace,
String localPart,
String prefix,
Attributes attributes,
DeserializationContext context)
|
|
| Method Summary | |
|---|---|
javax.xml.soap.SOAPElement |
addAttribute(javax.xml.soap.Name name,
String value)
Adds an attribute with the specified name and value to this SOAPElement object. |
void |
addAttribute(String namespace,
String localName,
javax.xml.namespace.QName value)
|
void |
addAttribute(String namespace,
String localName,
String value)
|
void |
addAttribute(String prefix,
String namespace,
String localName,
String value)
|
void |
addChild(SOAPElementAxisImpl el)
Note that this method will log a error and no-op if there is a value (set using setObjectValue) in the MessageElement. |
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.soap.Name name)
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addChildElement(javax.xml.soap.SOAPElement element)
The added child must be an instance of MessageElement rather than an abitrary SOAPElement otherwise a (wrapped) ClassCastException will be thrown. |
javax.xml.soap.SOAPElement |
addChildElement(String localName)
Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addChildElement(String localName,
String prefix)
Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addChildElement(String localName,
String prefix,
String uri)
Creates a new SOAPElement object initialized with the specified local name, prefix, and URI and adds the new element to this SOAPElement object. |
void |
addMapping(Mapping map)
|
javax.xml.soap.SOAPElement |
addNamespaceDeclaration(String prefix,
String uri)
Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
javax.xml.soap.SOAPElement |
addTextNode(String value)
Text nodes are not supported. |
Node |
appendChild(Node newChild)
|
Node |
cloneNode(boolean deep)
|
protected Object |
clonning()
protected clone method (not public) copied status ------------------- protected String name ; Y protected String prefix ; Y protected String namespaceURI ; Y protected transient Attributes attributes Y protected String id; Y? protected String href; Y? protected boolean _isRoot = true; Y? protected SOAPEnvelope message = null; N? protected boolean _isDirty = false; Y? protected transient DeserializationContext context; Y? protected transient QName typeQName = null; Y? protected Vector qNameAttrs = null; Y? protected transient SAX2EventRecorder recorder = null; N? protected int startEventIndex = 0; N? protected int startContentsIndex = 0; N? protected int endEventIndex = -1; N? protected Element elementRep = null; N? protected MessageElement parent = null; N public ArrayList namespaces = null; Y protected String encodingStyle = null; N? private Object objectValue = null; N? |
void |
detachAllChildren()
|
void |
detachNode()
Break the relationship between this element and its parent, if any. |
Iterator |
getAllAttributes()
Returns an Iterator over all of the attribute Name objects in this SOAPElement object. |
Document |
getAsDocument()
|
Element |
getAsDOM()
|
String |
getAsString()
|
String |
getAsStringFromInternal()
Get a string representation from the internal structure. |
String |
getAttribute(String name)
|
Attr |
getAttributeNode(String name)
|
Attr |
getAttributeNodeNS(String namespaceURI,
String localName)
|
String |
getAttributeNS(String namespaceURI,
String localName)
|
NamedNodeMap |
getAttributes()
|
Attributes |
getAttributesEx()
|
String |
getAttributeValue(javax.xml.soap.Name name)
Returns the value of the attribute with the specified name. |
String |
getAttributeValue(String localName)
|
Iterator |
getChildElements()
Returns an Iterator over all the immediate child Nodes of this element. |
Iterator |
getChildElements(javax.xml.soap.Name name)
Returns an Iterator over all the immediate child Nodes of this element with the specified name. |
NodeList |
getChildNodes()
|
List |
getChildren()
|
Attributes |
getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations. |
javax.xml.soap.Name |
getElementName()
Returns the name of this SOAPElement object. |
NodeList |
getElementsByTagName(String name)
|
NodeList |
getElementsByTagNameNS(String namespaceURI,
String localName)
|
protected NodeList |
getElementsNS(Element parent,
String namespaceURI,
String localName)
helper method for recusively getting the element that has namespace URI and localname |
String |
getEncodingStyle()
Get the encoding style. |
SOAPEnvelopeAxisImpl |
getEnvelope()
|
Node |
getFirstChild()
|
Deserializer |
getFixupDeserializer()
|
String |
getHref()
|
String |
getID()
|
Node |
getLastChild()
|
String |
getLocalName()
|
String |
getName()
|
Iterator |
getNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings declared by this element. |
String |
getNamespaceURI()
|
String |
getNamespaceURI(String prefix)
Returns the URI of the namespace that has the given prefix. |
Node |
getNextSibling()
|
short |
getNodeType()
|
String |
getNodeValue()
|
Object |
getObjectValue()
Returns value of the node as an object of registered type. |
Object |
getObjectValue(Class cls)
Returns value of the node as an object of registered type. |
Document |
getOwnerDocument()
|
javax.xml.soap.SOAPElement |
getParentElement()
Returns the parent node of this Node object. |
Node |
getParentNode()
|
String |
getPrefix()
|
String |
getPrefix(String namespaceURI)
|
Node |
getPreviousSibling()
|
javax.xml.namespace.QName |
getQName()
|
SOAPElementAxisImpl |
getRealElement()
|
SAX2EventRecorder |
getRecorder()
|
String |
getTagName()
|
javax.xml.namespace.QName |
getType()
|
Object |
getValueAsType(javax.xml.namespace.QName type)
|
Object |
getValueAsType(javax.xml.namespace.QName type,
Class cls)
|
Iterator |
getVisibleNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings visible to this element. |
boolean |
hasAttribute(String name)
|
boolean |
hasAttributeNS(String namespaceURI,
String localName)
|
boolean |
hasAttributes()
|
boolean |
hasChildNodes()
|
Node |
insertBefore(Node newChild,
Node refChild)
|
boolean |
isDirty()
|
boolean |
isImmutable()
|
boolean |
isRoot()
|
boolean |
isSupported(String feature,
String version)
|
protected AttributesImpl |
makeAttributesEditable()
|
void |
normalize()
|
void |
output(SerializationContext context)
This is the public output() method, which will always simply use the recorded SAX stream for this element if it is available. |
protected void |
outputImpl(SerializationContext context)
Subclasses can override |
static void |
printFromInternal(PrintWriter out,
NodeImpl node)
Print the given element from the internal representation This should not go on the wire, but is for debugging only. |
void |
publishContents(ContentHandler handler)
|
void |
publishToHandler(ContentHandler handler)
|
boolean |
removeAttribute(javax.xml.soap.Name name)
Removes the attribute with the specified name. |
void |
removeAttribute(String name)
|
Attr |
removeAttributeNode(Attr oldAttr)
|
void |
removeAttributeNS(String namespaceURI,
String localName)
|
Node |
removeChild(Node oldChild)
|
void |
removeContents()
Detaches all children of this SOAPElement. |
boolean |
removeNamespaceDeclaration(String prefix)
Removes the namespace declaration corresponding to the given prefix. |
Node |
replaceChild(Node newChild,
Node oldChild)
|
void |
setAllAttributes(Attributes attrs)
|
void |
setAllImmutable(boolean immutable)
|
void |
setAttribute(String name,
String value)
|
void |
setAttribute(String namespace,
String localName,
String value)
Set an attribute, adding the attribute if it isn't already present in this element, and changing the value if it is. |
Attr |
setAttributeNode(Attr newAttr)
|
Attr |
setAttributeNodeNS(Attr newAttr)
|
void |
setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
|
void |
setContentsIndex(int index)
|
void |
setDirty(boolean dirty)
|
void |
setEncodingStyle(String encodingStyle)
Sets the encoding style for this SOAPElement
object to one specified. |
void |
setEndIndex(int endIndex)
|
void |
setEnvelope(SOAPEnvelopeAxisImpl env)
|
void |
setFixupDeserializer(Deserializer dser)
|
void |
setImmutable(boolean immutable)
|
void |
setName(String name)
|
void |
setNamespaceURI(String nsURI)
|
void |
setNSMappings(ArrayList namespaces)
|
void |
setObjectValue(Object newValue)
Sets value of this node to an Object. |
void |
setOwnerDocument(MessagePart sp)
|
void |
setParentElement(javax.xml.soap.SOAPElement parent)
Sets the parent of this Node object to the given SOAPElement object. |
void |
setPrefix(String prefix)
|
void |
setQName(javax.xml.namespace.QName qName)
|
void |
setRecorder(SAX2EventRecorder rec)
|
void |
setType(javax.xml.namespace.QName qname)
|
| Methods inherited from class org.jboss.axis.message.SOAPElementImpl |
|---|
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from class org.jboss.axis.message.NodeImpl |
|---|
compareDocumentPosition, getBaseURI, getFeature, getNodeName, getTextContent, getUserData, getValue, hashCode, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, recycleNode, setNodeValue, setTextContent, setUserData, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.soap.Node |
|---|
getValue, recycleNode, setValue |
| Methods inherited from interface org.w3c.dom.Node |
|---|
compareDocumentPosition, getBaseURI, getFeature, getNodeName, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
compareDocumentPosition, getBaseURI, getFeature, getNodeName, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
| Field Detail |
|---|
protected String name
protected String prefix
protected String namespaceURI
protected transient Attributes attributes
protected String id
protected String href
protected boolean _isRoot
protected SOAPEnvelopeAxisImpl message
protected transient DeserializationContext context
protected transient javax.xml.namespace.QName typeQName
protected Vector qNameAttrs
protected transient SAX2EventRecorder recorder
protected int startEventIndex
protected int startContentsIndex
protected int endEventIndex
protected Element elementRep
public ArrayList namespaces
protected String encodingStyle
protected Object objectValue
protected MessagePart soapPart
| Constructor Detail |
|---|
public SOAPElementAxisImpl()
public SOAPElementAxisImpl(String localPart)
public SOAPElementAxisImpl(String namespace,
String localPart)
public SOAPElementAxisImpl(String localPart,
String prefix,
String namespace)
public SOAPElementAxisImpl(javax.xml.soap.Name eltName)
public SOAPElementAxisImpl(String namespace,
String localPart,
Object value)
public SOAPElementAxisImpl(javax.xml.namespace.QName name,
Object value)
public SOAPElementAxisImpl(Element elem)
public SOAPElementAxisImpl(String namespace,
String localPart,
String prefix,
Attributes attributes,
DeserializationContext context)
throws AxisFault
AxisFault| Method Detail |
|---|
public void setFixupDeserializer(Deserializer dser)
public Deserializer getFixupDeserializer()
public void setEndIndex(int endIndex)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isRoot()
public String getID()
public String getHref()
public Attributes getAttributesEx()
public Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class NodeImplpublic Node getLastChild()
getLastChild in interface NodegetLastChild in class NodeImplpublic Node getNextSibling()
getNextSibling in interface NodegetNextSibling in class NodeImplpublic Node getParentNode()
getParentNode in interface NodegetParentNode in class NodeImplpublic Node getPreviousSibling()
getPreviousSibling in interface NodegetPreviousSibling in class NodeImplpublic Node cloneNode(boolean deep)
cloneNode in interface NodecloneNode in class NodeImpl
protected Object clonning()
throws CloneNotSupportedException
CloneNotSupportedExceptionpublic void setAllAttributes(Attributes attrs)
public void detachAllChildren()
public NodeList getChildNodes()
getChildNodes in interface NodegetChildNodes in class NodeImpl
public boolean isSupported(String feature,
String version)
isSupported in interface NodeisSupported in class NodeImpl
public Node appendChild(Node newChild)
throws DOMException
appendChild in interface NodeappendChild in class NodeImplDOMException
public void addChild(SOAPElementAxisImpl el)
throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public Node removeChild(Node oldChild)
throws DOMException
removeChild in interface NoderemoveChild in class NodeImplDOMException
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
insertBefore in interface NodeinsertBefore in class NodeImplDOMException
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
replaceChild in interface NodereplaceChild in class NodeImplDOMExceptionpublic Attributes getCompleteAttributes()
public String getName()
public void setName(String name)
public javax.xml.namespace.QName getQName()
public void setQName(javax.xml.namespace.QName qName)
public String getPrefix()
getPrefix in interface NodegetPrefix in class NodeImplpublic void setPrefix(String prefix)
setPrefix in interface NodesetPrefix in class NodeImplpublic Document getOwnerDocument()
getOwnerDocument in interface NodegetOwnerDocument in class NodeImplpublic NamedNodeMap getAttributes()
getAttributes in interface NodegetAttributes in class NodeImplpublic short getNodeType()
getNodeType in interface NodegetNodeType in class NodeImplpublic void normalize()
normalize in interface Nodenormalize in class NodeImplpublic boolean hasAttributes()
hasAttributes in interface NodehasAttributes in class NodeImplpublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class NodeImplpublic String getLocalName()
getLocalName in interface NodegetLocalName in class NodeImplpublic String getNamespaceURI()
getNamespaceURI in interface NodegetNamespaceURI in class NodeImpl
public String getNodeValue()
throws DOMException
getNodeValue in interface NodegetNodeValue in class NodeImplDOMExceptionpublic void setNamespaceURI(String nsURI)
public javax.xml.namespace.QName getType()
public void setType(javax.xml.namespace.QName qname)
public SAX2EventRecorder getRecorder()
public void setRecorder(SAX2EventRecorder rec)
public String getEncodingStyle()
getEncodingStyle in interface javax.xml.soap.SOAPElementgetEncodingStyle in class SOAPElementImplpublic void removeContents()
SOAPElementImpl
removeContents in interface javax.xml.soap.SOAPElementremoveContents in class SOAPElementImplpublic Iterator getVisibleNamespacePrefixes()
SOAPElementImpl
getVisibleNamespacePrefixes in interface javax.xml.soap.SOAPElementgetVisibleNamespacePrefixes in class SOAPElementImpl
public void setEncodingStyle(String encodingStyle)
throws javax.xml.soap.SOAPException
SOAPElement
object to one specified. The semantics of a null value,
as above in getEncodingStyle() are to just use the parent's value,
but null here means set to "".
setEncodingStyle in interface javax.xml.soap.SOAPElementsetEncodingStyle in class SOAPElementImplencodingStyle - a String
giving the encoding style
IllegalArgumentException - if
there was a problem in the encoding style being set.
javax.xml.soap.SOAPException - if there was a problem in the encoding style being set.getEncodingStyle()public void setContentsIndex(int index)
public void setNSMappings(ArrayList namespaces)
public String getPrefix(String namespaceURI)
public String getNamespaceURI(String prefix)
SOAPElementImpl
getNamespaceURI in interface javax.xml.soap.SOAPElementgetNamespaceURI in class SOAPElementImplprefix - a String giving the prefix of the namespace for which to search
public Object getObjectValue()
public Object getObjectValue(Class cls)
throws Exception
cls - Class that contains top level deserializer metadata
Exception
public void setObjectValue(Object newValue)
throws javax.xml.soap.SOAPException
newValue - node's value or null.
javax.xml.soap.SOAPException
public Object getValueAsType(javax.xml.namespace.QName type)
throws Exception
Exception
public Object getValueAsType(javax.xml.namespace.QName type,
Class cls)
throws Exception
Exception
public void addAttribute(String namespace,
String localName,
javax.xml.namespace.QName value)
protected AttributesImpl makeAttributesEditable()
public void addAttribute(String namespace,
String localName,
String value)
public void addAttribute(String prefix,
String namespace,
String localName,
String value)
public void setAttribute(String namespace,
String localName,
String value)
public String getAttributeValue(String localName)
public void setEnvelope(SOAPEnvelopeAxisImpl env)
public SOAPEnvelopeAxisImpl getEnvelope()
public SOAPElementAxisImpl getRealElement()
public Element getAsDOM()
public Document getAsDocument()
public String getAsString()
public String getAsStringFromInternal()
public static void printFromInternal(PrintWriter out,
NodeImpl node)
throws Exception
Exception
public void publishToHandler(ContentHandler handler)
throws SAXException
SAXException
public void publishContents(ContentHandler handler)
throws SAXException
SAXException
public final void output(SerializationContext context)
throws Exception
context - the SerializationContext we will write to.
Exception
protected void outputImpl(SerializationContext context)
throws Exception
Exceptionpublic void addMapping(Mapping map)
public void setParentElement(javax.xml.soap.SOAPElement parent)
throws javax.xml.soap.SOAPException
NodeImpl
setParentElement in class NodeImplparent - the SOAPElement object to be set as the parent of this Node object
javax.xml.soap.SOAPException - if there is a problem in setting the parent to the given nodepublic javax.xml.soap.SOAPElement getParentElement()
NodeImpl
getParentElement in class NodeImplpublic void detachNode()
detachNode in class NodeImplpublic boolean isImmutable()
public void setImmutable(boolean immutable)
public void setAllImmutable(boolean immutable)
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name)
throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement in interface javax.xml.soap.SOAPElementaddChildElement in class SOAPElementImplname - a Name object with the XML name for the new element
javax.xml.soap.SOAPException - if there is an error in creating the SOAPElement object
public javax.xml.soap.SOAPElement addChildElement(String localName)
throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement in interface javax.xml.soap.SOAPElementaddChildElement in class SOAPElementImpllocalName - a String giving the local name for the element
javax.xml.soap.SOAPException - if there is an error in creating the SOAPElement object
public javax.xml.soap.SOAPElement addChildElement(String localName,
String prefix)
throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement in interface javax.xml.soap.SOAPElementaddChildElement in class SOAPElementImpllocalName - a String giving the local name for the new elementprefix - a String giving the namespace prefix for the new element
javax.xml.soap.SOAPException - if there is an error in creating the SOAPElement object
public javax.xml.soap.SOAPElement addChildElement(String localName,
String prefix,
String uri)
throws javax.xml.soap.SOAPException
SOAPElementImpl
addChildElement in interface javax.xml.soap.SOAPElementaddChildElement in class SOAPElementImpllocalName - a String giving the local name for the new elementprefix - a String giving the namespace prefix for the new elementuri - a String giving the URI of the namespace to which the new element belongs
javax.xml.soap.SOAPException - if there is an error in creating the SOAPElement object
public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement element)
throws javax.xml.soap.SOAPException
addChildElement in interface javax.xml.soap.SOAPElementaddChildElement in class SOAPElementImplelement - the SOAPElement to be added as a new child
javax.xml.soap.SOAPException - if there was an error in adding this element as a child
public javax.xml.soap.SOAPElement addTextNode(String value)
throws javax.xml.soap.SOAPException
addTextNode in interface javax.xml.soap.SOAPElementaddTextNode in class SOAPElementImplvalue - a String object with the textual content to be added
javax.xml.soap.SOAPException - if there is an error in creating the new Text object
public javax.xml.soap.SOAPElement addAttribute(javax.xml.soap.Name name,
String value)
throws javax.xml.soap.SOAPException
SOAPElementImpl
addAttribute in interface javax.xml.soap.SOAPElementaddAttribute in class SOAPElementImplname - a Name object with the name of the attributevalue - a String giving the value of the attribute
javax.xml.soap.SOAPException - if there is an error in creating the Attribute
public javax.xml.soap.SOAPElement addNamespaceDeclaration(String prefix,
String uri)
throws javax.xml.soap.SOAPException
SOAPElementImpl
addNamespaceDeclaration in interface javax.xml.soap.SOAPElementaddNamespaceDeclaration in class SOAPElementImplprefix - a String giving the prefix of the namespaceuri - a String giving the uri of the namespace
javax.xml.soap.SOAPException - if there is an error in creating the namespacepublic String getAttributeValue(javax.xml.soap.Name name)
SOAPElementImpl
getAttributeValue in interface javax.xml.soap.SOAPElementgetAttributeValue in class SOAPElementImplname - a Name object with the name of the attribute
public Iterator getAllAttributes()
SOAPElementImpl
getAllAttributes in interface javax.xml.soap.SOAPElementgetAllAttributes in class SOAPElementImplpublic Iterator getNamespacePrefixes()
SOAPElementImpl
getNamespacePrefixes in interface javax.xml.soap.SOAPElementgetNamespacePrefixes in class SOAPElementImplpublic javax.xml.soap.Name getElementName()
SOAPElementImpl
getElementName in interface javax.xml.soap.SOAPElementgetElementName in class SOAPElementImplpublic boolean removeAttribute(javax.xml.soap.Name name)
SOAPElementImpl
removeAttribute in interface javax.xml.soap.SOAPElementremoveAttribute in class SOAPElementImplname - the Name object with the name of the attribute to be removed
public boolean removeNamespaceDeclaration(String prefix)
SOAPElementImpl
removeNamespaceDeclaration in interface javax.xml.soap.SOAPElementremoveNamespaceDeclaration in class SOAPElementImplprefix - a String giving the prefix for which to search
public Iterator getChildElements()
SOAPElementImpl
getChildElements in interface javax.xml.soap.SOAPElementgetChildElements in class SOAPElementImplpublic Iterator getChildElements(javax.xml.soap.Name name)
SOAPElementImpl
getChildElements in interface javax.xml.soap.SOAPElementgetChildElements in class SOAPElementImplname - a Name object with the name of the child elements to be returned
public String getTagName()
getTagName in interface ElementgetTagName in class SOAPElementImpl
public void removeAttribute(String name)
throws DOMException
removeAttribute in interface ElementremoveAttribute in class SOAPElementImplDOMExceptionpublic boolean hasAttribute(String name)
hasAttribute in interface ElementhasAttribute in class SOAPElementImplpublic String getAttribute(String name)
getAttribute in interface ElementgetAttribute in class SOAPElementImpl
public void removeAttributeNS(String namespaceURI,
String localName)
throws DOMException
removeAttributeNS in interface ElementremoveAttributeNS in class SOAPElementImplDOMException
public void setAttribute(String name,
String value)
throws DOMException
setAttribute in interface ElementsetAttribute in class SOAPElementImplDOMException
public boolean hasAttributeNS(String namespaceURI,
String localName)
hasAttributeNS in interface ElementhasAttributeNS in class SOAPElementImplpublic Attr getAttributeNode(String name)
getAttributeNode in interface ElementgetAttributeNode in class SOAPElementImpl
public Attr removeAttributeNode(Attr oldAttr)
throws DOMException
removeAttributeNode in interface ElementremoveAttributeNode in class SOAPElementImplDOMException
public Attr setAttributeNode(Attr newAttr)
throws DOMException
setAttributeNode in interface ElementsetAttributeNode in class SOAPElementImplDOMException
public Attr setAttributeNodeNS(Attr newAttr)
throws DOMException
setAttributeNodeNS in interface ElementsetAttributeNodeNS in class SOAPElementImplDOMExceptionpublic NodeList getElementsByTagName(String name)
getElementsByTagName in interface ElementgetElementsByTagName in class SOAPElementImpl
public String getAttributeNS(String namespaceURI,
String localName)
getAttributeNS in interface ElementgetAttributeNS in class SOAPElementImpl
public void setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
throws DOMException
setAttributeNS in interface ElementsetAttributeNS in class SOAPElementImplDOMException
public Attr getAttributeNodeNS(String namespaceURI,
String localName)
getAttributeNodeNS in interface ElementgetAttributeNodeNS in class SOAPElementImpl
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName)
getElementsByTagNameNS in interface ElementgetElementsByTagNameNS in class SOAPElementImpl
protected NodeList getElementsNS(Element parent,
String namespaceURI,
String localName)
public void setOwnerDocument(MessagePart sp)
public List getChildren()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||