Package com._1c.g5.v8.dt.internal.md.bm
Class EnvironmentsAttributeSerializer
java.lang.Object
com._1c.g5.v8.dt.internal.md.bm.EnvironmentsAttributeSerializer
- All Implemented Interfaces:
IBmAttributeSerializer
Attribute serializer for Environments (see Mcore.xcore).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(org.eclipse.emf.ecore.EAttribute attribute, DataInput in) Deserializes attribute value.org.eclipse.emf.ecore.EDataType
Gets supported data type.void
serialize
(Object value, org.eclipse.emf.ecore.EAttribute attribute, DataOutput out) Serializes attribute value.
-
Constructor Details
-
EnvironmentsAttributeSerializer
public EnvironmentsAttributeSerializer()
-
-
Method Details
-
getSupportedDataType
public org.eclipse.emf.ecore.EDataType getSupportedDataType()Description copied from interface:IBmAttributeSerializer
Gets supported data type.- Specified by:
getSupportedDataType
in interfaceIBmAttributeSerializer
- Returns:
- the supported data type, never
null
.
-
serialize
public void serialize(Object value, org.eclipse.emf.ecore.EAttribute attribute, DataOutput out) throws IOException Description copied from interface:IBmAttributeSerializer
Serializes attribute value.- Specified by:
serialize
in interfaceIBmAttributeSerializer
- Parameters:
value
- The value to serialize. May not benull
.attribute
- The attribute. May not benull
.out
- The data output to write the serialized value to. May not benull
.- Throws:
IOException
- if any I/O error occurs.
-
deserialize
public Object deserialize(org.eclipse.emf.ecore.EAttribute attribute, DataInput in) throws IOException Description copied from interface:IBmAttributeSerializer
Deserializes attribute value.- Specified by:
deserialize
in interfaceIBmAttributeSerializer
- Parameters:
attribute
- The attribute. May not benull
.in
- The data input to read the serialized value from. May not benull
.- Returns:
- the deserialized value, never
null
. - Throws:
IOException
- if any I/O error occurs.
-