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
ファイルを表示 Open project: restlet/simplexml

Public Methods

Method 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

Method Description
Manipulator ( String label, String replace ) : SimpleFramework.Xml.Strategy

Method Details

Read() public method

public Read ( Class field, NodeMap node ) : void
field Class
node NodeMap
return void

Resolve() public method

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
return void

Write() public method

public Write ( Class field, NodeMap node ) : void
field Class
node NodeMap
return void