fr.opensagres.xdocreport.document.tools.json
Class FieldsMetadataJSONSerializer

java.lang.Object
  extended by fr.opensagres.xdocreport.document.tools.json.FieldsMetadataJSONSerializer

public class FieldsMetadataJSONSerializer
extends Object


Constructor Summary
FieldsMetadataJSONSerializer()
           
 
Method Summary
static FieldsMetadataJSONSerializer getInstance()
           
protected  String getValue(String fieldName, int index)
           
 void save(FieldsMetadata fieldsMetadata, OutputStream out, boolean indent)
           
 void save(FieldsMetadata fieldsMetadata, Writer writer, boolean indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldsMetadataJSONSerializer

public FieldsMetadataJSONSerializer()
Method Detail

getInstance

public static FieldsMetadataJSONSerializer getInstance()

save

public void save(FieldsMetadata fieldsMetadata,
                 Writer writer,
                 boolean indent)
          throws IOException,
                 JSONException
Throws:
IOException
JSONException

save

public void save(FieldsMetadata fieldsMetadata,
                 OutputStream out,
                 boolean indent)
          throws IOException,
                 JSONException
Throws:
IOException
JSONException

getValue

protected String getValue(String fieldName,
                          int index)


Copyright © 2013. All rights reserved.