|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectschemajic.schema.Type
schemajic.schema.BitStringType
public class BitStringType
Schema for ASN.1 BIT STRING type.
Universal class tag assignment is UNIVERSAL 3.
XML ASN.1 type name is BIT_STRING.
For more information on this ASN.1 type see Java class ASN1BitString
| Field Summary |
|---|
| Fields inherited from class schemajic.schema.Type |
|---|
_tags |
| Constructor Summary | |
|---|---|
BitStringType(Module module,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String bits)
Constructor for BitStringType with ASN.1 module, defined type, builtin
or reference type, tags and named bits parameters. |
|
BitStringType(java.lang.String name)
Constructor for BitStringType with
String parameter. |
|
| Method Summary | |
|---|---|
void |
accept(TypeVisitor v)
Calls the visit method of the
TypeVisitor, passing itself as
an argument. |
NamedBit |
getNamedBit(int value)
Gets a named bit defined for a value of ASN.1 type BIT STRING. |
NamedBit |
getNamedBit(java.lang.String name)
Gets a named bit from a list of named bits. |
java.util.Iterator |
getNamedBits()
Iterator for a list of named bits. |
boolean |
hasNamedBit(int value)
Determines whether a value of a defined type specified in terms of ASN.1 type BIT STRING has a given named bit. |
boolean |
hasNamedBits()
Determines whether a value of a defined type specified in terms of ASN.1 type BIT STRING has any named bits. |
java.lang.String |
toString()
Formats a string for an ASN.1 type definition statement. |
| Methods inherited from class schemajic.schema.Type |
|---|
createInstance, getJavaName, getModule, getName, getPackageName, getTags, getType, getTypeName, getXMLName, isChoice, isNull, isOpenType, isRoot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BitStringType(Module module,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String bits)
BitStringType with ASN.1 module, defined type, builtin
or reference type, tags and named bits parameters.
module - the ASN.1 module where a user defined type name is specifiedname - the name of a user defined typetype - a builtin or referenced type defined in the ASN.1 standardstags - the tag class, tag number, and encoding type assigned in the ASN.1 standards to the typebits - user defined named bits (such as "ver(1)")public BitStringType(java.lang.String name)
BitStringType with
String parameter.
name - a string of bits| Method Detail |
|---|
public void accept(TypeVisitor v)
visit method of the
TypeVisitor, passing itself as
an argument.
accept in class Typev - instance of the type visitorpublic java.util.Iterator getNamedBits()
public NamedBit getNamedBit(java.lang.String name)
name - a bit name
null or the named bit.public NamedBit getNamedBit(int value)
BIT STRING.
value - the value of the named bitpublic boolean hasNamedBit(int value)
BIT STRING has a given named bit.
value - an integer series of bits
boolean true or falsepublic boolean hasNamedBits()
BIT STRING has any named bits.
boolean true or falsepublic java.lang.String toString()
Type
toString in class Type
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||