Method | Description | |
---|---|---|
GetInstance ( InputNode node ) : Instance |
This method will instantiate an object of the field type, or if the
|
|
GetInstance ( String text ) : Object |
This will instantiate an object of the field type using the provided string. Typically this string is transformed in to the type using a
|
|
GetInstance ( String text, Class type ) : Object |
This will instantiate an object of the field type using the provided string. Typically this string is transformed in to the type using a
|
|
GetText ( Object source ) : String |
This is used to acquire a text value for the specified object. This will convert the object to a string using the transformer so that it can be deserialized from the generate XML document. However if the type is an
|
|
PrimitiveFactory ( Context context, |
Constructor for the
|
public GetInstance ( InputNode node ) : Instance | ||
node | InputNode | /// this is the node to check for the override /// |
return | Instance |
public GetInstance ( String text ) : Object | ||
text | String | /// this is the value to be transformed to an object /// |
return | Object |
public GetInstance ( String text, Class type ) : Object | ||
text | String | /// this is the value to be transformed to an object /// |
type | Class | /// this is the type of the primitive to instantiate /// |
return | Object |
public GetText ( Object source ) : String | ||
source | Object | /// this is the object instance to get the value of /// |
return | String |
public PrimitiveFactory ( Context context, |
||
context | Context | /// this is the context used by this factory /// |
type | /// this is the field type to be instantiated /// | |
return | SimpleFramework.Xml.Strategy |