Apache CXF API

org.apache.cxf.aegis.xml
Class AbstractMessageReader

java.lang.Object
  extended by org.apache.cxf.aegis.xml.AbstractMessageReader
All Implemented Interfaces:
MessageReader
Direct Known Subclasses:
AttributeReader, ElementReader

public abstract class AbstractMessageReader
extends Object
implements MessageReader

Basic type conversions for reading messages.

Author:
Dan Diephouse

Constructor Summary
AbstractMessageReader()
           
 
Method Summary
 boolean getValueAsBoolean()
           
 char getValueAsCharacter()
           
 double getValueAsDouble()
           
 float getValueAsFloat()
           
 int getValueAsInt()
           
 long getValueAsLong()
           
 javax.xml.stream.XMLStreamReader getXMLStreamReader()
           
 boolean hasValue()
           
 boolean isXsiNil()
           
 void readToEnd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.aegis.xml.MessageReader
getAttributeReader, getLocalName, getName, getNamespace, getNamespaceForPrefix, getNextAttributeReader, getNextElementReader, getValue, hasMoreAttributeReaders, hasMoreElementReaders
 

Constructor Detail

AbstractMessageReader

public AbstractMessageReader()
Method Detail

readToEnd

public void readToEnd()
Specified by:
readToEnd in interface MessageReader

isXsiNil

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

hasValue

public boolean hasValue()

getValueAsCharacter

public char getValueAsCharacter()
Specified by:
getValueAsCharacter in interface MessageReader
See Also:
MessageReader.getValueAsCharacter()

getValueAsInt

public int getValueAsInt()
Specified by:
getValueAsInt in interface MessageReader

getValueAsLong

public long getValueAsLong()
Specified by:
getValueAsLong in interface MessageReader
See Also:
MessageReader.getValueAsLong()

getValueAsDouble

public double getValueAsDouble()
Specified by:
getValueAsDouble in interface MessageReader
See Also:
MessageReader.getValueAsDouble()

getValueAsFloat

public float getValueAsFloat()
Specified by:
getValueAsFloat in interface MessageReader
See Also:
MessageReader.getValueAsFloat()

getValueAsBoolean

public boolean getValueAsBoolean()
Specified by:
getValueAsBoolean in interface MessageReader
See Also:
MessageReader.getValueAsBoolean()

getXMLStreamReader

public javax.xml.stream.XMLStreamReader getXMLStreamReader()
Specified by:
getXMLStreamReader in interface MessageReader

Apache CXF API

Apache CXF