Метод | Описание | |
---|---|---|
CompositeKey ( Context context, |
Constructor for the
|
|
Read ( InputNode node ) : Object |
This method is used to read the key value from the node. The value read from the node is resolved using the template filter. If the key value can not be found according to the annotation attributes then null is assumed and returned.
|
|
Read ( InputNode node, Object value ) : Object |
This method is used to read the key value from the node. The value read from the node is resolved using the template filter. If the key value can not be found according to the annotation attributes then null is assumed and returned.
|
|
Read ( InputNode node, String key ) : Object |
This method is used to read the key value from the node. The value read from the node is resolved using the template filter. If the key value can not be found according to the annotation attributes then null is assumed and returned.
|
|
Validate ( InputNode node ) : bool |
This method is used to read the key value from the node. The value read from the node is resolved using the template filter. If the key value can not be found according to the annotation attributes then null is assumed and the node is valid.
|
|
Validate ( InputNode node, String key ) : bool |
This method is used to read the key value from the node. The value read from the node is resolved using the template filter. If the key value can not be found according to the annotation attributes then null is assumed and the node is valid.
|
|
Write ( OutputNode node, Object item ) : void |
This method is used to write the value to the specified node. The value written to the node must be a composite object and if the element map annotation is configured to have a key attribute then this method will throw an exception.
|
public CompositeKey ( Context context, |
||
context | Context | /// this is the root context for the serialization /// |
entry | /// this is the entry object used for configuration /// | |
type | /// this is the type of object the key represents /// | |
Результат | SimpleFramework.Xml.Strategy |
public Read ( InputNode node ) : Object | ||
node | InputNode | /// this is the node to read the key value from /// |
Результат | Object |
public Read ( InputNode node, Object value ) : Object | ||
node | InputNode | /// this is the node to read the key value from /// |
value | Object | /// this is the value to deserialize in to /// |
Результат | Object |
public Read ( InputNode node, String key ) : Object | ||
node | InputNode | /// this is the node to read the key value from /// |
key | String | /// this is the name of the key wrapper XML element /// |
Результат | Object |
public Validate ( InputNode node ) : bool | ||
node | InputNode | /// this is the node to read the key value from /// |
Результат | bool |
public Validate ( InputNode node, String key ) : bool | ||
node | InputNode | /// this is the node to read the key value from /// |
key | String | /// this is the name of the key wrapper XML element /// |
Результат | bool |
public Write ( OutputNode node, Object item ) : void | ||
node | OutputNode | /// this is the node that the value is written to /// |
item | Object | /// this is the item that is to be written /// |
Результат | void |