public class CharTag
extends java.lang.Object
Processing format:
Modifier and Type | Field and Description |
---|---|
protected int |
lengthSize |
Modifier | Constructor and Description |
---|---|
protected |
CharTag(java.lang.String tagId,
java.lang.String value)
Internal Tag constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTagId()
Gets tag identifier.
|
java.lang.String |
getTLV()
Form TLV for this tag.
|
java.lang.String |
getValue()
Gets tag value.
|
protected void |
setLengthSize(int size)
Sets size of length element.
|
java.lang.String |
toString() |
protected void |
withTagLengthSwap(boolean swap)
Swap tag with length.
|
protected CharTag(java.lang.String tagId, java.lang.String value)
tagId
- tag identifier, not null
value
- tag valueprotected void setLengthSize(int size)
size
- size of length elementprotected void withTagLengthSwap(boolean swap)
swap
- indicates if tag element will be swapped with length elementpublic java.lang.String getTLV()
public java.lang.String getTagId()
public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object