Method | Description | |
---|---|---|
GetClassName ( Class type ) : String |
This returns the name of the class specified. If there is a root annotation on the type, then this is ignored in favor of the actual class name. This is typically used when the type is a primitive or if there is no
|
|
GetInstance ( Class type ) : Instance |
This will create an
|
|
GetInstance ( Value value ) : Instance |
This will create an
|
|
GetName ( Class type ) : String |
This is used to acquire the name of the specified type using the
|
|
GetScanner ( Class type ) : |
This creates a
|
|
GetTransform ( Class type ) : Transform |
This is used to match a
|
|
IsFloat ( Class type ) : bool |
This is used to determine if the type specified is a floating point type. Types that are floating point are the double and float primitives as well as the java types for this primitives.
|
|
IsPrimitive ( Class type ) : bool |
This is used to determine whether the scanned class represents a primitive type. A primitive type is a type that contains no XML annotations and so cannot be serialized with an XML form. Instead primitives a serialized using transformations.
|
|
Read ( String value, Class type ) : Object |
This method is used to convert the string value given to an appropriate representation. This is used when an object is being deserialized from the XML document and the value for the string representation is required.
|
|
Replace ( String text ) : String |
Replaces the text provided with some property. This method acts much like a the get method of the
|
|
Support ( ) : SimpleFramework.Xml.Filter |
Constructor for the
|
|
Support ( Filter filter ) : SimpleFramework.Xml.Filter |
Constructor for the
|
|
Support ( Filter filter, Matcher matcher ) : SimpleFramework.Xml.Filter |
Constructor for the
|
|
Valid ( Class type ) : bool |
This method is used to determine if the type specified can be transformed. This will use the
|
|
Write ( Object value, Class type ) : String |
This method is used to convert the provided value into an XML usable format. This is used in the serialization process when there is a need to convert a field value in to a string so that that value can be written as a valid XML entity.
|
public GetClassName ( Class type ) : String | ||
type | Class | /// this is the type to acquire the root name for /// |
return | String |
public GetInstance ( Class type ) : Instance | ||
type | Class | /// this is the type that is to be instantiated /// |
return | Instance |
public GetInstance ( Value value ) : Instance | ||
value | Value | /// this contains information on the object instance /// |
return | Instance |
public GetName ( Class type ) : String | ||
type | Class | /// this is the type to acquire the root name for /// |
return | String |
public GetScanner ( Class type ) : |
||
type | Class | /// the schema class the scanner is created for /// |
return |
public GetTransform ( Class type ) : Transform | ||
type | Class | /// this is the type to acquire the transform for /// |
return | Transform |
public IsFloat ( Class type ) : bool | ||
type | Class | /// this is the type to determine if it is a float /// |
return | bool |
public IsPrimitive ( Class type ) : bool | ||
type | Class | /// this is the type to determine if it is primitive /// |
return | bool |
public Read ( String value, Class type ) : Object | ||
value | String | /// this is the string representation of the value /// |
type | Class | /// this is the type to convert the string value to /// |
return | Object |
public Replace ( String text ) : String | ||
text | String | /// this is the text value that is to be replaced /// |
return | String |
public Support ( ) : SimpleFramework.Xml.Filter | ||
return | SimpleFramework.Xml.Filter |
public Support ( Filter filter ) : SimpleFramework.Xml.Filter | ||
filter | Filter | /// this is the filter to use with this support /// |
return | SimpleFramework.Xml.Filter |
public Support ( Filter filter, Matcher matcher ) : SimpleFramework.Xml.Filter | ||
filter | Filter | /// this is the filter to use with this support /// |
matcher | Matcher | /// this is the matcher used for transformations /// |
return | SimpleFramework.Xml.Filter |
public Valid ( Class type ) : bool | ||
type | Class | /// the type to determine whether its transformable /// |
return | bool |
public Write ( Object value, Class type ) : String | ||
value | Object | /// this is the value to be converted to a string /// |
type | Class | /// this is the type to convert to a string value /// |
return | String |