|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.parameter.BaseParameter
org.eclipse.soda.dk.parameter.BaseKeyParameter
org.eclipse.soda.dk.segment.SimpleSegment
org.eclipse.soda.dk.segment.OptionalSegment
public class OptionalSegment
| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.segment.SimpleSegment |
|---|
SEGMENT_NAME |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
key |
| Fields inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
BIT_MASKS, MASKS, SET_MASKS, SET_TOP_MASKS |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.SegmentService |
|---|
SERVICE_NAME |
| Fields inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SHORT, STRING, UNLIMITED, UNSIGNED, USE_CURSOR, USE_CURSOR_INSERT |
| Constructor Summary | |
|---|---|
OptionalSegment()
Constructs an instance of this class. |
|
OptionalSegment(byte[] bytes,
FilterService filter,
ParameterService parameter)
Constructs an instance of this class from the specified bytes, filter and parameter parameters. |
|
OptionalSegment(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
OptionalSegment(java.lang.String key,
byte[] bytes,
FilterService filter,
ParameterService parameter)
Constructs an instance of this class from the specified key, bytes, filter and parameter parameters. |
|
| Method Summary | |
|---|---|
void |
getDidNotMatch(MessageService message,
byte[] compareBytes,
ParameterCursorService cursor)
Get did not match with the specified message, compare bytes and cursor parameters. |
boolean |
isInsert()
Gets the insert (boolean) value. |
| Methods inherited from class org.eclipse.soda.dk.segment.SimpleSegment |
|---|
checkMatches, decodeValue, encodeValue, getBytes, getFilter, getParameter, needsCursor, setBytes, setFilter, setParameter |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
getKey, setKey |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseParameter |
|---|
createCursorChild, decode, decodeBytes, decodeEnd, decodeString, decodeValue, encode, encodeBytes, encodeData, encodeString, encodeValue, expand, expand, getAbsoluteOffset, getBytes, getDefaultStyle, getLength, getLength, getLittleEndianLong, getLong, getOffset, getOffsetAbsolute, getOffsetDefault, getOffsetLength, getOffsetValue, getUnsignedInteger, getUnsignedLittleEndianLong, getUnsignedLittleEngianLong, getUnsignedLong, isConstantParameter, isInsert, setBits, setBits, setBits, setBitsLittleEngian, setBytes, setBytes, setBytes, setBytesLittleEndian, updateCursor, updateCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.parameter.service.ParameterService |
|---|
decodeValue, encodeValue, getKey, isConstantParameter |
| Methods inherited from interface org.eclipse.soda.dk.data.parameter.service.DataParameterService |
|---|
decode, encode |
| Constructor Detail |
|---|
public OptionalSegment(java.lang.String key,
byte[] bytes,
FilterService filter,
ParameterService parameter)
key - The key (String) parameter.bytes - The bytes (byte[]) parameter.filter - The filter (FilterService) parameter.parameter - The parameter (ParameterService) parameter.OptionalSegment(String),
OptionalSegment(),
OptionalSegment(byte[],FilterService,ParameterService)public OptionalSegment(java.lang.String key)
key - The key (String) parameter.OptionalSegment(String,byte[],FilterService,ParameterService),
OptionalSegment(),
OptionalSegment(byte[],FilterService,ParameterService)public OptionalSegment()
OptionalSegment(String,byte[],FilterService,ParameterService),
OptionalSegment(String),
OptionalSegment(byte[],FilterService,ParameterService)
public OptionalSegment(byte[] bytes,
FilterService filter,
ParameterService parameter)
bytes - The bytes (byte[]) parameter.filter - The filter (FilterService) parameter.parameter - The parameter (ParameterService) parameter.OptionalSegment(String,byte[],FilterService,ParameterService),
OptionalSegment(String),
OptionalSegment()| Method Detail |
|---|
public void getDidNotMatch(MessageService message,
byte[] compareBytes,
ParameterCursorService cursor)
getDidNotMatch in class SimpleSegmentmessage - The message (MessageService) parameter.compareBytes - The compare bytes (byte[]) parameter.cursor - The cursor (ParameterCursorService) parameter.public boolean isInsert()
isInsert in class BaseParameterboolean) value.BaseParameter.isInsert(ParameterCursorService)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||