org.codehaus.xfire.java.message
Class LiteralReader
java.lang.Object
org.codehaus.xfire.java.message.LiteralReader
- All Implemented Interfaces:
- MessageReader
public class LiteralReader
- extends java.lang.Object
- implements MessageReader
Reads literal encoded messages.
- Author:
- Dan Diephouse
Field Summary |
(package private) int |
depth
|
Constructor Summary |
LiteralReader(org.codehaus.xfire.util.DepthXMLStreamReader root)
Expects the XMLStreamReader in the START_DOCUMENT event. |
LiteralReader(javax.xml.stream.XMLStreamReader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
depth
int depth
LiteralReader
public LiteralReader(org.codehaus.xfire.util.DepthXMLStreamReader root)
- Expects the XMLStreamReader in the START_DOCUMENT event.
- Parameters:
root
-
LiteralReader
public LiteralReader(javax.xml.stream.XMLStreamReader reader)
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface MessageReader
- See Also:
MessageReader.getValue()
getValueAsInt
public int getValueAsInt()
- Specified by:
getValueAsInt
in interface MessageReader
- See Also:
MessageReader.getValueAsInt()
getValueAsDate
public java.util.Date getValueAsDate()
- Specified by:
getValueAsDate
in interface MessageReader
- See Also:
MessageReader.getValueAsDate()
getValueAsDateTime
public java.util.Date getValueAsDateTime()
- Specified by:
getValueAsDateTime
in interface MessageReader
- See Also:
MessageReader.getValueAsDateTime()
getValueAsCalendar
public java.util.Calendar getValueAsCalendar()
- Specified by:
getValueAsCalendar
in interface MessageReader
- See Also:
MessageReader.getValueAsCalendar()
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()
hasMoreChildReaders
public boolean hasMoreChildReaders()
- Specified by:
hasMoreChildReaders
in interface MessageReader
getNextChildReader
public MessageReader getNextChildReader()
- Specified by:
getNextChildReader
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:
Copyright © 2004 Codehaus. All Rights Reserved.