|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectargo.jdom.JsonNode
argo.jdom.JsonStringNode
public final class JsonStringNode
JsonNode that explicitly represents a JSON String.
| Method Summary | |
|---|---|
JsonStringNode |
build()
Generates an instance of T, as specified by calls to any other methods provided by implementations of JsonNodeBuilder. |
int |
compareTo(JsonStringNode that)
|
boolean |
equals(java.lang.Object that)
|
java.util.List<JsonNode> |
getElements()
|
java.util.List<JsonField> |
getFieldList()
Gets the fields associated with this node as a list of JsonFields. |
java.util.Map<JsonStringNode,JsonNode> |
getFields()
Gets the fields associated with this node as a map of name to value. |
java.lang.String |
getText()
|
JsonNodeType |
getType()
|
boolean |
hasElements()
|
boolean |
hasFields()
|
int |
hashCode()
|
boolean |
hasText()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public JsonNodeType getType()
getType in class JsonNodepublic boolean hasText()
hasText in class JsonNodepublic java.lang.String getText()
getText in class JsonNodepublic boolean hasFields()
hasFields in class JsonNodepublic java.util.Map<JsonStringNode,JsonNode> getFields()
JsonNode
getFields in class JsonNodepublic java.util.List<JsonField> getFieldList()
JsonNodeJsonFields. This method allows
the retrieval of all fields in an object even when the fields have duplicate keys. This method
also preserves the order of the fields.
getFieldList in class JsonNodepublic boolean hasElements()
hasElements in class JsonNodepublic java.util.List<JsonNode> getElements()
getElements in class JsonNodepublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(JsonStringNode that)
compareTo in interface java.lang.Comparable<JsonStringNode>public JsonStringNode build()
JsonNodeBuilderT, as specified by calls to any other methods provided by implementations of JsonNodeBuilder.
build in interface JsonNodeBuilder<JsonStringNode>T.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||