org.apache.woden.internal
Class OMXMLElement

java.lang.Object
  extended by org.apache.woden.internal.BaseXMLElement
      extended by org.apache.woden.internal.OMXMLElement
All Implemented Interfaces:
XMLElement

public class OMXMLElement
extends BaseXMLElement


Field Summary
 
Fields inherited from class org.apache.woden.internal.BaseXMLElement
fErrorReporter, fSource
 
Constructor Summary
OMXMLElement(ErrorReporter errorReporter)
           
 
Method Summary
protected  java.lang.String doGetAttributeValue(java.lang.String attrName)
           
protected  XMLElement[] doGetChildElements()
           
protected  XMLElement doGetFirstChildElement()
           
protected  java.lang.String doGetLocalName()
           
protected  java.net.URI doGetNamespaceURI()
           
protected  XMLElement doGetNextSiblingElement()
           
protected  QName doGetQName()
           
protected  QName doGetQName(java.lang.String prefixedValue)
           
 void setSource(java.lang.Object elem)
          Accepts an Object representing an XML element.
 
Methods inherited from class org.apache.woden.internal.BaseXMLElement
getAttributeValue, getChildElements, getFirstChildElement, getLocalName, getNamespaceURI, getNextSiblingElement, getQName, getQName, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OMXMLElement

public OMXMLElement(ErrorReporter errorReporter)
Method Detail

setSource

public void setSource(java.lang.Object elem)
Description copied from interface: XMLElement
Accepts an Object representing an XML element. The implementation should check that it is of a type appropriate for the underlying XML parser or XML Object model being used. For example, a DOM implementation might expect an org.w3c.dom.Element while an AXIOM implementation might expect org.apache.axiom.om.OMElement.

Specified by:
setSource in interface XMLElement
Specified by:
setSource in class BaseXMLElement
Parameters:
elem - the Object representing the XML element

doGetAttributeValue

protected java.lang.String doGetAttributeValue(java.lang.String attrName)
Specified by:
doGetAttributeValue in class BaseXMLElement

doGetNamespaceURI

protected java.net.URI doGetNamespaceURI()
                                  throws WSDLException
Specified by:
doGetNamespaceURI in class BaseXMLElement
Throws:
WSDLException

doGetLocalName

protected java.lang.String doGetLocalName()
Specified by:
doGetLocalName in class BaseXMLElement

doGetQName

protected QName doGetQName()
Specified by:
doGetQName in class BaseXMLElement

doGetQName

protected QName doGetQName(java.lang.String prefixedValue)
                    throws WSDLException
Specified by:
doGetQName in class BaseXMLElement
Throws:
WSDLException

doGetFirstChildElement

protected XMLElement doGetFirstChildElement()
Specified by:
doGetFirstChildElement in class BaseXMLElement

doGetNextSiblingElement

protected XMLElement doGetNextSiblingElement()
Specified by:
doGetNextSiblingElement in class BaseXMLElement

doGetChildElements

protected XMLElement[] doGetChildElements()
Specified by:
doGetChildElements in class BaseXMLElement


Copyright © 2007. All Rights Reserved.