org.eclipse.persistence.oxm.record
Class JSONWriterRecord.Level
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSONWriterRecord.Level
public JSONWriterRecord.Level(boolean value,
boolean needToOpen)
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)