public abstract class TypeJsonVisitor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
classMetadataName |
protected int |
count |
protected boolean |
declared |
protected JsonContext |
jsonContext |
protected java.lang.Class |
type |
protected TypeData |
typeData |
Constructor and Description |
---|
TypeJsonVisitor(JsonContext jsonContext,
java.lang.Class type) |
Modifier and Type | Method and Description |
---|---|
protected void |
onProperty(java.lang.String propertyName,
PropertyDescriptor propertyDescriptor,
boolean isTransient)
Invoked on each property.
|
protected abstract void |
onSerializableProperty(java.lang.String propertyName,
PropertyDescriptor propertyDescriptor)
Invoked on serializable properties, that have passed all the rules.
|
void |
visit()
Visits a type.
|
protected final JsonContext jsonContext
protected final boolean declared
protected final java.lang.String classMetadataName
protected final java.lang.Class type
protected int count
protected final TypeData typeData
public TypeJsonVisitor(JsonContext jsonContext, java.lang.Class type)
public void visit()
protected void onProperty(java.lang.String propertyName, PropertyDescriptor propertyDescriptor, boolean isTransient)
onSerializableProperty(String, jodd.introspector.PropertyDescriptor)
.protected abstract void onSerializableProperty(java.lang.String propertyName, PropertyDescriptor propertyDescriptor)
null
in special case when
class meta data name is used.Copyright © 2003-present Jodd Team