XCMS Toolkit

schemajic.model
Class ASN1TeletexString

java.lang.Object
  extended by schemajic.model.ASN1Value
      extended by schemajic.model.ASN1VisibleString
          extended by schemajic.model.ASN1TeletexString

public class ASN1TeletexString
extends ASN1VisibleString

Models the abstract concept of the value of ASN.1 TeletexString type.

Extends ASN1VisibleString to provide minimal encoding and decoding support for ASN.1 type TeletexString.

Universal class tag assignment is UNIVERSAL 20, the same tag used by ASN.1 type T61String.

XML ASN.1 type name is TeletexString, the same tag used by ASN.1 type T61String.

No permitted alphabet constraints are enforced on values of this type, as these constraints are left to the application. Characters of this ASN.1 type are treated as opaque, having no structure or meaning.

Varying degrees of application support for T61String values seems to be most common in older applications. Correct support is made more difficult, as character values available in ASN.1 type T61String have changed with the addition of new register entries from the 1984 through the 1997 versions of the standards.

This ASN.1 type is considered difficult to use correctly by applications providing national language support. And readers are encouraged to instead to provide national language support using ASN.1 type UTF8String or BMPString.

Version:
1.00 - 2006/02/09
Author:
support@phillipgriffin.com

Constructor Summary
ASN1TeletexString()
          Constructor for ASN1TeletexString.
ASN1TeletexString(java.lang.String s)
          Constructor for ASN1TeletexString with string initialization value parameter.
 
Method Summary
 java.lang.Object accept(ValueVisitor visitor, java.lang.Object object)
          Accepts a visit from the ValueVisitor
 Type getAsn1Type()
          Returns an ASN.1 TeletexString type.
 
Methods inherited from class schemajic.model.ASN1VisibleString
equals, getStringValue, setStringValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1TeletexString

public ASN1TeletexString()
Constructor for ASN1TeletexString.


ASN1TeletexString

public ASN1TeletexString(java.lang.String s)
Constructor for ASN1TeletexString with string initialization value parameter.

Parameters:
s - initialization value
Method Detail

accept

public java.lang.Object accept(ValueVisitor visitor,
                               java.lang.Object object)
                        throws VisitorException
Accepts a visit from the ValueVisitor

Overrides:
accept in class ASN1VisibleString
Parameters:
visitor - the function applicator (mapper), which knows how to process the given object type and apply appropriate operations to the elements of this type of object
object - an object to be visited
Returns:
a visit to the provided object
Throws:
VisitorException

getAsn1Type

public Type getAsn1Type()
Returns an ASN.1 TeletexString type.

Overrides:
getAsn1Type in class ASN1VisibleString

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.