C# Class Simpl.Serialization.Serializers.StringFormats.XmlSerializer

Xml serializer contains xml specific serialization funtionality.
Inheritance: StringSerializer
Show file Open project: ecologylab/simplCSharp

Public Methods

Method Description
Serialize ( object obj, TextWriter textWriter, TranslationContext translationContext ) : void

Private Methods

Method Description
Serialize ( object obj, FieldDescriptor rootObjectFieldDescriptor, TextWriter textWriter, TranslationContext translationContext ) : void

SerializeFields ( object obj, TextWriter textWriter, TranslationContext translationContext, IEnumerable elementFieldDescriptors ) : void

SerializedAttributes ( object obj, TextWriter textWriter, TranslationContext translationContext, ClassDescriptor rootObjectClassDescrpitor ) : void

WriteClose ( TextWriter textWriter ) : void

WriteCompleteClose ( TextWriter textWriter ) : void

WriteObjectClose ( FieldDescriptor fd, TextWriter textWriter ) : void

WriteObjectStart ( FieldDescriptor fd, TextWriter textWriter ) : void

WriteScalarCollectionLeaf ( object obj, FieldDescriptor fd, TextWriter textWriter, TranslationContext translationContext ) : void

WriteSimpRefAttribute ( object obj, TextWriter textWriter, TranslationContext translationContext ) : void

WriteSimplIdAttribute ( object obj, TextWriter textWriter, TranslationContext translationContext ) : void

WriteSimplNameSpace ( TextWriter textWriter ) : void

WriteSimplRef ( object obj, FieldDescriptor fd, TextWriter textWriter, TranslationContext translationContext ) : void

WriteValueAsAtrribute ( object obj, FieldDescriptor fd, TextWriter textWriter, TranslationContext translationContext ) : void

WriteValueAsLeaf ( object obj, FieldDescriptor fd, TextWriter textWriter, TranslationContext translationContext ) : void

WriteValueAsText ( object obj, FieldDescriptor fd, TextWriter textWriter ) : void

WriteWrap ( FieldDescriptor fd, TextWriter textWriter, bool close ) : void

Method Details

Serialize() public method

public Serialize ( object obj, TextWriter textWriter, TranslationContext translationContext ) : void
obj object
textWriter System.IO.TextWriter
translationContext Simpl.Serialization.Context.TranslationContext
return void