|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.model.ASN1Value
schemajic.model.ASN1VisibleString
schemajic.model.ASN1UTF8String
public class ASN1UTF8String
Models the abstract concept of the value of
ASN.1 UTF8String type.
Extends ASN1VisibleString to provide minimal encoding and decoding
support for ASN.1 type UTF8String.
Universal class tag assignment is UNIVERSAL 12.
XML ASN.1 type name is UTF8String.
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, though all characters are represented in one to five octets.
The values of type UTF8String represent the same characters
as the first one hundered and twenty-eight values of types BMPString,
IA5String, and UniversalString.
The length of an encoded value of ASN.1 type UniversalString
characters is always four octets. Values of ASN.1 type BMPString
are always encoded in two octets. The widths of UTF8String values
vary, with the so called ASCII characters (the same set of values as those in
ASN.1 type IA5String) encoded in a single octet, and most of the
double-byte BMPString characters encoded in two.
| Constructor Summary | |
|---|---|
ASN1UTF8String()
Constructor for ASN1UTF8String. |
|
ASN1UTF8String(java.lang.String s)
Constructor for ASN1UTF8String with string 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 UTF8String 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 |
|---|
public ASN1UTF8String()
ASN1UTF8String.
public ASN1UTF8String(java.lang.String s)
ASN1UTF8String with string parameter.
s - initialization value| Method Detail |
|---|
public java.lang.Object accept(ValueVisitor visitor,
java.lang.Object object)
throws VisitorException
visit from the ValueVisitor
accept in class ASN1VisibleStringvisitor - the function applicator (mapper), which knows how to
process the given object type and apply appropriate operations to
the elements of this type of objectobject - an object to be visited
VisitorExceptionpublic Type getAsn1Type()
UTF8String type.
getAsn1Type in class ASN1VisibleString
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||