Commit Graph
6 Commits
Author SHA1 Message Date
Lluis Sanchez 95d2d48bb3 * SerializationCodeGenerator.cs: Added support for generation of readers
and writers for several maps in a single class. Added support for
	  XmlMemberMapping. Fixed generation of serializers that use encoded format.
	* SoapAttributeAttribute.cs, SoapAttributeOverrides.cs, SoapAttributes.cs,
	  SoapElementAttribute.cs, SoapEnumAttribute.cs, SoapTypeAttribute.cs,
	  XmlAnyElementAttribute.cs, XmlAnyElementAttributes.cs, XmlArrayAttribute.cs,
	  XmlArrayItemAttribute.cs, XmlArrayItemAttributes.cs, XmlAttributeAttribute.cs,
	  XmlAttributeOverrides.cs, XmlChoiceIdentifierAttribute.cs, XmlRootAttribute.cs,
	  XmlElementAttribute.cs, XmlElementAttributes.cs, XmlEnumAttribute.cs,
	  XmlReflectionMember.cs, XmlTextAttribute.cs, XmlTypeAttribute.cs:
	  Added InternalEquals method.
	* XmlAttributes.cs: Removed a lot of unused code. Added InternalEquals method.
	* SoapReflectionImporter.cs: Set SerializationSource to generated maps.
	* XmlCustomFormatter.cs: Fixed little bug.
	* XmlMapping.cs: Added Source property. This a global identifier of the map.
	* XmlReflectionImporter.cs: Set SerializationSource to generated maps.
	* XmlSchemaImporter.cs: Set the correct value for IsNillable when importing
	  mapping members.
	* XmlSerializationReaderInterpreter.cs, XmlSerializationWriter.cs: Minor fixes.
	* XmlSerializationWriterInterpreter.cs: WriteObject and WriteEnum were not
	  correctly used.
	* XmlSerializer.cs: Added support for generation of serializers.

svn path=/trunk/mcs/; revision=23392
2004-02-24 12:03:28 +00:00
Atsushi Eno 20072d0f17 2004-02-18 Atsushi Enomoto <[email protected]>
* SerializationCodeGenerator.cs,
	  SerializationCodeGeneratorConfiguration.cs:
	  Added <namespaceImports> feature ("using XXX;" generation) support.

svn path=/trunk/mcs/; revision=23212
2004-02-18 14:50:48 +00:00
Lluis Sanchez 08bd331cba * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
option that allow serialization of private types.

svn path=/trunk/mcs/; revision=21356
2003-12-19 17:54:24 +00:00
Lluis Sanchez 0069f9df0d * SerializationCodeGenerator.cs, XmlSerializationReaderInterpreter.cs:
Fixed handling of members with XmlTextAttribute that are arrays.
	* TypeData.cs: IsComplexType now returns true for XmlNode.
	* XmlSerializer.cs: Added check for null mapping in FromMappings.
	* XmlTypeMapping.cs: Added helper method FindTextElement.

svn path=/trunk/mcs/; revision=18471
2003-10-01 15:11:03 +00:00
Lluis Sanchez 61080dc4f9 * SerializationCodeGenerator.cs: Minor fixes.
* SoapReflectionImporter.cs: More fixes.
	* SoapSchemaExporter.cs: implemented.
	* SoapSchemaImporter.cs: Initial implementation.
	* TypeTranslator.cs: new methods for dealing with encoded arrays: GetArrayName
	  and ParseArrayType
	* XmlCodeExporter.cs: Fix. When exporting a map, export all derived maps.
	* XmlMemberMapping.cs: Minor fixes.
	* XmlMembersMapping.cs: added some convenient constructors.
	* XmlSchemaExporter.cs: Added support for encoded format.
	* XmlSchemaImporter.cs: Added support for encoded format.
	* XmlSerializationReader.cs: changed some string literals by constants.
	  Implemented ParseWsdlArrayType.
	* XmlSerializationReaderInterpreter.cs: Read typeArray attribute when serializing
	  custom attributes.
	* XmlSerializationWriter.cs: Implemented WriteXmlAttribute.
	* XmlSerializationWriterInterpreter.cs: Use WriteXmlAttribute instead of
	  WriteAttribute to write custom attributes.
	* XmlSerializer.cs: added some namespace constants.
	* XmlTypeMapping.cs: added GetSchemaArrayName method.

svn path=/trunk/mcs/; revision=17856
2003-09-04 02:39:08 +00:00
Lluis Sanchez 1f9698d02a * XmlSchemaImporter.cs: Implemented ImportMembersMapping.
* XmlTypeMapMemberElement.cs: Little fix.
	* XmlTypeMapping.cs: Added AllElementInfos property in ClassMap.
	* XmlCustomFormatter.cs: Added GenerateToXmlString and GenerateFromXmlString
	  methods.
	* SerializationCodeGenerator.cs, SerializationCodeGeneratorConfiguration.cs:
	  Added.

svn path=/trunk/mcs/; revision=17792
2003-09-01 14:13:23 +00:00