Class GenericNodeSerializerViaRiot

java.lang.Object
com.esotericsoftware.kryo.Serializer<org.apache.jena.graph.Node>
org.aksw.jenax.io.kryo.jena.GenericNodeSerializerViaRiot

public class GenericNodeSerializerViaRiot extends com.esotericsoftware.kryo.Serializer<org.apache.jena.graph.Node>
Kryo Serializer for Node using riot.
Author:
Lorenz Buehmann
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.jena.riot.system.ErrorHandler
     
    protected org.apache.jena.riot.system.ParserProfile
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.graph.Node
    parse(String string)
     
    org.apache.jena.graph.Node
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.apache.jena.graph.Node> objClass)
     
    protected org.apache.jena.riot.system.ParserProfile
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.apache.jena.graph.Node obj)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • errorHandler

      protected org.apache.jena.riot.system.ErrorHandler errorHandler
    • profile

      protected org.apache.jena.riot.system.ParserProfile profile
  • Constructor Details

    • GenericNodeSerializerViaRiot

      public GenericNodeSerializerViaRiot()
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, org.apache.jena.graph.Node obj)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<org.apache.jena.graph.Node>
    • read

      public org.apache.jena.graph.Node read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<org.apache.jena.graph.Node> objClass)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<org.apache.jena.graph.Node>
    • parse

      public org.apache.jena.graph.Node parse(String string)
    • setupInternalParserProfile

      protected org.apache.jena.riot.system.ParserProfile setupInternalParserProfile()