net.sf.jsefa.flr
Class FlrDeserializerImpl

java.lang.Object
  extended by net.sf.jsefa.rbf.RbfDeserializerImpl
      extended by net.sf.jsefa.flr.FlrDeserializerImpl
All Implemented Interfaces:
Deserializer, FlrDeserializer, RbfDeserializer

public final class FlrDeserializerImpl
extends RbfDeserializerImpl
implements FlrDeserializer

Default implementation of FlrDeserializer based on RbfDeserializerImpl.

Author:
Norman Lahme-Huetig

Method Summary
protected  FlrLowLevelDeserializer getLowLevelDeserializer()
          Returns the low level deserializer.
protected  String readPrefix()
          Reads the prefix of the current record from the stream.
protected  Object readSimpleValue(SimpleTypeMapping<?> typeMapping)
          Reads a simple value from the stream using the given type mapping.
 
Methods inherited from class net.sf.jsefa.rbf.RbfDeserializerImpl
close, getInputPosition, getStoredLines, hasNext, next, open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jsefa.rbf.RbfDeserializer
getStoredLines
 
Methods inherited from interface net.sf.jsefa.Deserializer
close, getInputPosition, hasNext, next, open
 

Method Detail

readSimpleValue

protected Object readSimpleValue(SimpleTypeMapping<?> typeMapping)
Reads a simple value from the stream using the given type mapping.

Specified by:
readSimpleValue in class RbfDeserializerImpl
Parameters:
typeMapping - the type mapping
Returns:
a simple value

readPrefix

protected String readPrefix()
Reads the prefix of the current record from the stream.

Specified by:
readPrefix in class RbfDeserializerImpl
Returns:
a prefix

getLowLevelDeserializer

protected FlrLowLevelDeserializer getLowLevelDeserializer()
Returns the low level deserializer.

Specified by:
getLowLevelDeserializer in class RbfDeserializerImpl
Returns:
the low level deserializer.


Copyright © 2014. All rights reserved.