Class ShExC

java.lang.Object
org.apache.jena.shex.parser.ShExC

public class ShExC extends Object
Shape Expressions : Compact syntax
  • Constructor Details

    • ShExC

      public ShExC()
  • Method Details

    • parse

      public static ShexSchema parse(String filename)
      Parse the file to get ShEx shapes.
      Parameters:
      filename -
      Returns:
      ShexSchema
    • parse

      public static ShexSchema parse(String filename, String baseURI)
      Parse the file to get ShEx shapes.
      Parameters:
      filename -
      baseURI -
      Returns:
      ShexSchema
    • parse

      public static ShexSchema parse(InputStream input, String originURI, String baseURI)
      Parse the InputStream to get ShEx shapes.
      Parameters:
      input -
      originURI - The source from where the data was read from.
      baseURI -
      Returns:
      ShexSchema
    • parse

      public static ShexSchema parse(StringReader input, String baseURI)
      Parse from a StringReader.
      Parameters:
      input -
      baseURI -
      Returns:
      ShexSchema
    • parseShapeMap

      public static ShapeMap parseShapeMap(String filename)
      Parse the file to get a ShEx shape map.
      Parameters:
      filename -
      Returns:
      ShexShapeMap
    • parseShapeMap

      public static ShapeMap parseShapeMap(String filename, String baseURI)
      Parse the file to get a ShEx shape map.
      Parameters:
      filename -
      baseURI -
      Returns:
      ShexShapeMap
    • parseShapeMap

      public static ShapeMap parseShapeMap(InputStream input, String baseURI)
      Parse the InputStream to get a ShEx shape map.
      Parameters:
      input -
      baseURI -
      Returns:
      ShexShapeMap
    • parseShapeMap

      public static ShapeMap parseShapeMap(StringReader input, String baseURI)
      Parse a shape map from a StringReader.
      Parameters:
      input -
      baseURI -
      Returns:
      ShexShapeMap