org.codehaus.xfire.message.yom
Class YOMReader

java.lang.Object
  extended by org.codehaus.xfire.message.AbstractMessageReader
      extended by org.codehaus.xfire.message.yom.YOMReader
All Implemented Interfaces:
MessageReader

public class YOMReader
extends AbstractMessageReader
implements MessageReader


Constructor Summary
YOMReader(org.codehaus.yom.Element element)
           
 
Method Summary
 java.lang.String getLocalName()
          Get the local name of the element this reader represents.
 javax.xml.namespace.QName getName()
           
 java.lang.String getNamespace()
           
 MessageReader getNextAttributeReader()
           
 MessageReader getNextElementReader()
           
 java.lang.String getValue()
           
 java.lang.String getValue(java.lang.String ns, java.lang.String attr)
           
 javax.xml.stream.XMLStreamReader getXMLStreamReader()
           
 boolean hasMoreAttributeReaders()
           
 boolean hasMoreElementReaders()
           
 
Methods inherited from class org.codehaus.xfire.message.AbstractMessageReader
getValueAsBoolean, getValueAsCalendar, getValueAsDate, getValueAsDateTime, getValueAsDouble, getValueAsFloat, getValueAsInt, getValueAsLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.xfire.message.MessageReader
getValueAsBoolean, getValueAsCalendar, getValueAsDate, getValueAsDateTime, getValueAsDouble, getValueAsFloat, getValueAsInt, getValueAsLong
 

Constructor Detail

YOMReader

public YOMReader(org.codehaus.yom.Element element)
Method Detail

getValue

public java.lang.String getValue()
Specified by:
getValue in interface MessageReader

getValue

public java.lang.String getValue(java.lang.String ns,
                                 java.lang.String attr)

hasMoreElementReaders

public boolean hasMoreElementReaders()
Specified by:
hasMoreElementReaders in interface MessageReader

getNextElementReader

public MessageReader getNextElementReader()
Specified by:
getNextElementReader in interface MessageReader

getName

public javax.xml.namespace.QName getName()
Specified by:
getName in interface MessageReader

getLocalName

public java.lang.String getLocalName()
Description copied from interface: MessageReader
Get the local name of the element this reader represents.

Specified by:
getLocalName in interface MessageReader
Returns:

getNamespace

public java.lang.String getNamespace()
Specified by:
getNamespace in interface MessageReader
Returns:

getXMLStreamReader

public javax.xml.stream.XMLStreamReader getXMLStreamReader()

hasMoreAttributeReaders

public boolean hasMoreAttributeReaders()
Specified by:
hasMoreAttributeReaders in interface MessageReader

getNextAttributeReader

public MessageReader getNextAttributeReader()
Specified by:
getNextAttributeReader in interface MessageReader