Class JsonBuilderRecord.Level
java.lang.Object
org.eclipse.persistence.oxm.record.JsonRecord.Level
org.eclipse.persistence.oxm.record.JsonBuilderRecord.Level
- Enclosing class:
- JsonBuilderRecord
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
ConstructorDescriptionLevel
(boolean isCollection, JsonBuilderRecord.Level position, boolean nestedArray) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.json.JsonArrayBuilder
jakarta.json.JsonObjectBuilder
void
setCollection
(boolean isCollection) void
setJsonArrayBuilder
(jakarta.json.JsonArrayBuilder jsonArrayBuilder) void
setJsonObjectBuilder
(jakarta.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 Details
-
Level
-
-
Method Details
-
setCollection
public void setCollection(boolean isCollection) - Overrides:
setCollection
in classJsonRecord.Level
-
getJsonObjectBuilder
public jakarta.json.JsonObjectBuilder getJsonObjectBuilder() -
setJsonObjectBuilder
public void setJsonObjectBuilder(jakarta.json.JsonObjectBuilder jsonObjectBuilder) -
getJsonArrayBuilder
public jakarta.json.JsonArrayBuilder getJsonArrayBuilder() -
setJsonArrayBuilder
public void setJsonArrayBuilder(jakarta.json.JsonArrayBuilder jsonArrayBuilder)
-