public static class CustomAttributeSerializer.CustomAttribute extends SerializationClass.Attribute
field, getter, ignore, name, originalName, originalType, parent, setter, type| Constructor and Description |
|---|
CustomAttribute(SerializationClass.Attribute a,
CustomSerializer serializer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CustomSerializer |
getCustomSerializer() |
Object |
getValue(Object instance)
Return the value of this attribute for the given instance.
|
void |
setValue(Object instance,
Object value)
Set the value of this attribute for the given instance.
|
canGet, canSet, getAnnotation, getAnnotations, getDeclaringClass, getField, getGetter, getName, getOriginalName, getOriginalType, getParent, getSetter, getType, hasCustomInstantiation, ignore, ignore, instantiate, renameTo, setTypepublic CustomAttribute(SerializationClass.Attribute a, CustomSerializer serializer)
public CustomSerializer getCustomSerializer()
public Object getValue(Object instance) throws SerializationException
SerializationClass.AttributegetValue in class SerializationClass.AttributeSerializationExceptionpublic void setValue(Object instance, Object value) throws SerializationException
SerializationClass.AttributesetValue in class SerializationClass.AttributeSerializationExceptionCopyright © 2019. All rights reserved.