Class TLcdNVG20ModelEncoder

java.lang.Object
com.luciad.format.xml.bind.schema.ALcdXMLModelEncoder
com.luciad.format.nvg.nvg20.xml.TLcdNVG20ModelEncoder
All Implemented Interfaces:
ILcdOutputStreamFactoryCapable, ILcdModelEncoder, Serializable

@LcdService(service=ILcdModelEncoder.class, priority=20000) public class TLcdNVG20ModelEncoder extends ALcdXMLModelEncoder
Model encoder for creating an NVG 2.0 document from a given TLcdNVG20Model or TLcdNVG20FilteredModel. This encoder only supports NVG 2.0 models.

Output files

File Description
*.xml, *.nvg NVG XML file

Supported file transfer protocols

  • This model encoder supports all transfer protocols that are supported by the outputStreamFactory of this encoder.

Supported models

  • This model encoder can save and export NVG 2.0 models as described by the TLcdNVGModelDecoder. These models are instances of TLcdNVG20Model or TLcdNVG20FilteredModel.

Sample code


 ILcdModelEncoder encoder = new TLcdNVG20ModelEncoder();
 encoder.export(nvgModel, "file.nvg");
 

Thread safety

  • The encoding of models is thread-safe, as long as no properties are changed during the encoding.

Supported versions and specifications

  • NATO Vector Graphics Data Format 2.0
Since:
2015.0
See Also:
  • Constructor Details

    • TLcdNVG20ModelEncoder

      public TLcdNVG20ModelEncoder()
      Creates a new TLcdNVG20ModelEncoder, ready to use.
  • Method Details