| Modifier and Type | Field and Description |
|---|---|
static byte |
BIT_BYTE |
static byte |
BIT_NUMBER |
static byte |
BIT_REFERENCE |
static byte |
BIT_STRING |
protected int |
orientation |
protected java.lang.String |
property |
static java.lang.String |
PROPERTY_ORIENTATION |
static java.lang.String |
PROPERTY_PROPERTY |
static java.lang.String |
PROPERTY_TYP |
protected byte |
typ |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor and Description |
|---|
BitEntity() |
| Modifier and Type | Method and Description |
|---|---|
int |
calcLength(boolean isDynamic,
boolean isLast) |
java.lang.Object |
get(java.lang.String attrName) |
ByteBuffer |
getBytes(boolean isDynamic) |
BitEntity |
getNewList(boolean keyValue) |
int |
getOrientation() |
java.lang.String |
getPropertyName() |
byte |
getTyp() |
boolean |
isTyp(byte... referenceTyp) |
boolean |
remove(java.lang.Object value) |
boolean |
set(java.lang.String attribute,
java.lang.Object value) |
java.lang.String |
toString() |
java.lang.String |
toString(ByteConverter converter,
boolean isDynamic) |
java.lang.String |
toString(Converter converter)
Make a prettyprinted Text of this Entity.
|
BitEntity |
with(java.lang.Object... values)
Add Elements to List or KeyValue
if param Modulo 2 the Params can be Key,Value
or add all Values to List
|
BitEntity |
with(java.lang.String property,
byte typ) |
BitEntity |
withOrientation(int orientation) |
BitEntity |
withStartLen(int start,
int len) |
void |
writeBytes(ByteBuffer buffer,
boolean isDynamic,
boolean last,
boolean isPrimitive)
Write the Entity to the buffer
|
clone, filter, subListadd, add, addAll, addAll, ceiling, copyEntity, filterItems, iteratorReverse, listIterator, listIterator, remove, set, subSet, withListaddHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, iterator, last, lastIndexOf, move, pack, parseItem, removeAll, removeByObject, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withVisibleequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final byte BIT_STRING
public static final byte BIT_NUMBER
public static final byte BIT_BYTE
public static final byte BIT_REFERENCE
protected java.lang.String property
protected byte typ
protected int orientation
public static final java.lang.String PROPERTY_PROPERTY
public static final java.lang.String PROPERTY_TYP
public static final java.lang.String PROPERTY_ORIENTATION
public BitEntity with(java.lang.String property, byte typ)
public BitEntity withStartLen(int start, int len)
public BitEntity withOrientation(int orientation)
public java.lang.String getPropertyName()
public boolean isTyp(byte... referenceTyp)
public boolean set(java.lang.String attribute,
java.lang.Object value)
public java.lang.Object get(java.lang.String attrName)
public ByteBuffer getBytes(boolean isDynamic)
public void writeBytes(ByteBuffer buffer, boolean isDynamic, boolean last, boolean isPrimitive)
ByteItemwriteBytes in interface ByteItembuffer - for writingisDynamic - dynamic switschlast - is the entity is the last of a listisPrimitive - need the entity no datatyppublic int calcLength(boolean isDynamic,
boolean isLast)
calcLength in interface ByteItemisDynamic - ByteStream for minimize outputisLast - is the Element is the Last of Grouppublic java.lang.String toString()
toString in interface BaseItemtoString in class AbstractArray<BitValue>public java.lang.String toString(Converter converter)
AbstractArraytoString in interface BaseItemtoString in class AbstractArray<BitValue>converter - Converter for transform Item to STringpublic java.lang.String toString(ByteConverter converter, boolean isDynamic)
public BitEntity with(java.lang.Object... values)
BaseItemwith in interface BaseItemwith in class SimpleList<BitValue>values - Items to Add to Listpublic int getOrientation()
public BitEntity getNewList(boolean keyValue)
getNewList in interface BaseItemgetNewList in class SimpleList<BitValue>public boolean remove(java.lang.Object value)
remove in interface java.util.Collection<BitValue>remove in interface java.util.List<BitValue>remove in class SimpleList<BitValue>