public class PooledValue extends Object
Constructor and Description |
---|
PooledValue(int kind,
Object value)
Construct a PooledValue, kind taken directly from the caller.
|
PooledValue(Object value)
Construct a PooledValue, kind determined by the value object's type.
|
Modifier and Type | Method and Description |
---|---|
Double |
getDoubleValue() |
Integer |
getIntegerValue() |
int |
getKind() |
Long |
getLongValue() |
Namespace |
getNamespaceValue() |
int |
getPoolIndex() |
String |
getStringValue() |
Object |
getValue() |
void |
setPoolIndex(int index)
Set the value's pool index.
|
public PooledValue(Object value)
value
- - the PooledValue's value. Must be one of a restricted set
of Java types.public PooledValue(int kind, Object value)
public void setPoolIndex(int index)
public int getPoolIndex()
public int getKind()
public Object getValue()
public Integer getIntegerValue()
public Long getLongValue()
public Double getDoubleValue()
public String getStringValue()
public Namespace getNamespaceValue()
Copyright © 2016 The Apache Software Foundation. All rights reserved.