org.mozilla.jss.asn1

Class TeletexString.Template

Enclosing Class:
TeletexString
Implemented Interfaces:
ASN1Template

public static class TeletexString.Template
extends CharacterString.Template
implements ASN1Template

Method Summary

protected CharacterString
generateInstance(char[] bytes)
Must be overridden to create an instance of the subclass given a char array.
protected CharConverter
getCharConverter()
Must be overridden to return the correct character converter for the subclass.
protected Tag
getTag()
Must be overridden to return the tag for the subclass.
boolean
tagMatch(Tag tag)
protected String
typeName()
Must be overridden to provide the name of the subclass, for including into error messages.

Methods inherited from class org.mozilla.jss.asn1.CharacterString.Template

decode, decode, generateInstance, getCharConverter, getTag, tagMatch, typeName

Method Details

generateInstance

protected CharacterString generateInstance(char[] bytes)
            throws CharConversionException
Must be overridden to create an instance of the subclass given a char array.
Overrides:
generateInstance in interface CharacterString.Template


getCharConverter

protected CharConverter getCharConverter()
Must be overridden to return the correct character converter for the subclass.
Overrides:
getCharConverter in interface CharacterString.Template


getTag

protected Tag getTag()
Must be overridden to return the tag for the subclass.
Overrides:
getTag in interface CharacterString.Template


tagMatch

public boolean tagMatch(Tag tag)
Specified by:
tagMatch in interface ASN1Template
Overrides:
tagMatch in interface CharacterString.Template


typeName

protected String typeName()
Must be overridden to provide the name of the subclass, for including into error messages.
Overrides:
typeName in interface CharacterString.Template