org.asnlab.asndt.runtime.type
Class AsnModule

java.lang.Object
  extended by org.asnlab.asndt.runtime.type.AsnModule

public class AsnModule
extends java.lang.Object

Instances of the class AsnModule represent the metadata of ASN.1 Module.


Constructor Summary
AsnModule()
           
 
Method Summary
static byte[] encode(java.util.Vector entries)
           
static java.util.Hashtable load(byte[] content)
          Load the metadata
static java.util.Hashtable load(java.lang.Class cls)
          Load the metadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnModule

public AsnModule()
Method Detail

load

public static java.util.Hashtable load(java.lang.Class cls)
Load the metadata

Parameters:
cls - The class that represet the ASN.1 module
Returns:
The metadata types

load

public static java.util.Hashtable load(byte[] content)
Load the metadata

Parameters:
content - The encoding content of the metadata types
Returns:
The metadata types

encode

public static byte[] encode(java.util.Vector entries)


Copyright �2009-2012 ASN Lab