- All Implemented Interfaces:
graphql.schema.Coercing<I,String>
public class DatatypeCoercing<I>
extends Object
implements graphql.schema.Coercing<I,String>
-
-
Constructor Summary
Constructors
-
Method Summary
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
-
-
-
Method Details
-
serialize
public String serialize(Object o)
throws graphql.schema.CoercingSerializeException
- Specified by:
serialize
in interface graphql.schema.Coercing<I,String>
- Throws:
graphql.schema.CoercingSerializeException
-
parseValue
- Specified by:
parseValue
in interface graphql.schema.Coercing<I,String>
-
parseLiteral
public I parseLiteral(Object input)
- Specified by:
parseLiteral
in interface graphql.schema.Coercing<I,String>