Class GeographicalSchemaSerializer
java.lang.Object
com._1c.g5.v8.dt.geographicalschema.files.GeographicalSchemaSerializer
Class for serializing/deserializing
GeographicalSchema
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(IListInStream lis, IV8Project iv8Project) DeserializesGeographicalSchema
void
serialize
(GeographicalSchema schema, IListOutStream los) SerializesGeographicalSchema
-
Constructor Details
-
GeographicalSchemaSerializer
public GeographicalSchemaSerializer()
-
-
Method Details
-
deserialize
public GeographicalSchema deserialize(IListInStream lis, IV8Project iv8Project) throws IllegalArgumentException DeserializesGeographicalSchema
- Parameters:
lis
- input stream, cannot benull
iv8Project
- project to access configuration properties, cannot benull
- Returns:
- deserialized
GeographicalSchema
, nevernull
- Throws:
IllegalArgumentException
- if file has invalid format
-
serialize
SerializesGeographicalSchema
- Parameters:
serializedSchema
- schema to serialize, cannot benull
los
- output stream, cannot benull
-