Class Xmlization.Deserialize
Deserialize instances of meta-model classes from XML.
Inheritance
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public static class Deserialize
Examples
Here is an example how to parse an instance of class IHasSemantics:
var reader = new System.Xml.XmlReader(/* some arguments */);
Aas.IHasSemantics anInstance = Deserialize.IHasSemanticsFrom(
reader);
If the elements live in a namespace, you have to supply it. For example:
var reader = new System.Xml.XmlReader(/* some arguments */);
Aas.IHasSemantics anInstance = Deserialize.IHasSemanticsFrom(
reader,
"http://www.example.com/5/12");
Methods
| Improve this Doc View SourceAdministrativeInformationFrom(XmlReader)
Deserialize an instance of AdministrativeInformation from reader
.
Declaration
public static AdministrativeInformation AdministrativeInformationFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
AdministrativeInformation |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of AdministrativeInformation. |
AnnotatedRelationshipElementFrom(XmlReader)
Deserialize an instance of AnnotatedRelationshipElement from reader
.
Declaration
public static AnnotatedRelationshipElement AnnotatedRelationshipElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
AnnotatedRelationshipElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of AnnotatedRelationshipElement. |
AssetAdministrationShellFrom(XmlReader)
Deserialize an instance of AssetAdministrationShell from reader
.
Declaration
public static AssetAdministrationShell AssetAdministrationShellFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
AssetAdministrationShell |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of AssetAdministrationShell. |
AssetInformationFrom(XmlReader)
Deserialize an instance of AssetInformation from reader
.
Declaration
public static AssetInformation AssetInformationFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
AssetInformation |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of AssetInformation. |
BasicEventElementFrom(XmlReader)
Deserialize an instance of BasicEventElement from reader
.
Declaration
public static BasicEventElement BasicEventElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
BasicEventElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of BasicEventElement. |
BlobFrom(XmlReader)
Deserialize an instance of Blob from reader
.
Declaration
public static Blob BlobFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Blob |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Blob. |
CapabilityFrom(XmlReader)
Deserialize an instance of Capability from reader
.
Declaration
public static Capability CapabilityFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Capability |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Capability. |
ConceptDescriptionFrom(XmlReader)
Deserialize an instance of ConceptDescription from reader
.
Declaration
public static ConceptDescription ConceptDescriptionFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
ConceptDescription |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of ConceptDescription. |
DataSpecificationIec61360From(XmlReader)
Deserialize an instance of DataSpecificationIec61360 from reader
.
Declaration
public static DataSpecificationIec61360 DataSpecificationIec61360From(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
DataSpecificationIec61360 |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of DataSpecificationIec61360. |
EmbeddedDataSpecificationFrom(XmlReader)
Deserialize an instance of EmbeddedDataSpecification from reader
.
Declaration
public static EmbeddedDataSpecification EmbeddedDataSpecificationFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
EmbeddedDataSpecification |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of EmbeddedDataSpecification. |
EntityFrom(XmlReader)
Deserialize an instance of Entity from reader
.
Declaration
public static Entity EntityFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Entity |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Entity. |
EnvironmentFrom(XmlReader)
Deserialize an instance of Environment from reader
.
Declaration
public static Environment EnvironmentFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Environment |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Environment. |
EventPayloadFrom(XmlReader)
Deserialize an instance of EventPayload from reader
.
Declaration
public static EventPayload EventPayloadFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
EventPayload |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of EventPayload. |
ExtensionFrom(XmlReader)
Deserialize an instance of Extension from reader
.
Declaration
public static Extension ExtensionFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Extension |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Extension. |
FileFrom(XmlReader)
Deserialize an instance of File from reader
.
Declaration
public static File FileFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
File |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of File. |
IAbstractLangStringFrom(XmlReader)
Deserialize an instance of IAbstractLangString from reader
.
Declaration
public static IAbstractLangString IAbstractLangStringFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IAbstractLangString |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IAbstractLangString. |
IDataElementFrom(XmlReader)
Deserialize an instance of IDataElement from reader
.
Declaration
public static IDataElement IDataElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IDataElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IDataElement. |
IDataSpecificationContentFrom(XmlReader)
Deserialize an instance of IDataSpecificationContent from reader
.
Declaration
public static IDataSpecificationContent IDataSpecificationContentFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IDataSpecificationContent |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IDataSpecificationContent. |
IEventElementFrom(XmlReader)
Deserialize an instance of IEventElement from reader
.
Declaration
public static IEventElement IEventElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IEventElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IEventElement. |
IHasDataSpecificationFrom(XmlReader)
Deserialize an instance of IHasDataSpecification from reader
.
Declaration
public static IHasDataSpecification IHasDataSpecificationFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IHasDataSpecification |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IHasDataSpecification. |
IHasExtensionsFrom(XmlReader)
Deserialize an instance of IHasExtensions from reader
.
Declaration
public static IHasExtensions IHasExtensionsFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IHasExtensions |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IHasExtensions. |
IHasKindFrom(XmlReader)
Deserialize an instance of IHasKind from reader
.
Declaration
public static IHasKind IHasKindFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IHasKind |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IHasKind. |
IHasSemanticsFrom(XmlReader)
Deserialize an instance of IHasSemantics from reader
.
Declaration
public static IHasSemantics IHasSemanticsFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IHasSemantics |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IHasSemantics. |
IIdentifiableFrom(XmlReader)
Deserialize an instance of IIdentifiable from reader
.
Declaration
public static IIdentifiable IIdentifiableFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IIdentifiable |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IIdentifiable. |
IQualifiableFrom(XmlReader)
Deserialize an instance of IQualifiable from reader
.
Declaration
public static IQualifiable IQualifiableFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IQualifiable |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IQualifiable. |
IReferableFrom(XmlReader)
Deserialize an instance of IReferable from reader
.
Declaration
public static IReferable IReferableFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IReferable |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IReferable. |
IRelationshipElementFrom(XmlReader)
Deserialize an instance of IRelationshipElement from reader
.
Declaration
public static IRelationshipElement IRelationshipElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
IRelationshipElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of IRelationshipElement. |
ISubmodelElementFrom(XmlReader)
Deserialize an instance of ISubmodelElement from reader
.
Declaration
public static ISubmodelElement ISubmodelElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
ISubmodelElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of ISubmodelElement. |
KeyFrom(XmlReader)
Deserialize an instance of Key from reader
.
Declaration
public static Key KeyFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Key |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Key. |
LangStringDefinitionTypeIec61360From(XmlReader)
Deserialize an instance of LangStringDefinitionTypeIec61360 from reader
.
Declaration
public static LangStringDefinitionTypeIec61360 LangStringDefinitionTypeIec61360From(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
LangStringDefinitionTypeIec61360 |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of LangStringDefinitionTypeIec61360. |
LangStringNameTypeFrom(XmlReader)
Deserialize an instance of LangStringNameType from reader
.
Declaration
public static LangStringNameType LangStringNameTypeFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
LangStringNameType |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of LangStringNameType. |
LangStringPreferredNameTypeIec61360From(XmlReader)
Deserialize an instance of LangStringPreferredNameTypeIec61360 from reader
.
Declaration
public static LangStringPreferredNameTypeIec61360 LangStringPreferredNameTypeIec61360From(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
LangStringPreferredNameTypeIec61360 |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of LangStringPreferredNameTypeIec61360. |
LangStringShortNameTypeIec61360From(XmlReader)
Deserialize an instance of LangStringShortNameTypeIec61360 from reader
.
Declaration
public static LangStringShortNameTypeIec61360 LangStringShortNameTypeIec61360From(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
LangStringShortNameTypeIec61360 |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of LangStringShortNameTypeIec61360. |
LangStringTextTypeFrom(XmlReader)
Deserialize an instance of LangStringTextType from reader
.
Declaration
public static LangStringTextType LangStringTextTypeFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
LangStringTextType |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of LangStringTextType. |
LevelTypeFrom(XmlReader)
Deserialize an instance of LevelType from reader
.
Declaration
public static LevelType LevelTypeFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
LevelType |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of LevelType. |
MultiLanguagePropertyFrom(XmlReader)
Deserialize an instance of MultiLanguageProperty from reader
.
Declaration
public static MultiLanguageProperty MultiLanguagePropertyFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
MultiLanguageProperty |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of MultiLanguageProperty. |
OperationFrom(XmlReader)
Deserialize an instance of Operation from reader
.
Declaration
public static Operation OperationFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Operation |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Operation. |
OperationVariableFrom(XmlReader)
Deserialize an instance of OperationVariable from reader
.
Declaration
public static OperationVariable OperationVariableFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
OperationVariable |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of OperationVariable. |
PropertyFrom(XmlReader)
Deserialize an instance of Property from reader
.
Declaration
public static Property PropertyFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Property |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Property. |
QualifierFrom(XmlReader)
Deserialize an instance of Qualifier from reader
.
Declaration
public static Qualifier QualifierFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Qualifier |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Qualifier. |
RangeFrom(XmlReader)
Deserialize an instance of Range from reader
.
Declaration
public static Range RangeFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Range |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Range. |
ReferenceElementFrom(XmlReader)
Deserialize an instance of ReferenceElement from reader
.
Declaration
public static ReferenceElement ReferenceElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
ReferenceElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of ReferenceElement. |
ReferenceFrom(XmlReader)
Deserialize an instance of Reference from reader
.
Declaration
public static Reference ReferenceFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Reference |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Reference. |
RelationshipElementFrom(XmlReader)
Deserialize an instance of RelationshipElement from reader
.
Declaration
public static RelationshipElement RelationshipElementFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
RelationshipElement |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of RelationshipElement. |
ResourceFrom(XmlReader)
Deserialize an instance of Resource from reader
.
Declaration
public static Resource ResourceFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Resource |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Resource. |
SpecificAssetIdFrom(XmlReader)
Deserialize an instance of SpecificAssetId from reader
.
Declaration
public static SpecificAssetId SpecificAssetIdFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
SpecificAssetId |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of SpecificAssetId. |
SubmodelElementCollectionFrom(XmlReader)
Deserialize an instance of SubmodelElementCollection from reader
.
Declaration
public static SubmodelElementCollection SubmodelElementCollectionFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
SubmodelElementCollection |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of SubmodelElementCollection. |
SubmodelElementListFrom(XmlReader)
Deserialize an instance of SubmodelElementList from reader
.
Declaration
public static SubmodelElementList SubmodelElementListFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
SubmodelElementList |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of SubmodelElementList. |
SubmodelFrom(XmlReader)
Deserialize an instance of Submodel from reader
.
Declaration
public static Submodel SubmodelFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
Submodel |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of Submodel. |
ValueListFrom(XmlReader)
Deserialize an instance of ValueList from reader
.
Declaration
public static ValueList ValueListFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
ValueList |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of ValueList. |
ValueReferencePairFrom(XmlReader)
Deserialize an instance of ValueReferencePair from reader
.
Declaration
public static ValueReferencePair ValueReferencePairFrom(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | Initialized XML reader with cursor set to the element |
Returns
Type | Description |
---|---|
ValueReferencePair |
Exceptions
Type | Condition |
---|---|
Xmlization.Exception | Thrown when the element is not a valid XML representation of ValueReferencePair. |