Method | Description | |
---|---|---|
Primitive ( Context context, |
Constructor for the
|
|
Primitive ( Context context, |
Constructor for the
|
|
Read ( InputNode node ) : Object |
This
|
|
Read ( InputNode node, Class type ) : Object |
This
|
|
Read ( InputNode node, Object value ) : Object |
This
|
|
ReadElement ( InputNode node ) : Object |
This
|
|
ReadElement ( InputNode node, Instance value ) : Object |
This
|
|
ReadTemplate ( String value, Class type ) : Object |
This
|
|
Validate ( InputNode node ) : bool |
This
|
|
ValidateElement ( InputNode node ) : bool |
This
|
|
Write ( OutputNode node, Object source ) : void |
This
|
public Primitive ( Context context, |
||
context | Context | /// the context object used for the serialization /// |
type | /// this is the type of primitive this represents /// | |
return | SimpleFramework.Xml.Strategy |
public Primitive ( Context context, |
||
context | Context | /// the context object used for the serialization /// |
type | /// this is the type of primitive this represents /// | |
empty | String | /// this is the value used to represent a null value /// |
return | SimpleFramework.Xml.Strategy |
public Read ( InputNode node ) : Object | ||
node | InputNode | /// this is the node to be converted to a primitive /// |
return | Object |
public Read ( InputNode node, Class type ) : Object | ||
node | InputNode | /// this is the node to be converted to a primitive /// |
type | Class | /// this is the type to read the primitive with /// |
return | Object |
public Read ( InputNode node, Object value ) : Object | ||
node | InputNode | /// this is the node to be converted to a primitive /// |
value | Object | /// this is the original primitive value used /// |
return | Object |
public ReadElement ( InputNode node ) : Object | ||
node | InputNode | /// this is the node to be converted to a primitive /// |
return | Object |
public ReadElement ( InputNode node, Instance value ) : Object | ||
node | InputNode | /// this is the node to be converted to a primitive /// |
value | Instance | /// this is the instance to set the result to /// |
return | Object |
public ReadTemplate ( String value, Class type ) : Object | ||
value | String | /// this is the value to be processed as a template /// |
type | Class | /// this is the type that that the primitive is /// |
return | Object |
public Validate ( InputNode node ) : bool | ||
node | InputNode | /// this is the node to be validated as a primitive /// |
return | bool |
public ValidateElement ( InputNode node ) : bool | ||
node | InputNode | /// this is the node to be validated as a primitive /// |
return | bool |
public Write ( OutputNode node, Object source ) : void | ||
node | OutputNode | /// this is the XML element to have its text set /// |
source | Object | /// this is the object to be serialized /// |
return | void |