Chapter 4. Generated Java Source Code Overview

Table of Contents

General Form of a Generated Java Source File
Package Specification
Class Declaration
Tag Constant
Public Member Variables
Constructors
Decode Method
Encode Method
Other Methods
Inner Classes
Error Handling

A separate Java source file with extension '.java' is generated for each production encountered within an ASN.1 source file. Every ASN.1 type is mapped to a Java class. This is true even at the lowest levels – types such as BOOLEAN, INTEGER, and NULL all have wrapper classes.