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) DeserializesGeographicalSchemavoidserialize(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 benulliv8Project- 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 benulllos- output stream, cannot benull
-