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​(graphql.language.Value<?> input, graphql.execution.CoercedVariables variables, graphql.GraphQLContext graphQLContext, java.util.Locale locale)  
      java.time.LocalTime parseValue​(java.lang.Object input, graphql.GraphQLContext graphQLContext, java.util.Locale locale)  
      java.lang.String serialize​(java.lang.Object input, graphql.GraphQLContext graphQLContext, java.util.Locale locale)  
      graphql.language.Value<?> valueToLiteral​(java.lang.Object input, graphql.GraphQLContext graphQLContext, java.util.Locale locale)  
      • 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
    • Constructor Detail

      • LocalTimeCoercing

        public LocalTimeCoercing()
    • Method Detail

      • serialize

        public java.lang.String serialize​(java.lang.Object input,
                                          graphql.GraphQLContext graphQLContext,
                                          java.util.Locale locale)
                                   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,
                                              graphql.GraphQLContext graphQLContext,
                                              java.util.Locale locale)
                                       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​(graphql.language.Value<?> input,
                                                graphql.execution.CoercedVariables variables,
                                                graphql.GraphQLContext graphQLContext,
                                                java.util.Locale locale)
                                         throws graphql.schema.CoercingParseLiteralException
        Specified by:
        parseLiteral in interface graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>
        Throws:
        graphql.schema.CoercingParseLiteralException
      • valueToLiteral

        public graphql.language.Value<?> valueToLiteral​(java.lang.Object input,
                                                        graphql.GraphQLContext graphQLContext,
                                                        java.util.Locale locale)
        Specified by:
        valueToLiteral in interface graphql.schema.Coercing<java.time.LocalTime,​java.lang.String>