public class GraphQLTypeResolvingVisitor extends GraphQLTypeVisitorStub
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,GraphQLNamedType> |
typeMap |
Constructor and Description |
---|
GraphQLTypeResolvingVisitor(java.util.Map<java.lang.String,GraphQLNamedType> typeMap) |
Modifier and Type | Method and Description |
---|---|
TraversalControl |
handleTypeReference(GraphQLTypeReference node,
TraverserContext<GraphQLSchemaElement> context) |
TraversalControl |
visitBackRef(TraverserContext<GraphQLSchemaElement> context)
Called when a node is visited more than once within a context.
|
TraversalControl |
visitGraphQLInterfaceType(GraphQLInterfaceType node,
TraverserContext<GraphQLSchemaElement> context) |
TraversalControl |
visitGraphQLObjectType(GraphQLObjectType node,
TraverserContext<GraphQLSchemaElement> context) |
TraversalControl |
visitGraphQLTypeReference(GraphQLTypeReference node,
TraverserContext<GraphQLSchemaElement> context) |
TraversalControl |
visitGraphQLUnionType(GraphQLUnionType node,
TraverserContext<GraphQLSchemaElement> context) |
visitGraphQLArgument, visitGraphQLDirective, visitGraphQLEnumType, visitGraphQLEnumValueDefinition, visitGraphQLFieldDefinition, visitGraphQLInputObjectField, visitGraphQLInputObjectType, visitGraphQLList, visitGraphQLNonNull, visitGraphQLScalarType, visitGraphQLType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changedNode, deletedNode, insertAfterNode, insertBeforeNode, visitGraphQLCompositeType, visitGraphQLDirectiveContainer, visitGraphQLFieldsContainer, visitGraphQLInputFieldsContainer, visitGraphQLInputType, visitGraphQLModifiedType, visitGraphQLNullableType, visitGraphQLOutputType, visitGraphQLUnmodifiedType
protected final java.util.Map<java.lang.String,GraphQLNamedType> typeMap
public GraphQLTypeResolvingVisitor(java.util.Map<java.lang.String,GraphQLNamedType> typeMap)
public TraversalControl visitGraphQLObjectType(GraphQLObjectType node, TraverserContext<GraphQLSchemaElement> context)
visitGraphQLObjectType
in interface GraphQLTypeVisitor
visitGraphQLObjectType
in class GraphQLTypeVisitorStub
public TraversalControl visitGraphQLInterfaceType(GraphQLInterfaceType node, TraverserContext<GraphQLSchemaElement> context)
visitGraphQLInterfaceType
in interface GraphQLTypeVisitor
visitGraphQLInterfaceType
in class GraphQLTypeVisitorStub
public TraversalControl visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context)
visitGraphQLUnionType
in interface GraphQLTypeVisitor
visitGraphQLUnionType
in class GraphQLTypeVisitorStub
public TraversalControl visitGraphQLTypeReference(GraphQLTypeReference node, TraverserContext<GraphQLSchemaElement> context)
visitGraphQLTypeReference
in interface GraphQLTypeVisitor
visitGraphQLTypeReference
in class GraphQLTypeVisitorStub
public TraversalControl handleTypeReference(GraphQLTypeReference node, TraverserContext<GraphQLSchemaElement> context)
public TraversalControl visitBackRef(TraverserContext<GraphQLSchemaElement> context)
GraphQLTypeVisitor
TraverserContext.thisNode()
contains
the nodecontext
- the traversal context