Class ElementType

java.lang.Object
org.aksw.jena_sparql_api.shape.syntax.Element0
org.aksw.jena_sparql_api.shape.syntax.ElementType
All Implemented Interfaces:
Element

public class ElementType extends Element0
Element for restricting to a certain type. Allows for easy querying by a type. For instance, "lgdo:Airport LIMIT 10" is a valid query.
Author:
raven
  • Field Details

    • type

      protected org.apache.jena.graph.Node type
  • Constructor Details

    • ElementType

      public ElementType(org.apache.jena.graph.Node type)
  • Method Details

    • getType

      public org.apache.jena.graph.Node getType()
    • accept

      public <T> T accept(ElementVisitor<T> visitor)