C# Class Simpl.Serialization.Context.TranslationContext

Representing the graph context
Inheritance: IScalarUnmarshallingContext
Datei anzeigen Open project: ecologylab/simplCSharp Class Usage Examples

Public Methods

Method Description
AlreadyMarshalled ( Object obj ) : bool

GetFromMap ( string key ) : object
GetSimplId ( Object obj ) : String
HandleSimplIds ( String tag, String value, ElementState elementState ) : bool

Handle simpl Ids associated with the given element state object

InitializeMultiMaps ( ) : void
MapObject ( Object obj ) : void

Adding to the marshalledObjects

MarkAsUnmarshalled ( String value, Object elementState ) : void
NeedsHashCode ( Object obj ) : bool

RefObjectNeedsIdResolve ( Object parentObject, Object whereToSet, String simplId ) : void
ResolveGraph ( object obj ) : void

resolving the graph based on the value of the graph switch

ResolveIdsForRefObjects ( ) : void
TranslationContext ( ) : System
TranslationContext ( ParsedUri baseUri ) : System
TranslationContext ( object fileDirContext ) : System

Private Methods

Method Description
AlreadyVisited ( Object obj ) : bool

Method Details

AlreadyMarshalled() public method

public AlreadyMarshalled ( Object obj ) : bool
obj Object
return bool

GetFromMap() public method

public GetFromMap ( string key ) : object
key string
return object

GetSimplId() public method

public GetSimplId ( Object obj ) : String
obj Object
return String

HandleSimplIds() public method

Handle simpl Ids associated with the given element state object
public HandleSimplIds ( String tag, String value, ElementState elementState ) : bool
tag String
value String
elementState ElementState
return bool

InitializeMultiMaps() public method

public InitializeMultiMaps ( ) : void
return void

MapObject() public method

Adding to the marshalledObjects
public MapObject ( Object obj ) : void
obj Object
return void

MarkAsUnmarshalled() public method

public MarkAsUnmarshalled ( String value, Object elementState ) : void
value String
elementState Object
return void

NeedsHashCode() public method

public NeedsHashCode ( Object obj ) : bool
obj Object
return bool

RefObjectNeedsIdResolve() public method

public RefObjectNeedsIdResolve ( Object parentObject, Object whereToSet, String simplId ) : void
parentObject Object
whereToSet Object
simplId String
return void

ResolveGraph() public method

resolving the graph based on the value of the graph switch
public ResolveGraph ( object obj ) : void
obj object
return void

ResolveIdsForRefObjects() public method

public ResolveIdsForRefObjects ( ) : void
return void

TranslationContext() public method

public TranslationContext ( ) : System
return System

TranslationContext() public method

public TranslationContext ( ParsedUri baseUri ) : System
baseUri Simpl.Fundamental.Net.ParsedUri
return System

TranslationContext() public method

public TranslationContext ( object fileDirContext ) : System
fileDirContext object
return System