|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLElement
This interface represents an XML element information item in a format to be interpreted by the Woden implementation. It permits different representations of an element to be used as method arguments or return values without making the Woden API dependent on any particular XML parser or XML object model.
Method Summary | |
---|---|
java.lang.String |
getAttributeValue(java.lang.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. |
java.lang.String |
getLocalName()
|
java.net.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(java.lang.String prefixedValue)
Return the qualified name from the specified prefixed value. |
java.lang.Object |
getSource()
Returns an Object representing an XML element, which the caller must cast to the expected type. |
void |
setSource(java.lang.Object elem)
Accepts an Object representing an XML element. |
Method Detail |
---|
void setSource(java.lang.Object elem)
elem
- the Object representing the XML element
java.lang.IllegalArgumentException
- if elem is not a type supported by the implementation.java.lang.Object getSource()
java.lang.String getAttributeValue(java.lang.String attrName)
attrName
- name of attribute to look for
java.net.URI getNamespaceURI() throws WSDLException
WSDLException
java.lang.String getLocalName()
QName getQName()
QName getQName(java.lang.String prefixedValue) throws WSDLException
prefixedValue
- of the form [namespace prefix]:[local name]
WSDLException
XMLElement getFirstChildElement()
XMLElement getNextSiblingElement()
XMLElement[] getChildElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |