Class TransformExpandPrefixes

java.lang.Object
graphql.language.NodeVisitorStub
org.aksw.jenax.graphql.sparql.v2.rewrite.TransformExpandPrefixes
All Implemented Interfaces:
graphql.language.NodeVisitor

public class TransformExpandPrefixes extends graphql.language.NodeVisitorStub
Expand prefixes in the following directives:
  • @pattern(of: "?s rdfs:label ?o")
  • @rdf(iri: "rdf:type")
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    process(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap prefixes)
     
    graphql.util.TraversalControl
    visitField(graphql.language.Field field, 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, visitFieldDefinition, visitFloatValue, visitFragmentDefinition, visitFragmentSpread, visitInlineFragment, visitInputObjectTypeDefinition, visitInputValueDefinition, visitInterfaceTypeDefinition, visitIntValue, visitListType, visitNode, visitNonNullType, visitNullValue, visitObjectField, visitObjectTypeDefinition, visitObjectValue, visitOperationDefinition, 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

    • TransformExpandPrefixes

      public TransformExpandPrefixes()
  • Method Details

    • visitField

      public 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
    • process

      public static boolean process(graphql.language.Directive node, org.apache.jena.riot.system.PrefixMap prefixes)