Class JsonRecord.Level
java.lang.Object
org.eclipse.persistence.oxm.record.JsonRecord.Level
- Direct Known Subclasses:
JsonBuilderRecord.Level
- Enclosing class:
- JsonRecord<T extends JsonRecord.Level>
Instances of this class are used to maintain state about the current
level of the JSON message being marshalled.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected String
protected boolean
protected JsonRecord.Level
-
Constructor Summary
ConstructorDescriptionLevel
(boolean isCollection, JsonRecord.Level parentLevel, boolean nestedArray) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSkip()
protected int
boolean
boolean
boolean
boolean
boolean
protected boolean
notSkip()
void
setCollection
(boolean isCollection) void
setComplex
(boolean isComplex) void
setEmptyCollection
(boolean emptyCollection) void
setEmptyCollectionGenerated
(boolean emptyCollectionGenerated) void
setKeyName
(String keyName) void
setNestedArray
(boolean nestedArray)
-
Field Details
-
isCollection
protected boolean isCollection -
emptyCollection
protected boolean emptyCollection -
emptyCollectionGenerated
protected boolean emptyCollectionGenerated -
keyName
-
isComplex
protected boolean isComplex -
nestedArray
protected boolean nestedArray -
parentLevel
-
-
Constructor Details
-
Level
-
-
Method Details
-
addSkip
protected void addSkip() -
notSkip
protected boolean notSkip() -
getSkipCount
protected int getSkipCount() -
isCollection
public boolean isCollection() -
setCollection
public void setCollection(boolean isCollection) -
getKeyName
-
setKeyName
-
isEmptyCollection
public boolean isEmptyCollection() -
setEmptyCollection
public void setEmptyCollection(boolean emptyCollection) -
isEmptyCollectionGenerated
public boolean isEmptyCollectionGenerated() -
setEmptyCollectionGenerated
public void setEmptyCollectionGenerated(boolean emptyCollectionGenerated) -
isComplex
public boolean isComplex() -
setComplex
public void setComplex(boolean isComplex) -
isNestedArray
public boolean isNestedArray() -
setNestedArray
public void setNestedArray(boolean nestedArray)
-