|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.woden.internal.BaseXMLElement
This abstract class implements methods of the XMLElement interface that are common across all concrete implementations.
| Field Summary | |
protected ErrorReporter |
fErrorReporter
|
protected java.lang.Object |
fSource
|
| Constructor Summary | |
protected |
BaseXMLElement(ErrorReporter errorReporter)
|
| Method Summary | |
protected abstract java.lang.String |
doGetAttributeValue(java.lang.String attrName)
|
protected abstract XMLElement[] |
doGetChildElements()
|
protected abstract XMLElement |
doGetFirstChildElement()
|
protected abstract java.lang.String |
doGetLocalName()
|
protected abstract java.net.URI |
doGetNamespaceURI()
|
protected abstract XMLElement |
doGetNextSiblingElement()
|
protected abstract QName |
doGetQName()
|
protected abstract QName |
doGetQName(java.lang.String prefixedValue)
|
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. |
abstract void |
setSource(java.lang.Object elem)
Accepts an Object representing an XML element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Object fSource
protected ErrorReporter fErrorReporter
| Constructor Detail |
protected BaseXMLElement(ErrorReporter errorReporter)
| Method Detail |
public abstract void setSource(java.lang.Object elem)
XMLElement
setSource in interface XMLElementelem - the Object representing the XML elementpublic final java.lang.Object getSource()
XMLElement
getSource in interface XMLElementpublic final java.lang.String getAttributeValue(java.lang.String attrName)
XMLElement
getAttributeValue in interface XMLElementattrName - name of attribute to look for
protected abstract java.lang.String doGetAttributeValue(java.lang.String attrName)
public final java.net.URI getNamespaceURI()
throws WSDLException
getNamespaceURI in interface XMLElementWSDLException
protected abstract java.net.URI doGetNamespaceURI()
throws WSDLException
WSDLExceptionpublic final java.lang.String getLocalName()
getLocalName in interface XMLElementprotected abstract java.lang.String doGetLocalName()
public final QName getQName()
XMLElement
getQName in interface XMLElementprotected abstract QName doGetQName()
public final QName getQName(java.lang.String prefixedValue)
throws WSDLException
XMLElement
getQName in interface XMLElementprefixedValue - of the form [namespace prefix]:[local name]
WSDLException
protected abstract QName doGetQName(java.lang.String prefixedValue)
throws WSDLException
WSDLExceptionpublic final XMLElement getFirstChildElement()
XMLElement
getFirstChildElement in interface XMLElementprotected abstract XMLElement doGetFirstChildElement()
public final XMLElement getNextSiblingElement()
XMLElement
getNextSiblingElement in interface XMLElementprotected abstract XMLElement doGetNextSiblingElement()
public final XMLElement[] getChildElements()
XMLElement
getChildElements in interface XMLElementprotected abstract XMLElement[] doGetChildElements()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||