Class DirectiveParserImpl<T>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.context.DirectiveParserImpl<T>
- All Implemented Interfaces:
DirectiveParser<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()The directive which this parser parses.booleanisUnique()Whether the directive is unique.static <T> DirectiveParser<T>of(Class<? super T> javaClass, String name, boolean isUnqiue, Function<graphql.language.Directive, T> parser) parser(graphql.language.Directive directive) boolean
-
Field Details
-
javaClass
-
name
-
isUnique
protected final boolean isUnique -
parser
-
-
Constructor Details
-
DirectiveParserImpl
-
-
Method Details
-
of
public static <T> DirectiveParser<T> of(Class<? super T> javaClass, String name, boolean isUnqiue, Function<graphql.language.Directive, T> parser) -
getJavaClass
-
supports
-
getName
Description copied from interface:DirectiveParserThe directive which this parser parses.- Specified by:
getNamein interfaceDirectiveParser<T>
-
isUnique
public boolean isUnique()Description copied from interface:DirectiveParserWhether the directive is unique.- Specified by:
isUniquein interfaceDirectiveParser<T>
-
parser
- Specified by:
parserin interfaceDirectiveParser<T>
-