| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public VersionedTextDocumentIdentifier | read(final JsonReader in)
Implements abstract com. Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object. |
| protected String | |
| protected Integer | |
| public void | write(final JsonWriter out, final VersionedTextDocumentIdentifier value)
Implements abstract com. Writes one JSON value (an array, object, string, number, boolean or null)
for |
| protected void | |
| protected void |
| gson | back to summary |
|---|---|
| private final Gson gson | |
| VersionedTextDocumentIdentifierTypeAdapter | back to summary |
|---|---|
| public VersionedTextDocumentIdentifierTypeAdapter(final Gson gson) | |
| read | back to summary |
|---|---|
| public VersionedTextDocumentIdentifier read(final JsonReader in) throws IOException Implements abstract com. Doc from com. Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object. Returns the converted object. | |
| readUri | back to summary |
|---|---|
| protected String readUri(final JsonReader in) throws IOException | |
| readVersion | back to summary |
|---|---|
| protected Integer readVersion(final JsonReader in) throws IOException | |
| write | back to summary |
|---|---|
| public void write(final JsonWriter out, final VersionedTextDocumentIdentifier value) throws IOException Implements abstract com. Doc from com. Writes one JSON value (an array, object, string, number, boolean or null)
for | |
| writeUri | back to summary |
|---|---|
| protected void writeUri(final JsonWriter out, final String value) throws IOException | |
| writeVersion | back to summary |
|---|---|
| protected void writeVersion(final JsonWriter out, final Integer value) throws IOException | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> TypeAdapter | create(final Gson gson, final TypeToken<T> typeToken)
Implements com. Returns a type adapter for |
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public <T> TypeAdapter Implements com. Doc from com. Returns a type adapter for | |