Package com.oss.asn1

Class XML2BinaryConvertor


public class XML2BinaryConvertor extends EncodingRuleConvertor
The XML2BinaryConvertor is a EncodingRuleConvertor used to convert XML data encoded with one of the XML Encoding Rules into binary data encoded with one of the Binary Encoding Rules.
Since:
ASN.1/Java 6.2
  • Constructor Details

    • XML2BinaryConvertor

      public XML2BinaryConvertor(XMLCoder decoder, BinaryCoder encoder)
      Construct with two coder objects
      Parameters:
      decoder - input XML decoder
      encoder - output Binary encoder
  • Method Details

    • setDecoder

      public void setDecoder(XMLCoder decoder)
      Set XML decoder
      Parameters:
      decoder - input XML decoder
    • setEncoder

      public void setEncoder(BinaryCoder encoder)
      Set output Binary encoder
      Parameters:
      encoder - output Binary encoder