Class JsonBuilderRecord.Level
- java.lang.Object
-
- org.eclipse.persistence.oxm.record.JsonRecord.Level
-
- org.eclipse.persistence.oxm.record.JsonBuilderRecord.Level
-
- Enclosing class:
- JsonBuilderRecord
protected static class JsonBuilderRecord.Level extends JsonRecord.Level
Instances of this class are used to maintain state about the current level of the JSON message being marshalled.
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.oxm.record.JsonRecord.Level
emptyCollection, emptyCollectionGenerated, isCollection, isComplex, keyName, nestedArray, parentLevel
-
-
Constructor Summary
Constructors Constructor Description Level(boolean isCollection, JsonBuilderRecord.Level position, boolean nestedArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.json.JsonArrayBuilder
getJsonArrayBuilder()
javax.json.JsonObjectBuilder
getJsonObjectBuilder()
void
setCollection(boolean isCollection)
void
setJsonArrayBuilder(javax.json.JsonArrayBuilder jsonArrayBuilder)
void
setJsonObjectBuilder(javax.json.JsonObjectBuilder jsonObjectBuilder)
-
Methods inherited from class org.eclipse.persistence.oxm.record.JsonRecord.Level
addSkip, getKeyName, getSkipCount, isCollection, isComplex, isEmptyCollection, isEmptyCollectionGenerated, isNestedArray, notSkip, setComplex, setEmptyCollection, setEmptyCollectionGenerated, setKeyName, setNestedArray
-
-
-
-
Constructor Detail
-
Level
public Level(boolean isCollection, JsonBuilderRecord.Level position, boolean nestedArray)
-
-
Method Detail
-
setCollection
public void setCollection(boolean isCollection)
- Overrides:
setCollection
in classJsonRecord.Level
-
getJsonObjectBuilder
public javax.json.JsonObjectBuilder getJsonObjectBuilder()
-
setJsonObjectBuilder
public void setJsonObjectBuilder(javax.json.JsonObjectBuilder jsonObjectBuilder)
-
getJsonArrayBuilder
public javax.json.JsonArrayBuilder getJsonArrayBuilder()
-
setJsonArrayBuilder
public void setJsonArrayBuilder(javax.json.JsonArrayBuilder jsonArrayBuilder)
-
-