|
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.Parameter
org.eclipse.soda.dk.parameter.FillStreamParameter
public class FillStreamParameter
The OffsetParameter class implements the ParameterService interface.
Parameter,
ParameterService| Field Summary |
|---|
| Fields inherited from class org.eclipse.soda.dk.parameter.Parameter |
|---|
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 | |
|---|---|
FillStreamParameter(java.lang.String key,
int offset,
int length)
Constructs an instance of this class from the specified key, offset and length parameters. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
decodeMessage(MessageService message,
ParameterCursorService cursor)
Perform the decodeMessage method and return the Object result. |
MessageService |
encodeMessage(MessageService message,
java.lang.Object value,
int offset,
ParameterCursorService cursor)
Perform the encodeMessage method and return the MessageService result. |
protected int |
getLength(ParameterCursorService cursor)
Gets the int length property value. |
protected int |
getOffset(ParameterCursorService cursor)
Gets the int offset property value. |
boolean |
isConstantParameter()
Gets the constant parameter (boolean) value. |
protected void |
setLength(int length)
Sets the length value. |
protected void |
setOffset(int offset)
Sets the offset value. |
protected void |
updateCursor(ParameterCursorService cursor)
Update cursor with the specified cursor parameter. |
| Methods inherited from class org.eclipse.soda.dk.parameter.Parameter |
|---|
decode, decodeBytes, decodeEnd, decodeString, decodeValue, decodeValue, encode, encodeBegin, encodeBytes, encodeString, encodeValue, encodeValue, equals, getBytes, getDefaultStyle, getKey, getLong, getStyle, getTransform, getTypeStyle, isArray, isInsert, isLittleEndian, isUnsigned, setBits, setBytes, setKey, setStyle, setTransform |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FillStreamParameter(java.lang.String key,
int offset,
int length)
key - The key (String) parameter.offset - The offset (int) parameter.length - The length (int) parameter.| Method Detail |
|---|
protected java.lang.Object decodeMessage(MessageService message,
ParameterCursorService cursor)
Object result.
decodeMessage in class Parametermessage - The message (MessageService) parameter.cursor - The cursor (ParameterCursorService) parameter.
Object) value.encodeMessage(MessageService,Object,int,ParameterCursorService)
public MessageService encodeMessage(MessageService message,
java.lang.Object value,
int offset,
ParameterCursorService cursor)
MessageService result.
encodeMessage in class Parametermessage - The message (MessageService) parameter.value - The value (Object) parameter.offset - The offset (int) parameter.cursor - The cursor (ParameterCursorService) parameter.
MessageService) value.decodeMessage(MessageService,ParameterCursorService)protected int getLength(ParameterCursorService cursor)
int length property value.
cursor - The cursor (ParameterCursorService) parameter.
int) value.setLength(int)protected int getOffset(ParameterCursorService cursor)
int offset property value.
cursor - The cursor (ParameterCursorService) parameter.
int) value.setOffset(int)public boolean isConstantParameter()
isConstantParameter in interface ParameterServiceisConstantParameter in class Parameterboolean) value.protected void setLength(int length)
length - The length (int) parameter.getLength(ParameterCursorService)protected void setOffset(int offset)
offset - The offset (int) parameter.getOffset(ParameterCursorService)protected void updateCursor(ParameterCursorService cursor)
updateCursor in class Parametercursor - The cursor (ParameterCursorService) parameter.
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||