|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.test4j.json.helper.JSONSingle
public class JSONSingle
单值对象
| 字段摘要 |
|---|
| 从接口 org.test4j.json.helper.JSONObject 继承的字段 |
|---|
JSON_ClazzFlag, JSON_ReferFlag, JSON_ValueFlag |
| 构造方法摘要 | |
|---|---|
JSONSingle()
|
|
JSONSingle(boolean quote)
|
|
JSONSingle(String value)
|
|
| 方法摘要 | |
|---|---|
String |
description()
描述JSON对象的内容 区别于toString() |
boolean |
equals(Object obj)
|
int |
hashCode()
|
static JSONSingle |
newInstance(Object value)
构造单值json对象 |
void |
setBeginIndex(int beginIndex)
|
void |
setEndIndex(int endIndex)
|
void |
setValue(String value)
|
String |
toClazzName()
|
Object |
toPrimitiveValue()
将value值转换为原始类型 |
String |
toReferenceID()
|
String |
toString()
|
String |
toStringValue()
将JSONValue转换为字符串 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JSONSingle()
public JSONSingle(String value)
public JSONSingle(boolean quote)
| 方法详细信息 |
|---|
public void setValue(String value)
public void setBeginIndex(int beginIndex)
public void setEndIndex(int endIndex)
public String toString()
Object 中的 toStringpublic String description()
JSONObject 复制的描述
JSONObject 中的 descriptionpublic String toStringValue()
public Object toPrimitiveValue()
public String toClazzName()
public String toReferenceID()
public int hashCode()
Object 中的 hashCodepublic boolean equals(Object obj)
Object 中的 equalspublic static JSONSingle newInstance(Object value)
value -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||