Class NodeVisitorPrefixesBase

java.lang.Object
graphql.language.NodeVisitorStub
org.aksw.jenax.graphql.sparql.v2.rewrite.NodeVisitorPrefixesBase
All Implemented Interfaces:
graphql.language.NodeVisitor
Direct Known Subclasses:
TransformExpandShorthands

public abstract class NodeVisitorPrefixesBase extends graphql.language.NodeVisitorStub
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.jena.riot.system.PrefixMap
    getEffectivePrefixMap(graphql.util.TraverserContext<graphql.language.Node> context)
    Return the prefix map for this node - never null.
    static org.apache.jena.riot.system.PrefixMap
    getParentPrefixMapOrNull(graphql.util.TraverserContext<graphql.language.Node> context)
     
    protected void
    processPrefixes(graphql.language.DirectivesContainer<?> node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    final graphql.util.TraversalControl
    visitField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
     
    abstract graphql.util.TraversalControl
    visitFieldActual(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
     
    final graphql.util.TraversalControl
    visitFieldDefinition(graphql.language.FieldDefinition fieldDefinition, graphql.util.TraverserContext<graphql.language.Node> context)
     
    abstract graphql.util.TraversalControl
    visitFieldDefinitionActual(graphql.language.FieldDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    visitFragmentSpread(graphql.language.FragmentSpread node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    abstract graphql.util.TraversalControl
    visitFragmentSpreadActual(graphql.language.FragmentSpread node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    final graphql.util.TraversalControl
    visitInlineFragment(graphql.language.InlineFragment node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    abstract graphql.util.TraversalControl
    visitInlineFragmentActual(graphql.language.InlineFragment node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    visitInterfaceTypeDefinition(graphql.language.InterfaceTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    abstract graphql.util.TraversalControl
    visitInterfaceTypeDefinitionActual(graphql.language.InterfaceTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    visitObjectTypeDefinition(graphql.language.ObjectTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    abstract graphql.util.TraversalControl
    visitObjectTypeDefinitionActual(graphql.language.ObjectTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     
    graphql.util.TraversalControl
    visitOperationDefinition(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
     

    Methods inherited from class graphql.language.NodeVisitorStub

    visitArgument, visitArrayValue, visitBooleanValue, visitDefinition, visitDirective, visitDirectiveDefinition, visitDirectiveLocation, visitDocument, visitEnumTypeDefinition, visitEnumValue, visitEnumValueDefinition, visitFloatValue, visitFragmentDefinition, visitInputObjectTypeDefinition, visitInputValueDefinition, visitIntValue, visitListType, visitNode, visitNonNullType, visitNullValue, visitObjectField, visitObjectValue, visitOperationTypeDefinition, visitScalarTypeDefinition, visitSchemaDefinition, visitSelection, visitSelectionSet, visitStringValue, visitType, visitTypeDefinition, visitTypeName, visitUnionTypeDefinition, visitValue, visitVariableDefinition, visitVariableReference

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NodeVisitorPrefixesBase

      public NodeVisitorPrefixesBase()
  • Method Details

    • getEffectivePrefixMap

      public static org.apache.jena.riot.system.PrefixMap getEffectivePrefixMap(graphql.util.TraverserContext<graphql.language.Node> context)
      Return the prefix map for this node - never null.
    • getParentPrefixMapOrNull

      public static org.apache.jena.riot.system.PrefixMap getParentPrefixMapOrNull(graphql.util.TraverserContext<graphql.language.Node> context)
    • processPrefixes

      protected void processPrefixes(graphql.language.DirectivesContainer<?> node, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitOperationDefinition

      public graphql.util.TraversalControl visitOperationDefinition(graphql.language.OperationDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitOperationDefinition in interface graphql.language.NodeVisitor
      Overrides:
      visitOperationDefinition in class graphql.language.NodeVisitorStub
    • visitField

      public final graphql.util.TraversalControl visitField(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitField in interface graphql.language.NodeVisitor
      Overrides:
      visitField in class graphql.language.NodeVisitorStub
    • visitFieldDefinition

      public final graphql.util.TraversalControl visitFieldDefinition(graphql.language.FieldDefinition fieldDefinition, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitFieldDefinition in interface graphql.language.NodeVisitor
      Overrides:
      visitFieldDefinition in class graphql.language.NodeVisitorStub
    • visitInterfaceTypeDefinition

      public graphql.util.TraversalControl visitInterfaceTypeDefinition(graphql.language.InterfaceTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitInterfaceTypeDefinition in interface graphql.language.NodeVisitor
      Overrides:
      visitInterfaceTypeDefinition in class graphql.language.NodeVisitorStub
    • visitObjectTypeDefinition

      public graphql.util.TraversalControl visitObjectTypeDefinition(graphql.language.ObjectTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitObjectTypeDefinition in interface graphql.language.NodeVisitor
      Overrides:
      visitObjectTypeDefinition in class graphql.language.NodeVisitorStub
    • visitInlineFragment

      public final graphql.util.TraversalControl visitInlineFragment(graphql.language.InlineFragment node, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitInlineFragment in interface graphql.language.NodeVisitor
      Overrides:
      visitInlineFragment in class graphql.language.NodeVisitorStub
    • visitFragmentSpread

      public graphql.util.TraversalControl visitFragmentSpread(graphql.language.FragmentSpread node, graphql.util.TraverserContext<graphql.language.Node> context)
      Specified by:
      visitFragmentSpread in interface graphql.language.NodeVisitor
      Overrides:
      visitFragmentSpread in class graphql.language.NodeVisitorStub
    • visitFieldActual

      public abstract graphql.util.TraversalControl visitFieldActual(graphql.language.Field field, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitInlineFragmentActual

      public abstract graphql.util.TraversalControl visitInlineFragmentActual(graphql.language.InlineFragment node, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitFragmentSpreadActual

      public abstract graphql.util.TraversalControl visitFragmentSpreadActual(graphql.language.FragmentSpread node, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitFieldDefinitionActual

      public abstract graphql.util.TraversalControl visitFieldDefinitionActual(graphql.language.FieldDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitObjectTypeDefinitionActual

      public abstract graphql.util.TraversalControl visitObjectTypeDefinitionActual(graphql.language.ObjectTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)
    • visitInterfaceTypeDefinitionActual

      public abstract graphql.util.TraversalControl visitInterfaceTypeDefinitionActual(graphql.language.InterfaceTypeDefinition node, graphql.util.TraverserContext<graphql.language.Node> context)