Package org.apache.cxf.aegis.xml
Class AbstractMessageReader
- java.lang.Object
-
- 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.
-
-
Constructor Summary
Constructors Constructor Description AbstractMessageReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetValueAsBoolean()chargetValueAsCharacter()doublegetValueAsDouble()floatgetValueAsFloat()intgetValueAsInt()longgetValueAsLong()XMLStreamReadergetXMLStreamReader()booleanhasValue()booleanisXsiNil()voidreadToEnd()-
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
-
-
-
-
Method Detail
-
readToEnd
public void readToEnd()
- Specified by:
readToEndin interfaceMessageReader
-
isXsiNil
public boolean isXsiNil()
- Specified by:
isXsiNilin interfaceMessageReader
-
hasValue
public boolean hasValue()
-
getValueAsCharacter
public char getValueAsCharacter()
- Specified by:
getValueAsCharacterin interfaceMessageReader- See Also:
MessageReader.getValueAsCharacter()
-
getValueAsInt
public int getValueAsInt()
- Specified by:
getValueAsIntin interfaceMessageReader
-
getValueAsLong
public long getValueAsLong()
- Specified by:
getValueAsLongin interfaceMessageReader- See Also:
MessageReader.getValueAsLong()
-
getValueAsDouble
public double getValueAsDouble()
- Specified by:
getValueAsDoublein interfaceMessageReader- See Also:
MessageReader.getValueAsDouble()
-
getValueAsFloat
public float getValueAsFloat()
- Specified by:
getValueAsFloatin interfaceMessageReader- See Also:
MessageReader.getValueAsFloat()
-
getValueAsBoolean
public boolean getValueAsBoolean()
- Specified by:
getValueAsBooleanin interfaceMessageReader- See Also:
MessageReader.getValueAsBoolean()
-
getXMLStreamReader
public XMLStreamReader getXMLStreamReader()
- Specified by:
getXMLStreamReaderin interfaceMessageReader
-
-