|
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
public class ASN1VisibleString
Models the abstract concept of the value of
ASN.1 VisibleString type.
Universal class tag assignment is UNIVERSAL 26, the
same tag used by ASN.1 type ISO646String.
XML ASN.1 type name is VisibleString.
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 octet.
The values of VisibleString include all of the human-readable
characters in IA5String, but exclude all of the computer control
characters such as 'delete' and 'escape'.
The values of the builtin types NumericString, PrintableString,
and VisibleString are subsets of the values of type IA5String.
In terms of their character values, NumericString is a subset of
PrintableString, which is a subset of VisibleString,
which is a subset of IA5String.
| Constructor Summary | |
|---|---|
ASN1VisibleString()
Constructor for ASN1VisibleString
sets the current value to the empty string. |
|
ASN1VisibleString(java.lang.String s)
Constructor for ASN1VisibleString sets the
current value to the provided string value
. |
|
| Method Summary | |
|---|---|
java.lang.Object |
accept(ValueVisitor visitor,
java.lang.Object object)
Accepts a visit from the ValueVisitor |
boolean |
equals(java.lang.Object o)
Returns boolean true if the value of
the provided object is equal to the current value. |
Type |
getAsn1Type()
Returns an ASN.1 VisibleStringtype |
java.lang.String |
getStringValue()
Gets the current string value. |
void |
setStringValue(java.lang.String s)
Sets the current string value to a provided string value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASN1VisibleString()
ASN1VisibleString
sets the current value to the empty string.
public ASN1VisibleString(java.lang.String s)
ASN1VisibleString sets the
current value to the provided string value
.
s - a string to become the current value| Method Detail |
|---|
public java.lang.String getStringValue()
public void setStringValue(java.lang.String s)
s - a string that becomes the current valuepublic boolean equals(java.lang.Object o)
boolean true if the value of
the provided object is equal to the current value. Otherwise,
returns false.
equals in class java.lang.Object
public java.lang.Object accept(ValueVisitor visitor,
java.lang.Object object)
throws VisitorException
visit from the ValueVisitor
accept in class ASN1Valuevisitor - 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()
VisibleStringtype
getAsn1Type in class ASN1Value
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||