|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.bitmeister.asn1.type.ASN1Type
jp.bitmeister.asn1.type.StructuredType
public abstract class StructuredType
The base type for structured types.
This class provides generic interfaces for classes that represents structured
types. This class is the parent class of ConstructiveType
and
SelectiveType
.
ConstructiveType
,
SelectiveType
Field Summary |
---|
Fields inherited from class jp.bitmeister.asn1.type.ASN1Type |
---|
stringBuilder |
Constructor Summary | |
---|---|
StructuredType()
|
Method Summary | |
---|---|
abstract ASN1Type |
get(java.lang.String elementName)
Gets the ASN.1 data from the element specified by the identifier of this instance. |
abstract NamedTypeSpecification |
getElement(java.lang.String elementName)
Returns an element specification specified by the element name. |
abstract void |
set(NamedTypeSpecification namedType,
ASN1Type component)
Sets the ASN.1 data to the element specified by the NamedTypeSpecification of this instance. |
abstract void |
set(java.lang.String elementName,
ASN1Type component)
Sets the ASN.1 data to the element specified by the identifier of this instance. |
Methods inherited from class jp.bitmeister.asn1.type.ASN1Type |
---|
accept, clear, clone, equals, hashCode, hasValue, instantiate, matches, specification, toString, validate, valueEquals |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StructuredType()
Method Detail |
---|
public abstract void set(NamedTypeSpecification namedType, ASN1Type component)
NamedTypeSpecification
of this instance.
namedType
- Indicates the element that the data to be assigned.component
- The data to be assigned.public abstract void set(java.lang.String elementName, ASN1Type component)
elementName
- The identifier of element.component
- The ASN.1 data to be assignedpublic abstract ASN1Type get(java.lang.String elementName)
elementName
- The identifier of element.
public abstract NamedTypeSpecification getElement(java.lang.String elementName)
elementName
- The element name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |