Свойство | Type | Description | |
---|---|---|---|
context | Context | ||
support | |||
type |
Méthode | Description | |
---|---|---|
GetConversion ( InputNode node ) : Value |
This performs the conversion from the element node to a type. This is where the
|
|
GetOverride ( InputNode node ) : Value | ||
IsCompatible ( Class expect, Class type ) : bool |
This is used to determine whether the provided base class can be assigned from the issued type. For an override to be compatible with the field type an instance of the override type must be assignable to the field value.
|
|
IsInstantiable ( Class type ) : bool |
This is used to determine whether the type given is instantiable, that is, this determines if an instance of that type can be created. If the type is an interface or an abstract class then this will return false.
|
|
SetOverride ( |
This method is used to set the override class within an element. This delegates to the
|
Méthode | Description | |
---|---|---|
Factory ( Context context, |
Constructor for the
|
protected Factory ( Context context, |
||
context | Context | /// the contextual object used by the persister /// |
type | /// this is the property representing the field /// | |
Résultat | SimpleFramework.Xml.Strategy |
public GetConversion ( InputNode node ) : Value | ||
node | InputNode | /// this is the element used to extract the override /// |
Résultat | Value |
public GetOverride ( InputNode node ) : Value | ||
node | InputNode | /// this is the node used to search for the override /// |
Résultat | Value |
public IsCompatible ( Class expect, Class type ) : bool | ||
expect | Class | /// this is the field value present the the object /// |
type | Class | /// this is the specialized type that will be assigned /// |
Résultat | bool |
public IsInstantiable ( Class type ) : bool | ||
type | Class | /// this is the type to check the modifiers of /// |
Résultat | bool |
public SetOverride ( |
||
type | /// this is the class of the field type being serialized /// | |
value | Object | |
node | OutputNode | /// the XML element that is to be given the details /// |
Résultat | bool |