com.thoughtworks.xstream.mapper.Mapper |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Mapper.ImplicitCollectionMapping | |||||||||||
Mapper.Null | Place holder type used for null values. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the alias for an attribute's name.
| |||||||||||
This method is deprecated.
since 1.3, use combination of
serializedMember(Class, String) and getConverterFromItemType(String, Class, Class)
| |||||||||||
Get the alias for a system attribute's name.
| |||||||||||
This method is deprecated.
since 1.3, use combination of
realMember(Class, String) and getConverterFromItemType(String, Class, Class)
| |||||||||||
Get the attribute's name for an alias.
| |||||||||||
This method is deprecated.
since 1.2, use aliasForAttribute instead.
| |||||||||||
This method is deprecated.
since 1.2, use aliasForAttribute instead.
| |||||||||||
This method is deprecated.
since 1.2, use aliasForAttribute instead.
| |||||||||||
This method is deprecated.
since 1.2, use aliasForAttribute instead.
| |||||||||||
This method is deprecated.
since 1.3, use
getConverterFromAttribute(Class, String, Class)
| |||||||||||
Returns which converter to use for an specific attribute in a type.
| |||||||||||
This method is deprecated.
since 1.3.1, use
getConverterFromAttribute(Class, String, Class)
| |||||||||||
This method is deprecated.
since 1.3, use
getConverterFromItemType(String, Class, Class)
| |||||||||||
This method is deprecated.
since 1.3, use
getConverterFromItemType(String, Class, Class)
| |||||||||||
Returns a single value converter to be used in a specific field.
| |||||||||||
Get the name of the field that acts as the default collection for an object, or return null if there is none.
| |||||||||||
Whether this type is a simple immutable value (int, boolean, String, URL, etc.
| |||||||||||
How a serialized class representation should be mapped back to a real class.
| |||||||||||
How a serialized member representation should be mapped back to a real member.
| |||||||||||
How a class name should be represented in its serialized form.
| |||||||||||
How a class member should be represented in its serialized form.
| |||||||||||
Determine whether a specific member should be serialized.
|
Get the alias for an attribute's name.
attribute | the attribute |
---|
This method is deprecated.
since 1.3, use combination of serializedMember(Class, String)
and getConverterFromItemType(String, Class, Class)
Returns an alias for a single field defined in an specific type.
definedIn | the type where the field was defined |
---|---|
fieldName | the field name |
Get the alias for a system attribute's name.
attribute | the system attribute |
---|
This method is deprecated.
since 1.3, use combination of realMember(Class, String)
and getConverterFromItemType(String, Class, Class)
Returns the field name for an aliased attribute.
definedIn | the type where the field was defined |
---|---|
alias | the alias |
Get the attribute's name for an alias.
alias | the alias |
---|
This method is deprecated.
since 1.2, use aliasForAttribute instead.
This method is deprecated.
since 1.2, use aliasForAttribute instead.
This method is deprecated.
since 1.2, use aliasForAttribute instead.
This method is deprecated.
since 1.2, use aliasForAttribute instead.
Returns which converter to use for an specific attribute in a type.
definedIn | the field's parent |
---|---|
attribute | the attribute name |
type | the type the converter should create |
This method is deprecated.
since 1.3.1, use getConverterFromAttribute(Class, String, Class)
Returns which converter to use for an specific attribute in a type.
definedIn | the field's parent |
---|---|
attribute | the attribute name |
Returns a single value converter to be used in a specific field.
fieldName | the field name |
---|---|
type | the field type |
definedIn | the type which defines this field |
Get the name of the field that acts as the default collection for an object, or return null if there is none.
definedIn | owning type |
---|---|
itemType | item type |
itemFieldName | optional item element name |
Whether this type is a simple immutable value (int, boolean, String, URL, etc. Immutable types will be repeatedly written in the serialized stream, instead of using object references.
How a serialized class representation should be mapped back to a real class.
How a serialized member representation should be mapped back to a real member.
How a class name should be represented in its serialized form.
How a class member should be represented in its serialized form.
Determine whether a specific member should be serialized.