
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
Exceptionpublic <T> IEncoder<T> newEncoder(String encodingSchema) throws Exception
encodingSchema - ASN.1 encoding specificationExceptionpublic IDecoder newDecoder() throws Exception
Exceptionpublic IDecoder newDecoder(String encodingSchema) throws Exception
encodingSchema - Exceptionpublic IASN1PreparedElementData newPreparedElementData(Class<?> typeInfo)
Copyright © 2018 universAAL Consortium. All rights reserved.