|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.plural.jsonij.Value
cc.plural.jsonij.StringImp
public class StringImp
JSON String Implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cc.plural.jsonij.Value |
|---|
Value.TYPE |
| Field Summary | |
|---|---|
protected String |
value
Container for the String. |
| Fields inherited from class cc.plural.jsonij.Value |
|---|
valueType |
| Constructor Summary | |
|---|---|
StringImp(String orig)
Constructor using java.lang.String. |
|
| Method Summary | |
|---|---|
char |
charAt(int index)
|
boolean |
equals(Object o)
|
int |
hashCode()
|
protected Value.TYPE |
internalType()
Internal Method to find the internalType for the Object. |
int |
length()
|
int |
nestedSize()
Finds the nested elements under this Value. |
CharSequence |
subSequence(int start,
int end)
|
String |
toJSON()
Converts the current Value into a JSON String that represents it. |
String |
toString()
Default toString for a JSON Value. |
| Methods inherited from class cc.plural.jsonij.Value |
|---|
compareTo, get, get, getBoolean, getDouble, getInt, getNumber, getString, getValueType, has, isNull, size, type, valueKeySet |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String value
| Constructor Detail |
|---|
public StringImp(String orig)
orig - The original String for this Value| Method Detail |
|---|
protected Value.TYPE internalType()
Value
internalType in class Valuepublic char charAt(int index)
charAt in interface CharSequencepublic int length()
length in interface CharSequence
public CharSequence subSequence(int start,
int end)
subSequence in interface CharSequencepublic boolean equals(Object o)
equals in class Valuepublic int hashCode()
hashCode in class Valuepublic String toString()
Value
toString in interface CharSequencetoString in class Valuepublic int nestedSize()
Value
nestedSize in class Valuepublic String toJSON()
Value
toJSON in class Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||