public class DocumentVariable extends Object implements Serializable
| Constructor and Description |
|---|
DocumentVariable(String name,
int type)
Creates a new DocumentVariable.
|
DocumentVariable(String name,
int type,
Object value)
Creates a new DocumentVariable.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentVariable |
createNewStringVariable(String name,
String value)
Creates a new variable of type String.
|
String |
getName() |
String |
getStringValue() |
int |
getType() |
Object |
getValue() |
void |
setValue(Object value)
Sets the value of the variable.
|
public DocumentVariable(String name, int type, Object value)
name - the name of the variabletype - the type of the variable (see FT_xxx constants in SaConstants)value - the value of the variablepublic DocumentVariable(String name, int type)
name - the name of the variabletype - the type of the variable (see FT_xxx constants in SaConstants)public static DocumentVariable createNewStringVariable(String name, String value)
SaConstants.FT_STRING.name - the name of the new variablevalue - the value of the new variablepublic Object getValue()
public void setValue(Object value)
value - the new valuepublic String getName()
public int getType()
public String getStringValue()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.