public abstract class AbstractValue extends Object implements Value
| Modifier and Type | Field and Description |
|---|---|
protected int |
slen |
protected ValueType |
valueType |
| Constructor and Description |
|---|
AbstractValue(ValueType valueType) |
| Modifier and Type | Method and Description |
|---|---|
char[] |
getCharacters()
Returns character array containing the values represented as String
representation for XML.
|
ValueType |
getValueType()
Returns type of the boxed value e.g., int or boolean.
|
String |
toString()
Returns string representation.
|
String |
toString(char[] cbuffer,
int offset)
Returns string representation by making use of the passed character
array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharacters, getCharactersLengthprotected int slen
protected final ValueType valueType
public AbstractValue(ValueType valueType)
public final ValueType getValueType()
ValueNote: can be a string-type even if integer-type is expected (e.g., if Preserve.LexicalValues is set to TRUE).
getValueType in interface Valuepublic char[] getCharacters()
ValuePlease consider using getCharacters(char[] cbuffer, int offset).
getCharacters in interface Valuepublic String toString()
ValueCopyright © 2018 Siemens AG. All rights reserved.