Class LocalTimeCoercing

  • All Implemented Interfaces:
    graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>

    public class LocalTimeCoercing
    extends java.lang.Object
    implements graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.LocalTime parseLiteral​(java.lang.Object input)  
      java.time.LocalTime parseValue​(java.lang.Object input)  
      java.lang.String serialize​(java.lang.Object input)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface graphql.schema.Coercing

        parseLiteral, parseLiteral, parseValue, serialize, valueToLiteral, valueToLiteral
    • Constructor Detail

      • LocalTimeCoercing

        public LocalTimeCoercing()
    • Method Detail

      • serialize

        public java.lang.String serialize​(java.lang.Object input)
                                   throws graphql.schema.CoercingSerializeException
        Specified by:
        serialize in interface graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>
        Throws:
        graphql.schema.CoercingSerializeException
      • parseValue

        public java.time.LocalTime parseValue​(java.lang.Object input)
                                       throws graphql.schema.CoercingParseValueException
        Specified by:
        parseValue in interface graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>
        Throws:
        graphql.schema.CoercingParseValueException
      • parseLiteral

        public java.time.LocalTime parseLiteral​(java.lang.Object input)
                                         throws graphql.schema.CoercingParseLiteralException
        Specified by:
        parseLiteral in interface graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>
        Throws:
        graphql.schema.CoercingParseLiteralException