public class ArrayElementAttributeInfo extends Object implements AttributeInfo
| Modifier and Type | Field and Description |
|---|---|
private Attribute |
_attribute |
private AttributeDefinitionInfo |
_definitionInfo |
private int |
_fixedSize |
private boolean |
_sizeFixed |
| Constructor and Description |
|---|
ArrayElementAttributeInfo(Attribute attribute,
AttributeDefinitionInfo definitionInfo) |
| Modifier and Type | Method and Description |
|---|---|
Data |
createModifiableData(byte[] bytes) |
void |
dump(int indent) |
int |
getAbsoluteElementOffset(byte[] bytes,
int offset,
int elementIndex) |
int |
getAbsoluteOffset(byte[] bytes,
int parentOffset) |
AttributeDefinitionInfo |
getDefinitionInfo() |
int |
getElementCount(byte[] bytes,
int offset) |
AttributeInfo |
getElementInfo() |
int |
getFixedSize() |
int |
getMaxCount() |
String |
getName() |
AttributeInfo |
getOffsetReferral() |
int |
getRelativeOffset() |
int |
getSize(byte[] bytes,
int offset) |
boolean |
isArray() |
boolean |
isCountLimited() |
boolean |
isCountVariable() |
boolean |
isSizeFixed() |
private final boolean _sizeFixed
private final int _fixedSize
private final Attribute _attribute
private final AttributeDefinitionInfo _definitionInfo
public ArrayElementAttributeInfo(Attribute attribute, AttributeDefinitionInfo definitionInfo)
public String getName()
getName in interface AttributeInfopublic AttributeDefinitionInfo getDefinitionInfo()
getDefinitionInfo in interface AttributeInfopublic boolean isArray()
isArray in interface AttributeInfopublic void dump(int indent)
dump in interface AttributeInfopublic boolean isSizeFixed()
isSizeFixed in interface AttributeInfopublic int getFixedSize()
getFixedSize in interface AttributeInfopublic int getSize(byte[] bytes,
int offset)
getSize in interface AttributeInfopublic int getRelativeOffset()
getRelativeOffset in interface AttributeInfopublic AttributeInfo getOffsetReferral()
getOffsetReferral in interface AttributeInfopublic int getAbsoluteOffset(byte[] bytes,
int parentOffset)
getAbsoluteOffset in interface AttributeInfopublic int getElementCount(byte[] bytes,
int offset)
getElementCount in interface AttributeInfopublic int getAbsoluteElementOffset(byte[] bytes,
int offset,
int elementIndex)
getAbsoluteElementOffset in interface AttributeInfopublic AttributeInfo getElementInfo()
getElementInfo in interface AttributeInfopublic boolean isCountVariable()
isCountVariable in interface AttributeInfopublic boolean isCountLimited()
isCountLimited in interface AttributeInfopublic int getMaxCount()
getMaxCount in interface AttributeInfopublic Data createModifiableData(byte[] bytes)
createModifiableData in interface AttributeInfo