Modifier and Type | Class and Description |
---|---|
static class |
BodyPartReference.Template
A Template for decoding a BodyPartReference.
|
static class |
BodyPartReference.Type
The type of BodyPartReference.
|
Modifier and Type | Field and Description |
---|---|
static INTEGER |
BODYIDMAX |
static BodyPartReference.Type |
BodyPartID |
static BodyPartReference.Type |
BodyPartPath |
Constructor and Description |
---|
BodyPartReference(BodyPartReference.Type type,
INTEGER bodyPartID,
SEQUENCE bodyPartPath) |
Modifier and Type | Method and Description |
---|---|
void |
addBodyPartId(int id)
Adds a BodyPartID to the bodyPartPath SEQUENCE.
|
void |
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
INTEGER |
getBodyPartID() |
SEQUENCE |
getBodyPartPath() |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static BodyPartReference.Template |
getTemplate() |
BodyPartReference.Type |
getType()
Returns the type of BodyPartReference:
BodyPartID
BodyPartPath
|
public static final INTEGER BODYIDMAX
public static BodyPartReference.Type BodyPartID
public static BodyPartReference.Type BodyPartPath
public BodyPartReference(BodyPartReference.Type type, INTEGER bodyPartID, SEQUENCE bodyPartPath)
type
- The type of the BodyPartReferencebodyPartID
- A BodyPartID.bodyPartPath
- The sequence of bodyPartIDs.public void addBodyPartId(int id)
public BodyPartReference.Type getType()
BodyPartID
BodyPartPath
public INTEGER getBodyPartID()
public SEQUENCE getBodyPartPath()
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static BodyPartReference.Template getTemplate()