| 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_TYPE |
protected byte |
type |
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor and Description |
|---|
BitEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(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
|
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 |
getType() |
boolean |
isType(byte... referenceType) |
boolean |
remove(java.lang.Object value) |
boolean |
set(java.lang.String attribute,
java.lang.Object value) |
java.lang.String |
toString()
Convert Element to String
|
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.String property,
byte type) |
BitEntity |
withOrientation(int orientation) |
BitEntity |
withStartLen(int start,
int len) |
BitEntity |
withType(byte value) |
void |
writeBytes(ByteBuffer buffer,
boolean isDynamic,
boolean last,
boolean isPrimitive)
Write the Entity to the buffer
|
add, clone, filter, subListadd, addAll, addAll, ceiling, copyEntity, equals, filterItems, hashCode, iterator, iterator, iteratorReverse, listIterator, listIterator, remove, set, subSet, withListaddHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getPositionKey, getTypClass, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, last, lastIndexOf, move, pack, parseItem, removeAll, removeByIndex, removeByObject, removeItem, replaceAllValues, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, toArray, toArray, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, withVisiblefinalize, 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 type
protected int orientation
public static final java.lang.String PROPERTY_PROPERTY
public static final java.lang.String PROPERTY_TYPE
public static final java.lang.String PROPERTY_ORIENTATION
public BitEntity with(java.lang.String property, byte type)
public BitEntity withStartLen(int start, int len)
public BitEntity withOrientation(int orientation)
public java.lang.String getPropertyName()
public boolean isType(byte... referenceType)
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()
BaseItemtoString 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 boolean add(java.lang.Object... values)
BaseItemadd in interface BaseItemadd in class AbstractArray<BitValue>values - Items to Add to Listpublic BitEntity withType(byte value)
public 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>