Class VersionedTextDocumentIdentifierTypeAdapter


  • public class VersionedTextDocumentIdentifierTypeAdapter
    extends com.google.gson.TypeAdapter<VersionedTextDocumentIdentifier>
    A type adapter for the VersionedTextDocumentIdentifier protocol type.
    • Constructor Detail

      • VersionedTextDocumentIdentifierTypeAdapter

        public VersionedTextDocumentIdentifierTypeAdapter​(com.google.gson.Gson gson)
    • Method Detail

      • writeVersion

        protected void writeVersion​(com.google.gson.stream.JsonWriter out,
                                    java.lang.Integer value)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • readVersion

        protected java.lang.Integer readVersion​(com.google.gson.stream.JsonReader in)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • readUri

        protected java.lang.String readUri​(com.google.gson.stream.JsonReader in)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • writeUri

        protected void writeUri​(com.google.gson.stream.JsonWriter out,
                                java.lang.String value)
                         throws java.io.IOException
        Throws:
        java.io.IOException