public class VersionedTextDocumentIdentifierTypeAdapter extends com.google.gson.TypeAdapter<VersionedTextDocumentIdentifier>
| Modifier and Type | Class and Description |
|---|---|
static class |
VersionedTextDocumentIdentifierTypeAdapter.Factory |
| Constructor and Description |
|---|
VersionedTextDocumentIdentifierTypeAdapter(com.google.gson.Gson gson) |
| Modifier and Type | Method and Description |
|---|---|
VersionedTextDocumentIdentifier |
read(com.google.gson.stream.JsonReader in) |
protected java.lang.String |
readUri(com.google.gson.stream.JsonReader in) |
protected java.lang.Integer |
readVersion(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
VersionedTextDocumentIdentifier value) |
protected void |
writeUri(com.google.gson.stream.JsonWriter out,
java.lang.String value) |
protected void |
writeVersion(com.google.gson.stream.JsonWriter out,
java.lang.Integer value) |
public VersionedTextDocumentIdentifierTypeAdapter(com.google.gson.Gson gson)
protected void writeVersion(com.google.gson.stream.JsonWriter out,
java.lang.Integer value)
throws java.io.IOException
java.io.IOExceptionpublic VersionedTextDocumentIdentifier read(com.google.gson.stream.JsonReader in) throws java.io.IOException
read in class com.google.gson.TypeAdapter<VersionedTextDocumentIdentifier>java.io.IOExceptionprotected java.lang.Integer readVersion(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readUri(com.google.gson.stream.JsonReader in)
throws java.io.IOException
java.io.IOExceptionpublic void write(com.google.gson.stream.JsonWriter out,
VersionedTextDocumentIdentifier value)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<VersionedTextDocumentIdentifier>java.io.IOExceptionprotected void writeUri(com.google.gson.stream.JsonWriter out,
java.lang.String value)
throws java.io.IOException
java.io.IOException