Method | Description | |
---|---|---|
IsOverridden ( OutputNode node, Object value ) : bool |
This is used to determine whether the specified value has been overridden by the strategy. If the item has been overridden then no more serialization is require for that value, this is effectively telling the serialization process to stop writing.
|
|
PrimitiveArray ( Context context, |
Constructor for the
|
|
Read ( InputNode node ) : Object |
This
|
|
Read ( InputNode node, Object list ) : Object |
This
|
|
Validate ( InputNode node ) : bool |
This
|
|
Validate ( InputNode node, Class type ) : bool |
This
|
|
Write ( OutputNode node, Object source ) : void |
This
|
|
Write ( OutputNode node, Object source, int index ) : void |
This
|
public IsOverridden ( OutputNode node, Object value ) : bool | ||
node | OutputNode | /// the node that a potential override is written to /// |
value | Object | /// this is the object instance to be serialized /// |
return | bool |
public PrimitiveArray ( Context context, |
||
context | Context | /// this is the context object used for serialization /// |
type | /// this is the actual field type from the schema /// | |
entry | /// the entry type to be stored within the array /// | |
parent | String | /// this is the name to wrap the array element with /// |
return | SimpleFramework.Xml.Strategy |
public Read ( InputNode node ) : Object | ||
node | InputNode | /// this is the XML element that is to be deserialized /// |
return | Object |
public Read ( InputNode node, Object list ) : Object | ||
node | InputNode | /// this is the XML element that is to be deserialized /// |
list | Object | /// this is the array to read the array values in to /// |
return | Object |
public Validate ( InputNode node ) : bool | ||
node | InputNode | /// this is the XML element that is to be validated /// |
return | bool |
public Validate ( InputNode node, Class type ) : bool | ||
node | InputNode | /// this is the XML element that is to be validated /// |
type | Class | /// this is the array type used to create the array /// |
return | bool |
public Write ( OutputNode node, Object source ) : void | ||
node | OutputNode | /// this is the XML element container to be populated /// |
source | Object | /// this is the source object array to be serialized /// |
return | void |
public Write ( OutputNode node, Object source, int index ) : void | ||
node | OutputNode | /// this is the XML element container to be populated /// |
source | Object | /// this is the source object array to be serialized /// |
index | int | /// this is the position in the array to set the item /// |
return | void |