Package io.kaitai.struct.annotations
Annotation Type SeqItem
-
@Documented @Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface SeqItem
Annotation, that applied to fields, getters or setters that represents an attribute fromseqKSY element.- Since:
- 0.9
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringdocDocumentation string attached to the attribute, specified indocKSY element.StringidOriginal identifier (idkey) fromksyfile.intindexIndex of an attribute in sequence of attributes in the type.
-
-
-
Element Detail
-
id
String id
Original identifier (idkey) fromksyfile.- Returns:
- Identifier, that can differ from field name, if it clash with Java reserved words. Empty string, if attribute was unnamed
-
-
-
doc
String doc
Documentation string attached to the attribute, specified indocKSY element.- Returns:
- Documentation string for and attribute. If documentation is missed, returns empty string
-
-