EclipseLink 2.4.2, build 'v20130514-5956486' 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, boolean needToOpen)
           
 
Method Summary
 boolean isCollection()
           
 boolean isEmptyCollection()
           
 boolean isFirst()
           
 boolean isNeedToCloseComplex()
           
 boolean isNeedToOpenComplex()
           
 void setCollection(boolean collection)
           
 void setEmptyCollection(boolean emptyCollection)
           
 void setFirst(boolean value)
           
 void setNeedToCloseComplex(boolean needToCloseComplex)
           
 void setNeedToOpenComplex(boolean needToOpenComplex)
           
 
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,
                              boolean needToOpen)
Method Detail

isNeedToOpenComplex

public boolean isNeedToOpenComplex()

setNeedToOpenComplex

public void setNeedToOpenComplex(boolean needToOpenComplex)

isNeedToCloseComplex

public boolean isNeedToCloseComplex()

setNeedToCloseComplex

public void setNeedToCloseComplex(boolean needToCloseComplex)

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.2, build 'v20130514-5956486' API Reference