Class ShExC


  • public class ShExC
    extends java.lang.Object
    Shape Expressions : Compact syntax
    • Constructor Summary

      Constructors 
      Constructor Description
      ShExC()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ShexSchema parse​(java.io.InputStream input, java.lang.String originURI, java.lang.String baseURI)
      Parse the InputStream to get ShEx shapes.
      static ShexSchema parse​(java.io.StringReader input, java.lang.String baseURI)
      Parse from a StringReader.
      static ShexSchema parse​(java.lang.String filename)
      Parse the file to get ShEx shapes.
      static ShexSchema parse​(java.lang.String filename, java.lang.String baseURI)
      Parse the file to get ShEx shapes.
      static ShexMap parseShapeMap​(java.io.InputStream input, java.lang.String baseURI)
      Parse the InputStream to get a ShEx shape map.
      static ShexMap parseShapeMap​(java.io.StringReader input, java.lang.String baseURI)
      Parse a shape map from a StringReader.
      static ShexMap parseShapeMap​(java.lang.String filename)
      Parse the file to get a ShEx shape map.
      static ShexMap parseShapeMap​(java.lang.String filename, java.lang.String baseURI)
      Parse the file to get a ShEx shape map.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShExC

        public ShExC()
    • Method Detail

      • parse

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

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

        public static ShexSchema parse​(java.io.InputStream input,
                                       java.lang.String originURI,
                                       java.lang.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​(java.io.StringReader input,
                                       java.lang.String baseURI)
        Parse from a StringReader.
        Parameters:
        input -
        baseURI -
        Returns:
        ShexSchema
      • parseShapeMap

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

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

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

        public static ShexMap parseShapeMap​(java.io.StringReader input,
                                            java.lang.String baseURI)
        Parse a shape map from a StringReader.
        Parameters:
        input -
        baseURI -
        Returns:
        ShexShapeMap