public class CoderFactory extends Object
Constructor and Description |
---|
CoderFactory() |
Modifier and Type | Method and Description |
---|---|
static CoderFactory |
getInstance()
Access to factory (Singleton)
|
IDecoder |
newDecoder()
Create new default decoder (The BER decoding is default)
|
IDecoder |
newDecoder(String encodingSchema)
Create new decoder for specified schema (BER, PER, PER/Aligned,
PER/Unaligned, ...)
|
<T> IEncoder<T> |
newEncoder()
Create new default encoder (The BER encoding is default)
|
<T> IEncoder<T> |
newEncoder(String encodingSchema)
Create new encoder for specified schema (BER, PER, PER/Aligned,
PER/Unaligned, ...)
|
IASN1PreparedElementData |
newPreparedElementData(Class<?> typeInfo) |
public static CoderFactory getInstance()
public <T> IEncoder<T> newEncoder() throws Exception
Exception
public <T> IEncoder<T> newEncoder(String encodingSchema) throws Exception
encodingSchema
- ASN.1 encoding specificationException
public IDecoder newDecoder() throws Exception
Exception
public IDecoder newDecoder(String encodingSchema) throws Exception
encodingSchema
- Exception
public IASN1PreparedElementData newPreparedElementData(Class<?> typeInfo)
Copyright © 2018 universAAL Consortium. All rights reserved.