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.EDataTypeGets supported data type.voidserialize(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:IBmAttributeSerializerGets supported data type.- Specified by:
getSupportedDataTypein 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:IBmAttributeSerializerSerializes attribute value.- Specified by:
serializein 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:IBmAttributeSerializerDeserializes attribute value.- Specified by:
deserializein 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.
-