public abstract class StateString extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
EMPTY |
static String |
JBPNS_PREFIX
.
|
protected static int |
OPAQUE |
protected static int |
SERIALIZED |
| Constructor and Description |
|---|
StateString() |
| Modifier and Type | Method and Description |
|---|---|
static StateString |
create(DataInputStream in)
Factory method that will create the most appropriate form from the byte representation.
|
static StateString |
create(String opaqueValue)
Factory method that will create the most appropriate form from the string representation.
|
static Map<String,String[]> |
decodeOpaqueValue(String opaqueValue) |
static String |
encodeAsOpaqueValue(Map<String,String[]> parameters) |
abstract String |
getStringValue()
Return the value of the navigational state of the portlet.
|
abstract void |
writeTo(DataOutputStream out) |
public static final String JBPNS_PREFIX
protected static final int EMPTY
protected static final int SERIALIZED
protected static final int OPAQUE
public abstract String getStringValue()
public abstract void writeTo(DataOutputStream out) throws IOException
IOExceptionpublic static StateString create(DataInputStream in) throws IOException
in - the inputstream to read fromIOException - any IOExceptionpublic static StateString create(String opaqueValue)
opaqueValue - the opaque valueCopyright © 2003-2017 GateIn. All Rights Reserved.