C# Class SimpleFramework.Xml.Core.Manipulator

The manipulator object is used to manipulate the attributes added to the XML elements by the strategy in such a way that they do not contain Java class names but rather neutral ones.
Inheritance: SimpleFramework.Xml.Core.Interceptor
Afficher le fichier Open project: restlet/simplexml

Méthodes publiques

Méthode Description
Read ( Class field, NodeMap node ) : void
Resolve ( Class type, String value ) : void

Here we are inserting an alias for a type. Each time the specified type is written the provided name is used and each time the name is found on reading it is substituted for the type so that it can be interpreted correctly.

Write ( Class field, NodeMap node ) : void

Private Methods

Méthode Description
Manipulator ( String label, String replace ) : SimpleFramework.Xml.Strategy

Method Details

Read() public méthode

public Read ( Class field, NodeMap node ) : void
field Class
node NodeMap
Résultat void

Resolve() public méthode

Here we are inserting an alias for a type. Each time the specified type is written the provided name is used and each time the name is found on reading it is substituted for the type so that it can be interpreted correctly.
public Resolve ( Class type, String value ) : void
type Class /// this is the class to be given an alias ///
value String
Résultat void

Write() public méthode

public Write ( Class field, NodeMap node ) : void
field Class
node NodeMap
Résultat void