Class Ddi33Serializer
Provides methods to serialize a DDI objects to valid DDI 3.3 XML.
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi.Serialization
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Ddi33Serializer : Ddi32Serializer
  Constructors
Ddi33Serializer()
Initializes a new instance of the Ddi33Serializer class.
Declaration
public Ddi33Serializer()
  Methods
GetDynamicText(XName, MultilingualString)
Get a 3.3 dynamic text
Declaration
public override IEnumerable<XElement> GetDynamicText(XName elementName, MultilingualString multilingualString)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XName | elementName | |
| MultilingualString | multilingualString | 
Returns
| Type | Description | 
|---|---|
| IEnumerable<XElement> | 
Overrides
GetReferenceType(XName, IVersionable)
Declaration
public override XElement GetReferenceType(XName elementName, IVersionable item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XName | elementName | |
| IVersionable | item | 
Returns
| Type | Description | 
|---|---|
| XElement | 
Overrides
GetStructuredString(XName, MultilingualString)
Get a 3.2 structured string with div based audiences
Declaration
public override XElement GetStructuredString(XName elementName, MultilingualString multilingualString)
  Parameters
| Type | Name | Description | 
|---|---|---|
| XName | elementName | |
| MultilingualString | multilingualString | 
Returns
| Type | Description | 
|---|---|
| XElement | 
Overrides
Serialize(ClassificationCorrespondenceTable)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(ClassificationCorrespondenceTable item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClassificationCorrespondenceTable | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(ClassificationFamily)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(ClassificationFamily item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClassificationFamily | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(ClassificationIndex)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(ClassificationIndex item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClassificationIndex | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(ClassificationItem)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(ClassificationItem item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClassificationItem | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(ClassificationLevel)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(ClassificationLevel item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClassificationLevel | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(ClassificationSeries)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(ClassificationSeries item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ClassificationSeries | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(ControlConstructScheme)
Serializes the item as a DDI 3.3 XML element.
Declaration
public override XElement Serialize(ControlConstructScheme item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ControlConstructScheme | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.2 XML element representing the item.  | 
      
Overrides
Serialize(Measurement)
Serializes the item as a DDI 3.2 XML element.
Declaration
public XElement Serialize(Measurement item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Measurement | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.2 XML element representing the item.  | 
      
Serialize(MeasurementActivity)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(MeasurementActivity item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MeasurementActivity | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(OtherMaterialGroup)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(OtherMaterialGroup item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| OtherMaterialGroup | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(OtherMaterialScheme)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(OtherMaterialScheme item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| OtherMaterialScheme | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(QualityStandard)
Serializes the item as a DDI 3.3 XML element.
Declaration
public override XElement Serialize(QualityStandard item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| QualityStandard | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Overrides
Serialize(ResourcePackage)
Serializes the item as a DDI 3.3 XML element.
Declaration
public override XElement Serialize(ResourcePackage item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ResourcePackage | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Overrides
Serialize(StatisticalClassification)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(StatisticalClassification item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| StatisticalClassification | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(UnitType)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(UnitType item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UnitType | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(UnitTypeGroup)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(UnitTypeGroup item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UnitTypeGroup | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  | 
      
Serialize(UnitTypeScheme)
Serializes the item as a DDI 3.3 XML element.
Declaration
public XElement Serialize(UnitTypeScheme item)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UnitTypeScheme | item | The item to serialize.  | 
      
Returns
| Type | Description | 
|---|---|
| XElement | The DDI 3.3 XML element representing the item.  |