public class StringValue extends AbstractValue
| Modifier and Type | Field and Description |
|---|---|
protected char[] |
characters |
protected String |
sValue |
slen, valueType| Constructor and Description |
|---|
StringValue(char[] ca) |
StringValue(String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
char[] |
getCharacters()
Returns character array containing the values represented as String
representation for XML.
|
void |
getCharacters(char[] cbuffer,
int offset)
Fills character array with the value represented as String
|
int |
getCharactersLength()
Length of string representation
|
int |
hashCode() |
String |
toString()
Returns string representation.
|
String |
toString(char[] cbuffer,
int offset)
Returns string representation by making use of the passed character
array.
|
getValueTypeprotected char[] characters
protected String sValue
public StringValue(char[] ca)
public StringValue(String s)
public int getCharactersLength()
Valuepublic char[] getCharacters()
ValuePlease consider using getCharacters(char[] cbuffer, int offset).
getCharacters in interface ValuegetCharacters in class AbstractValuepublic void getCharacters(char[] cbuffer,
int offset)
Valuecbuffer - character bufferoffset - character buffer offsetpublic String toString()
ValuetoString in interface ValuetoString in class AbstractValueStringpublic String toString(char[] cbuffer, int offset)
ValuetoString in interface ValuetoString in class AbstractValuecbuffer - character bufferoffset - character buffer offsetCopyright © 2018 Siemens AG. All rights reserved.