Class AttributeDecoderFactory
java.lang.Object
br.ufsc.labsec.parser.commons.attributes.AttributeAbstractFactory<AttributeDecoder, Decoder>
br.ufsc.labsec.parser.commons.attributes.AttributeDecoderFactory
public final class AttributeDecoderFactory
extends AttributeAbstractFactory<AttributeDecoder, Decoder>
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends SignatureAttribute<?>> attribute(Class<AttributeDecoder> clazz) <Enc, Attr extends SignatureAttribute<Enc>>
Attr<Enc> SignatureAttribute<Enc> static AttributeDecoderFactoryMethods inherited from class AttributeAbstractFactory
annotation, get, isSupported
-
Method Details
-
decode
public <Enc, Attr extends SignatureAttribute<Enc>> Attr decode(Enc enc, Class<Attr> attrClass, int index) throws PbadException - Throws:
PbadException
-
decode
public <Enc> SignatureAttribute<Enc> decode(Enc enc, String identifier, int index) throws PbadException - Throws:
PbadException
-
attribute
- Specified by:
attributein classAttributeAbstractFactory<AttributeDecoder, Decoder>
-
getInstance
-