|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.axis.message.NodeImpl (src)
org.jboss.axis.message.SOAPElementImpl (src)
org.jboss.axis.message.SOAPElementAxisImpl
SOAPElementImpl is the base type of nodes of the SOAP message parse tree.
Nested Class Summary | |
protected static class |
SOAPElementAxisImpl.QNameAttr (src)
|
Field Summary | |
protected boolean |
_isRoot
|
protected org.xml.sax.Attributes |
attributes
|
protected DeserializationContext (src) |
context
|
protected org.w3c.dom.Element |
elementRep
|
protected java.lang.String |
encodingStyle
Our encoding style, if any |
protected int |
endEventIndex
|
protected java.lang.String |
href
|
protected java.lang.String |
id
|
protected SOAPEnvelopeAxisImpl (src) |
message
|
protected java.lang.String |
name
|
java.util.ArrayList |
namespaces
|
protected java.lang.String |
namespaceURI
|
protected java.lang.Object |
objectValue
Object value, possibly supplied by subclass |
protected java.lang.String |
prefix
|
protected java.util.Vector |
qNameAttrs
|
protected SAX2EventRecorder (src) |
recorder
|
protected MessagePart (src) |
soapPart
|
protected int |
startContentsIndex
|
protected int |
startEventIndex
|
protected QName (src) |
typeQName
|
Fields inherited from class org.jboss.axis.message.NodeImpl (src) |
domNode, soapParent |
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 |
Constructor Summary | |
SOAPElementAxisImpl()
No-arg constructor for building messages? |
|
SOAPElementAxisImpl(org.w3c.dom.Element elem)
|
|
SOAPElementAxisImpl(Name (src) eltName)
|
|
SOAPElementAxisImpl(QName (src) name,
java.lang.Object value)
|
|
SOAPElementAxisImpl(java.lang.String localPart)
|
|
SOAPElementAxisImpl(java.lang.String namespace,
java.lang.String localPart)
|
|
SOAPElementAxisImpl(java.lang.String namespace,
java.lang.String localPart,
java.lang.Object value)
|
|
SOAPElementAxisImpl(java.lang.String localPart,
java.lang.String prefix,
java.lang.String namespace)
|
|
SOAPElementAxisImpl(java.lang.String namespace,
java.lang.String localPart,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
DeserializationContext (src) context)
|
Method Summary | |
SOAPElement (src) |
addAttribute(Name (src) name,
java.lang.String value)
Adds an attribute with the specified name and value to this SOAPElement object. |
void |
addAttribute(java.lang.String namespace,
java.lang.String localName,
QName (src) value)
|
void |
addAttribute(java.lang.String namespace,
java.lang.String localName,
java.lang.String value)
|
void |
addAttribute(java.lang.String prefix,
java.lang.String namespace,
java.lang.String localName,
java.lang.String value)
|
void |
addChild(SOAPElementAxisImpl (src) el)
Note that this method will log a error and no-op if there is a value (set using setObjectValue) in the MessageElement. |
SOAPElement (src) |
addChildElement(Name (src) name)
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object. |
SOAPElement (src) |
addChildElement(SOAPElement (src) element)
The added child must be an instance of MessageElement rather than an abitrary SOAPElement otherwise a (wrapped) ClassCastException will be thrown. |
SOAPElement (src) |
addChildElement(java.lang.String localName)
Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object. |
SOAPElement (src) |
addChildElement(java.lang.String localName,
java.lang.String prefix)
Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object. |
SOAPElement (src) |
addChildElement(java.lang.String localName,
java.lang.String prefix,
java.lang.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 (src) map)
|
SOAPElement (src) |
addNamespaceDeclaration(java.lang.String prefix,
java.lang.String uri)
Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
SOAPElement (src) |
addTextNode(java.lang.String value)
Text nodes are not supported. |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
protected java.lang.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. |
java.util.Iterator |
getAllAttributes()
Returns an Iterator over all of the attribute Name objects in this SOAPElement object. |
org.w3c.dom.Document |
getAsDocument()
|
org.w3c.dom.Element |
getAsDOM()
|
java.lang.String |
getAsString()
|
java.lang.String |
getAsStringFromInternal()
Get a string representation from the internal structure. |
java.lang.String |
getAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
getAttributeNode(java.lang.String name)
|
org.w3c.dom.Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
org.w3c.dom.NamedNodeMap |
getAttributes()
|
org.xml.sax.Attributes |
getAttributesEx()
|
java.lang.String |
getAttributeValue(Name (src) name)
Returns the value of the attribute with the specified name. |
java.lang.String |
getAttributeValue(java.lang.String localName)
|
java.util.Iterator |
getChildElements()
Returns an Iterator over all the immediate child Nodes of this element. |
java.util.Iterator |
getChildElements(Name (src) name)
Returns an Iterator over all the immediate child Nodes of this element with the specified name. |
org.w3c.dom.NodeList |
getChildNodes()
|
java.util.List |
getChildren()
|
org.xml.sax.Attributes |
getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations. |
Name (src) |
getElementName()
Returns the name of this SOAPElement object. |
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String name)
|
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
|
protected org.w3c.dom.NodeList |
getElementsNS(org.w3c.dom.Element parent,
java.lang.String namespaceURI,
java.lang.String localName)
helper method for recusively getting the element that has namespace URI and localname |
java.lang.String |
getEncodingStyle()
Get the encoding style. |
SOAPEnvelopeAxisImpl (src) |
getEnvelope()
|
org.w3c.dom.Node |
getFirstChild()
|
Deserializer (src) |
getFixupDeserializer()
|
java.lang.String |
getHref()
|
java.lang.String |
getID()
|
org.w3c.dom.Node |
getLastChild()
|
java.lang.String |
getLocalName()
|
java.lang.String |
getName()
|
java.util.Iterator |
getNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings declared by this element. |
java.lang.String |
getNamespaceURI()
|
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Returns the URI of the namespace that has the given prefix. |
org.w3c.dom.Node |
getNextSibling()
|
short |
getNodeType()
|
java.lang.String |
getNodeValue()
|
java.lang.Object |
getObjectValue()
Returns value of the node as an object of registered type. |
java.lang.Object |
getObjectValue(java.lang.Class cls)
Returns value of the node as an object of registered type. |
org.w3c.dom.Document |
getOwnerDocument()
|
SOAPElement (src) |
getParentElement()
Returns the parent element of this Node object. |
org.w3c.dom.Node |
getParentNode()
|
java.lang.String |
getPrefix()
|
java.lang.String |
getPrefix(java.lang.String namespaceURI)
|
org.w3c.dom.Node |
getPreviousSibling()
|
QName (src) |
getQName()
|
SOAPElementAxisImpl (src) |
getRealElement()
|
SAX2EventRecorder (src) |
getRecorder()
|
java.lang.String |
getTagName()
|
QName (src) |
getType()
|
java.lang.Object |
getValueAsType(QName (src) type)
|
java.lang.Object |
getValueAsType(QName (src) type,
java.lang.Class cls)
|
java.util.Iterator |
getVisibleNamespacePrefixes()
Returns an Iterator over the namespace prefix Strings visible to this element. |
boolean |
hasAttribute(java.lang.String name)
|
boolean |
hasAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
boolean |
hasAttributes()
|
boolean |
hasChildNodes()
|
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
|
boolean |
isDirty()
|
boolean |
isImmutable()
|
boolean |
isRoot()
|
boolean |
isSupported(java.lang.String feature,
java.lang.String version)
|
protected org.xml.sax.helpers.AttributesImpl |
makeAttributesEditable()
|
void |
normalize()
|
void |
output(SerializationContext (src) 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 (src) context)
Subclasses can override |
static void |
printFromInternal(java.io.PrintWriter out,
NodeImpl (src) node)
Print the given element from the internal representation This should not go on the wire, but is for debugging only. |
void |
publishContents(org.xml.sax.ContentHandler handler)
|
void |
publishToHandler(org.xml.sax.ContentHandler handler)
|
boolean |
removeAttribute(Name (src) name)
Removes the attribute with the specified name. |
void |
removeAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
removeAttributeNode(org.w3c.dom.Attr oldAttr)
|
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
|
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
|
void |
removeContents()
Detaches all children of this SOAPElement. |
boolean |
removeNamespaceDeclaration(java.lang.String prefix)
Removes the namespace declaration corresponding to the given prefix. |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
|
void |
setAllAttributes(org.xml.sax.Attributes attrs)
|
void |
setAllImmutable(boolean immutable)
|
void |
setAttribute(java.lang.String name,
java.lang.String value)
|
void |
setAttribute(java.lang.String namespace,
java.lang.String localName,
java.lang.String value)
Set an attribute, adding the attribute if it isn't already present in this element, and changing the value if it is. |
org.w3c.dom.Attr |
setAttributeNode(org.w3c.dom.Attr newAttr)
|
org.w3c.dom.Attr |
setAttributeNodeNS(org.w3c.dom.Attr newAttr)
|
void |
setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
|
void |
setContentsIndex(int index)
|
void |
setDirty(boolean dirty)
|
void |
setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for this SOAPElement
object to one specified. |
void |
setEndIndex(int endIndex)
|
void |
setEnvelope(SOAPEnvelopeAxisImpl (src) env)
|
void |
setFixupDeserializer(Deserializer (src) dser)
|
void |
setImmutable(boolean immutable)
|
void |
setName(java.lang.String name)
|
void |
setNamespaceURI(java.lang.String nsURI)
|
void |
setNSMappings(java.util.ArrayList namespaces)
|
void |
setObjectValue(java.lang.Object newValue)
Sets value of this node to an Object. |
void |
setOwnerDocument(MessagePart (src) sp)
|
void |
setParentElement(SOAPElement (src) parent)
Sets the parent of this Node object to the given SOAPElement object. |
void |
setPrefix(java.lang.String prefix)
|
void |
setQName(QName (src) qName)
|
void |
setRecorder(SAX2EventRecorder (src) rec)
|
void |
setType(QName (src) qname)
|
Methods inherited from class org.jboss.axis.message.SOAPElementImpl (src) |
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from class org.jboss.axis.message.NodeImpl (src) |
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 (src) |
getValue, recycleNode, setValue |
Methods inherited from interface org.w3c.dom.Node |
getNodeName, setNodeValue |
Field Detail |
protected java.lang.String name
protected java.lang.String prefix
protected java.lang.String namespaceURI
protected transient org.xml.sax.Attributes attributes
protected java.lang.String id
protected java.lang.String href
protected boolean _isRoot
protected SOAPEnvelopeAxisImpl (src) message
protected transient DeserializationContext (src) context
protected transient QName (src) typeQName
protected java.util.Vector qNameAttrs
protected transient SAX2EventRecorder (src) recorder
protected int startEventIndex
protected int startContentsIndex
protected int endEventIndex
protected org.w3c.dom.Element elementRep
public java.util.ArrayList namespaces
protected java.lang.String encodingStyle
protected java.lang.Object objectValue
protected MessagePart (src) soapPart
Constructor Detail |
public SOAPElementAxisImpl()
public SOAPElementAxisImpl(java.lang.String localPart)
public SOAPElementAxisImpl(java.lang.String namespace, java.lang.String localPart)
public SOAPElementAxisImpl(java.lang.String localPart, java.lang.String prefix, java.lang.String namespace)
public SOAPElementAxisImpl(Name (src) eltName)
public SOAPElementAxisImpl(java.lang.String namespace, java.lang.String localPart, java.lang.Object value)
public SOAPElementAxisImpl(QName (src) name, java.lang.Object value)
public SOAPElementAxisImpl(org.w3c.dom.Element elem)
public SOAPElementAxisImpl(java.lang.String namespace, java.lang.String localPart, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext (src) context) throws AxisFault (src)
Method Detail |
public void setFixupDeserializer(Deserializer (src) dser)
public Deserializer (src) getFixupDeserializer()
public void setEndIndex(int endIndex)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isRoot()
public java.lang.String getID()
public java.lang.String getHref()
public org.xml.sax.Attributes getAttributesEx()
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
getFirstChild
in class NodeImpl (src)
public org.w3c.dom.Node getLastChild()
getLastChild
in interface org.w3c.dom.Node
getLastChild
in class NodeImpl (src)
public org.w3c.dom.Node getNextSibling()
getNextSibling
in interface org.w3c.dom.Node
getNextSibling
in class NodeImpl (src)
public org.w3c.dom.Node getParentNode()
getParentNode
in interface org.w3c.dom.Node
getParentNode
in class NodeImpl (src)
public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
in interface org.w3c.dom.Node
getPreviousSibling
in class NodeImpl (src)
public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode
in interface org.w3c.dom.Node
cloneNode
in class NodeImpl (src)
protected java.lang.Object clonning() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public void setAllAttributes(org.xml.sax.Attributes attrs)
public void detachAllChildren()
public org.w3c.dom.NodeList getChildNodes()
getChildNodes
in interface org.w3c.dom.Node
getChildNodes
in class NodeImpl (src)
public boolean isSupported(java.lang.String feature, java.lang.String version)
isSupported
in interface org.w3c.dom.Node
isSupported
in class NodeImpl (src)
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
appendChild
in interface org.w3c.dom.Node
appendChild
in class NodeImpl (src)
org.w3c.dom.DOMException
public void addChild(SOAPElementAxisImpl (src) el) throws SOAPException (src)
SOAPException (src)
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
removeChild
in interface org.w3c.dom.Node
removeChild
in class NodeImpl (src)
org.w3c.dom.DOMException
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
insertBefore
in interface org.w3c.dom.Node
insertBefore
in class NodeImpl (src)
org.w3c.dom.DOMException
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
replaceChild
in interface org.w3c.dom.Node
replaceChild
in class NodeImpl (src)
org.w3c.dom.DOMException
public org.xml.sax.Attributes getCompleteAttributes()
public java.lang.String getName()
public void setName(java.lang.String name)
public QName (src) getQName()
public void setQName(QName (src) qName)
public java.lang.String getPrefix()
getPrefix
in interface org.w3c.dom.Node
getPrefix
in class NodeImpl (src)
public void setPrefix(java.lang.String prefix)
setPrefix
in interface org.w3c.dom.Node
setPrefix
in class NodeImpl (src)
public org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
in interface org.w3c.dom.Node
getOwnerDocument
in class NodeImpl (src)
public org.w3c.dom.NamedNodeMap getAttributes()
getAttributes
in interface org.w3c.dom.Node
getAttributes
in class NodeImpl (src)
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class NodeImpl (src)
public void normalize()
normalize
in interface org.w3c.dom.Node
normalize
in class NodeImpl (src)
public boolean hasAttributes()
hasAttributes
in interface org.w3c.dom.Node
hasAttributes
in class NodeImpl (src)
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
hasChildNodes
in class NodeImpl (src)
public java.lang.String getLocalName()
getLocalName
in interface org.w3c.dom.Node
getLocalName
in class NodeImpl (src)
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface org.w3c.dom.Node
getNamespaceURI
in class NodeImpl (src)
public java.lang.String getNodeValue() throws org.w3c.dom.DOMException
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl (src)
org.w3c.dom.DOMException
public void setNamespaceURI(java.lang.String nsURI)
public QName (src) getType()
public void setType(QName (src) qname)
public SAX2EventRecorder (src) getRecorder()
public void setRecorder(SAX2EventRecorder (src) rec)
public java.lang.String getEncodingStyle()
getEncodingStyle
in interface SOAPElement (src)
getEncodingStyle
in class SOAPElementImpl (src)
public void removeContents()
SOAPElement (src)
removeContents
in interface SOAPElement (src)
removeContents
in class SOAPElementImpl (src)
public java.util.Iterator getVisibleNamespacePrefixes()
SOAPElement (src)
getVisibleNamespacePrefixes
in interface SOAPElement (src)
getVisibleNamespacePrefixes
in class SOAPElementImpl (src)
public void setEncodingStyle(java.lang.String encodingStyle) throws SOAPException (src)
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 SOAPElement (src)
setEncodingStyle
in class SOAPElementImpl (src)
encodingStyle
- a String
giving the encoding style
java.lang.IllegalArgumentException
- if
there was a problem in the encoding style being set.
SOAPException (src)
- if there was a problem in the encoding style being set.getEncodingStyle()
public void setContentsIndex(int index)
public void setNSMappings(java.util.ArrayList namespaces)
public java.lang.String getPrefix(java.lang.String namespaceURI)
public java.lang.String getNamespaceURI(java.lang.String prefix)
SOAPElement (src)
getNamespaceURI
in interface SOAPElement (src)
getNamespaceURI
in class SOAPElementImpl (src)
prefix
- a String giving the prefix of the namespace for which to search
public java.lang.Object getObjectValue()
public java.lang.Object getObjectValue(java.lang.Class cls) throws java.lang.Exception
cls
- Class that contains top level deserializer metadata
java.lang.Exception
public void setObjectValue(java.lang.Object newValue) throws SOAPException (src)
newValue
- node's value or null.
SOAPException (src)
public java.lang.Object getValueAsType(QName (src) type) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getValueAsType(QName (src) type, java.lang.Class cls) throws java.lang.Exception
java.lang.Exception
public void addAttribute(java.lang.String namespace, java.lang.String localName, QName (src) value)
protected org.xml.sax.helpers.AttributesImpl makeAttributesEditable()
public void addAttribute(java.lang.String namespace, java.lang.String localName, java.lang.String value)
public void addAttribute(java.lang.String prefix, java.lang.String namespace, java.lang.String localName, java.lang.String value)
public void setAttribute(java.lang.String namespace, java.lang.String localName, java.lang.String value)
public java.lang.String getAttributeValue(java.lang.String localName)
public void setEnvelope(SOAPEnvelopeAxisImpl (src) env)
public SOAPEnvelopeAxisImpl (src) getEnvelope()
public SOAPElementAxisImpl (src) getRealElement()
public org.w3c.dom.Element getAsDOM()
public org.w3c.dom.Document getAsDocument()
public java.lang.String getAsString()
public java.lang.String getAsStringFromInternal()
public static void printFromInternal(java.io.PrintWriter out, NodeImpl (src) node) throws java.lang.Exception
java.lang.Exception
public void publishToHandler(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void publishContents(org.xml.sax.ContentHandler handler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public final void output(SerializationContext (src) context) throws java.lang.Exception
context
- the SerializationContext we will write to.
java.lang.Exception
protected void outputImpl(SerializationContext (src) context) throws java.lang.Exception
java.lang.Exception
public void addMapping(Mapping (src) map)
public void setParentElement(SOAPElement (src) parent) throws SOAPException (src)
Node (src)
setParentElement
in interface Node (src)
setParentElement
in class NodeImpl (src)
parent
- the SOAPElement object to be set as the parent of this Node object
SOAPException (src)
- if there is a problem in setting the parent to the given nodepublic SOAPElement (src) getParentElement()
Node (src)
getParentElement
in interface Node (src)
getParentElement
in class NodeImpl (src)
public void detachNode()
detachNode
in interface Node (src)
detachNode
in class NodeImpl (src)
public boolean isImmutable()
public void setImmutable(boolean immutable)
public void setAllImmutable(boolean immutable)
public SOAPElement (src) addChildElement(Name (src) name) throws SOAPException (src)
SOAPElement (src)
addChildElement
in interface SOAPElement (src)
addChildElement
in class SOAPElementImpl (src)
name
- a Name object with the XML name for the new element
SOAPException (src)
- if there is an error in creating the SOAPElement objectpublic SOAPElement (src) addChildElement(java.lang.String localName) throws SOAPException (src)
SOAPElement (src)
addChildElement
in interface SOAPElement (src)
addChildElement
in class SOAPElementImpl (src)
localName
- a String giving the local name for the element
SOAPException (src)
- if there is an error in creating the SOAPElement objectpublic SOAPElement (src) addChildElement(java.lang.String localName, java.lang.String prefix) throws SOAPException (src)
SOAPElement (src)
addChildElement
in interface SOAPElement (src)
addChildElement
in class SOAPElementImpl (src)
localName
- a String giving the local name for the new elementprefix
- a String giving the namespace prefix for the new element
SOAPException (src)
- if there is an error in creating the SOAPElement objectpublic SOAPElement (src) addChildElement(java.lang.String localName, java.lang.String prefix, java.lang.String uri) throws SOAPException (src)
SOAPElement (src)
addChildElement
in interface SOAPElement (src)
addChildElement
in class SOAPElementImpl (src)
localName
- 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
SOAPException (src)
- if there is an error in creating the SOAPElement objectpublic SOAPElement (src) addChildElement(SOAPElement (src) element) throws SOAPException (src)
addChildElement
in interface SOAPElement (src)
addChildElement
in class SOAPElementImpl (src)
element
- the SOAPElement to be added as a new child
SOAPException (src)
- if there was an error in adding this element as a childpublic SOAPElement (src) addTextNode(java.lang.String value) throws SOAPException (src)
addTextNode
in interface SOAPElement (src)
addTextNode
in class SOAPElementImpl (src)
value
- a String object with the textual content to be added
SOAPException (src)
- if there is an error in creating the new Text objectpublic SOAPElement (src) addAttribute(Name (src) name, java.lang.String value) throws SOAPException (src)
SOAPElement (src)
addAttribute
in interface SOAPElement (src)
addAttribute
in class SOAPElementImpl (src)
name
- a Name object with the name of the attributevalue
- a String giving the value of the attribute
SOAPException (src)
- if there is an error in creating the Attributepublic SOAPElement (src) addNamespaceDeclaration(java.lang.String prefix, java.lang.String uri) throws SOAPException (src)
SOAPElement (src)
addNamespaceDeclaration
in interface SOAPElement (src)
addNamespaceDeclaration
in class SOAPElementImpl (src)
prefix
- a String giving the prefix of the namespaceuri
- a String giving the uri of the namespace
SOAPException (src)
- if there is an error in creating the namespacepublic java.lang.String getAttributeValue(Name (src) name)
SOAPElement (src)
getAttributeValue
in interface SOAPElement (src)
getAttributeValue
in class SOAPElementImpl (src)
name
- a Name object with the name of the attribute
public java.util.Iterator getAllAttributes()
SOAPElement (src)
getAllAttributes
in interface SOAPElement (src)
getAllAttributes
in class SOAPElementImpl (src)
public java.util.Iterator getNamespacePrefixes()
SOAPElement (src)
getNamespacePrefixes
in interface SOAPElement (src)
getNamespacePrefixes
in class SOAPElementImpl (src)
public Name (src) getElementName()
SOAPElement (src)
getElementName
in interface SOAPElement (src)
getElementName
in class SOAPElementImpl (src)
public boolean removeAttribute(Name (src) name)
SOAPElement (src)
removeAttribute
in interface SOAPElement (src)
removeAttribute
in class SOAPElementImpl (src)
name
- the Name object with the name of the attribute to be removed
public boolean removeNamespaceDeclaration(java.lang.String prefix)
SOAPElement (src)
removeNamespaceDeclaration
in interface SOAPElement (src)
removeNamespaceDeclaration
in class SOAPElementImpl (src)
prefix
- a String giving the prefix for which to search
public java.util.Iterator getChildElements()
SOAPElement (src)
getChildElements
in interface SOAPElement (src)
getChildElements
in class SOAPElementImpl (src)
public java.util.Iterator getChildElements(Name (src) name)
SOAPElement (src)
getChildElements
in interface SOAPElement (src)
getChildElements
in class SOAPElementImpl (src)
name
- a Name object with the name of the child elements to be returned
public java.lang.String getTagName()
getTagName
in interface org.w3c.dom.Element
getTagName
in class SOAPElementImpl (src)
public void removeAttribute(java.lang.String name) throws org.w3c.dom.DOMException
removeAttribute
in interface org.w3c.dom.Element
removeAttribute
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public boolean hasAttribute(java.lang.String name)
hasAttribute
in interface org.w3c.dom.Element
hasAttribute
in class SOAPElementImpl (src)
public java.lang.String getAttribute(java.lang.String name)
getAttribute
in interface org.w3c.dom.Element
getAttribute
in class SOAPElementImpl (src)
public void removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName) throws org.w3c.dom.DOMException
removeAttributeNS
in interface org.w3c.dom.Element
removeAttributeNS
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public void setAttribute(java.lang.String name, java.lang.String value) throws org.w3c.dom.DOMException
setAttribute
in interface org.w3c.dom.Element
setAttribute
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public boolean hasAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
hasAttributeNS
in interface org.w3c.dom.Element
hasAttributeNS
in class SOAPElementImpl (src)
public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
getAttributeNode
in interface org.w3c.dom.Element
getAttributeNode
in class SOAPElementImpl (src)
public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr) throws org.w3c.dom.DOMException
removeAttributeNode
in interface org.w3c.dom.Element
removeAttributeNode
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr) throws org.w3c.dom.DOMException
setAttributeNode
in interface org.w3c.dom.Element
setAttributeNode
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr newAttr) throws org.w3c.dom.DOMException
setAttributeNodeNS
in interface org.w3c.dom.Element
setAttributeNodeNS
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
getElementsByTagName
in interface org.w3c.dom.Element
getElementsByTagName
in class SOAPElementImpl (src)
public java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
getAttributeNS
in interface org.w3c.dom.Element
getAttributeNS
in class SOAPElementImpl (src)
public void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value) throws org.w3c.dom.DOMException
setAttributeNS
in interface org.w3c.dom.Element
setAttributeNS
in class SOAPElementImpl (src)
org.w3c.dom.DOMException
public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
getAttributeNodeNS
in interface org.w3c.dom.Element
getAttributeNodeNS
in class SOAPElementImpl (src)
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
getElementsByTagNameNS
in interface org.w3c.dom.Element
getElementsByTagNameNS
in class SOAPElementImpl (src)
protected org.w3c.dom.NodeList getElementsNS(org.w3c.dom.Element parent, java.lang.String namespaceURI, java.lang.String localName)
public void setOwnerDocument(MessagePart (src) sp)
public java.util.List getChildren()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |