Method | Description | |
---|---|---|
ElementMapLabel ( Contact contact, |
Constructor for the
|
|
GetConverter ( Context context ) : Converter | ||
GetEmpty ( Context context ) : Object |
This is used to provide a configured empty value used when the annotated value is null. This ensures that XML can be created with required details regardless of whether values are null or not. It also provides a means for sensible default values.
|
|
GetName ( Context context ) : String |
This is used to acquire the name of the element or attribute that is used by the class schema. The name is determined by checking for an override within the annotation. If it contains a name then that is used, if however the annotation does not specify a name the the field or method name is used instead.
|
public ElementMapLabel ( Contact contact, |
||
contact | Contact | /// this is the contact that this label represents /// |
label | /// the annotation that contains the schema details /// | |
return | SimpleFramework.Xml.Strategy |
public GetConverter ( Context context ) : Converter | ||
context | Context | /// this is the context object for the serialization /// |
return | Converter |
public GetEmpty ( Context context ) : Object | ||
context | Context | /// this is the context object for the serialization /// |
return | Object |
public GetName ( Context context ) : String | ||
context | Context | /// this is the context used to style the name /// |
return | String |