|
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.parameter.MultiParameter
org.eclipse.soda.dk.parameter.VariableLengthParameter
public class VariableLengthParameter
| Field Summary |
|---|
| 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.ParameterService |
|---|
ARRAY, ASCII, ASCIIZ, BOOLEAN, BYTE, BYTES, DOUBLE, FLOAT, HEXASCII, HEXSTRING, INSERT, INTEGER, LITTLEENDIAN, LONG, NASCII, NSTRING, NULL, SERVICE_NAME, SHORT, STRING, UNLIMITED, UNSIGNED, USE_CURSOR, USE_CURSOR_INSERT |
| Constructor Summary | |
|---|---|
VariableLengthParameter()
Constructs an instance of this class. |
|
VariableLengthParameter(ParameterService[] parameters)
Constructs an instance of this class from the specified parameters parameter. |
|
VariableLengthParameter(java.lang.String key)
Constructs an instance of this class from the specified key parameter. |
|
VariableLengthParameter(java.lang.String key,
ParameterService[] parameters)
Constructs an instance of this class from the specified key and parameters parameters. |
|
VariableLengthParameter(java.lang.String key,
ParameterService[] parameters,
ParameterService countBlock)
Constructs an instance of this class from the specified key, parameters and count block parameters. |
|
| Method Summary | |
|---|---|
java.lang.Object |
decodeValue(MessageService message,
ParameterCursorService cursor)
Decode value with the specified message and cursor parameters and return the Object result. |
MessageService |
encodeValue(MessageService message,
java.lang.Object value,
ParameterCursorService cursor)
Encode value with the specified message, value and cursor parameters and return the MessageService result. |
java.lang.String |
getKey()
Gets the key (String) value. |
boolean |
needsCursor()
Needs cursor and return the boolean result. |
| Methods inherited from class org.eclipse.soda.dk.parameter.MultiParameter |
|---|
decodeValue, encodeValue, encodeValueList, getCountBlock, getParameters, setCountBlock, setParameters |
| Methods inherited from class org.eclipse.soda.dk.parameter.BaseKeyParameter |
|---|
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, 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 |
| Constructor Detail |
|---|
public VariableLengthParameter()
VariableLengthParameter(ParameterService[]),
VariableLengthParameter(String),
VariableLengthParameter(String,ParameterService[]),
VariableLengthParameter(String,ParameterService[],ParameterService)public VariableLengthParameter(ParameterService[] parameters)
parameters - The parameters (ParameterService[]) parameter.VariableLengthParameter(),
VariableLengthParameter(String),
VariableLengthParameter(String,ParameterService[]),
VariableLengthParameter(String,ParameterService[],ParameterService)public VariableLengthParameter(java.lang.String key)
key - The key (String) parameter.VariableLengthParameter(),
VariableLengthParameter(ParameterService[]),
VariableLengthParameter(String,ParameterService[]),
VariableLengthParameter(String,ParameterService[],ParameterService)
public VariableLengthParameter(java.lang.String key,
ParameterService[] parameters)
key - The key (String) parameter.parameters - The parameters (ParameterService[]) parameter.VariableLengthParameter(),
VariableLengthParameter(ParameterService[]),
VariableLengthParameter(String),
VariableLengthParameter(String,ParameterService[],ParameterService)
public VariableLengthParameter(java.lang.String key,
ParameterService[] parameters,
ParameterService countBlock)
key - The key (String) parameter.parameters - The parameters (ParameterService[]) parameter.countBlock - The count block (ParameterService) parameter.VariableLengthParameter(),
VariableLengthParameter(ParameterService[]),
VariableLengthParameter(String),
VariableLengthParameter(String,ParameterService[])| Method Detail |
|---|
public java.lang.Object decodeValue(MessageService message,
ParameterCursorService cursor)
decodeValue in interface ParameterServicedecodeValue in class MultiParametermessage - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.encodeValue(MessageService,Object,ParameterCursorService)
public MessageService encodeValue(MessageService message,
java.lang.Object value,
ParameterCursorService cursor)
encodeValue in interface ParameterServiceencodeValue in class MultiParametermessage - The message (MessageService) parameter.value - The value (Object) parameter.cursor - The cursor (ParameterCursorService) parameter.
MessageService) value.decodeValue(MessageService,ParameterCursorService)public java.lang.String getKey()
getKey in interface ParameterServicegetKey in class BaseKeyParameterString) value.BaseKeyParameter.setKey(String)public boolean needsCursor()
needsCursor in class MultiParameterboolean) value.BaseParameter.updateCursor(ParameterCursorService),
BaseParameter.updateCursor(ParameterCursorService,int)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||