protected static class JSONWriterRecord.Level
extends java.lang.Object
Constructor and Description |
---|
JSONWriterRecord.Level(boolean value,
boolean needToOpen) |
JSONWriterRecord.Level(boolean value,
boolean needToOpen,
JSONWriterRecord.Level previousLevel) |
Modifier and Type | Method and Description |
---|---|
JSONWriterRecord.Level |
getPreviousLevel() |
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) |
public JSONWriterRecord.Level(boolean value, boolean needToOpen)
public JSONWriterRecord.Level(boolean value, boolean needToOpen, JSONWriterRecord.Level previousLevel)
public boolean isNeedToOpenComplex()
public void setNeedToOpenComplex(boolean needToOpenComplex)
public boolean isNeedToCloseComplex()
public void setNeedToCloseComplex(boolean needToCloseComplex)
public boolean isEmptyCollection()
public void setEmptyCollection(boolean emptyCollection)
public boolean isFirst()
public void setFirst(boolean value)
public boolean isCollection()
public void setCollection(boolean collection)
public JSONWriterRecord.Level getPreviousLevel()