net.sf.jsefa.flr
Class FlrSerializerImpl

java.lang.Object
  extended by net.sf.jsefa.rbf.RbfSerializerImpl<FlrLowLevelSerializer>
      extended by net.sf.jsefa.flr.FlrSerializerImpl
All Implemented Interfaces:
FlrSerializer, RbfSerializer, Serializer

public final class FlrSerializerImpl
extends RbfSerializerImpl<FlrLowLevelSerializer>
implements FlrSerializer

Default implementation of FlrSerializer based on RbfSerializerImpl.

Author:
Norman Lahme-Huetig

Method Summary
protected  void writePrefix(String prefix)
          Writes the prefix.
protected  void writeSimpleValue(Object object, SimpleTypeMapping<?> mapping)
          Writes the given value as a simple value using the simple type mapping.
 
Methods inherited from class net.sf.jsefa.rbf.RbfSerializerImpl
close, flush, getLowLevelSerializer, open, write
 
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.flr.FlrSerializer
getLowLevelSerializer
 
Methods inherited from interface net.sf.jsefa.Serializer
close, flush, open, write
 

Method Detail

writeSimpleValue

protected void writeSimpleValue(Object object,
                                SimpleTypeMapping<?> mapping)
Writes the given value as a simple value using the simple type mapping.

Specified by:
writeSimpleValue in class RbfSerializerImpl<FlrLowLevelSerializer>
Parameters:
object - the value to write
mapping - the simple type mapping

writePrefix

protected void writePrefix(String prefix)
Writes the prefix.

Specified by:
writePrefix in class RbfSerializerImpl<FlrLowLevelSerializer>
Parameters:
prefix - the prefix


Copyright © 2014. All rights reserved.