EclipseLink 2.4.0, build 'v20110922-r10146' API Reference

org.eclipse.persistence.oxm.record
Class JSONWriterRecord.Level

java.lang.Object
  extended by org.eclipse.persistence.oxm.record.JSONWriterRecord.Level
Enclosing class:
JSONWriterRecord

protected static class JSONWriterRecord.Level
extends java.lang.Object

Instances of this class are used to maintain state about the current level of the JSON message being marshalled.


Constructor Summary
JSONWriterRecord.Level(boolean value)
           
 
Method Summary
 boolean isCollection()
           
 boolean isEmptyCollection()
           
 boolean isFirst()
           
 void setCollection(boolean collection)
           
 void setEmptyCollection(boolean emptyCollection)
           
 void setFirst(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONWriterRecord.Level

public JSONWriterRecord.Level(boolean value)
Method Detail

isEmptyCollection

public boolean isEmptyCollection()

setEmptyCollection

public void setEmptyCollection(boolean emptyCollection)

isFirst

public boolean isFirst()

setFirst

public void setFirst(boolean value)

isCollection

public boolean isCollection()

setCollection

public void setCollection(boolean collection)

EclipseLink 2.4.0, build 'v20110922-r10146' API Reference