public interface XMLElement
Modifier and Type | Method and Description |
---|---|
String |
getAttributeValue(String attrName)
Returns the value of the specified attribute or null if it is not found.
|
XMLElement[] |
getChildElements()
Return an array of the child elements of this element or
an empty array if no siblings are found.
|
XMLElement |
getFirstChildElement()
Return the first child element of this element or null if no
children are found.
|
String |
getLocalName() |
URI |
getNamespaceURI() |
XMLElement |
getNextSiblingElement()
Return the next sibling element of this element or null if no
siblings are found.
|
QName |
getQName()
Return the qualified name of this element.
|
QName |
getQName(String prefixedValue)
Return the qualified name from the specified prefixed value.
|
Object |
getSource()
Returns an Object representing an XML element, which the caller must
cast to the expected type.
|
void |
setSource(Object elem)
Accepts an Object representing an XML element.
|
void setSource(Object elem)
elem
- the Object representing the XML elementIllegalArgumentException
- if elem is not a type supported by the implementation.Object getSource()
String getAttributeValue(String attrName)
attrName
- name of attribute to look forURI getNamespaceURI() throws WSDLException
WSDLException
String getLocalName()
QName getQName()
QName getQName(String prefixedValue) throws WSDLException
prefixedValue
- of the form [namespace prefix]:[local name]WSDLException
XMLElement getFirstChildElement()
XMLElement getNextSiblingElement()
XMLElement[] getChildElements()
Copyright © 2005–2013 Apache Software Foundation. All rights reserved.