public class StaticValue
extends java.lang.Object
MarkGroup.addStatic(String, Object),
MarkGroup.addStaticAttribute(String, Object)| Constructor and Description |
|---|
StaticValue(java.lang.String name,
java.lang.Object value,
boolean attribute)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
get the name for this value
|
java.lang.Object |
getValue()
get the value
|
boolean |
isAttribute()
check if this static value should be used
as an attribute
|
public StaticValue(java.lang.String name,
java.lang.Object value,
boolean attribute)
name - String, the identifier for this valuevalue - Object, the value to setattribute - boolean, true if this is used as an attributepublic java.lang.String getName()
public java.lang.Object getValue()
public boolean isAttribute()