Class ShexSchema


  • public class ShexSchema
    extends java.lang.Object
    Shex Schema - a collection of shapes.
    • Method Detail

      • getShapes

        public java.util.List<ShexShape> getShapes()
        Get all the shapes. This includes the start shape, which has label SysShex.startNode.
      • hasImports

        public boolean hasImports()
      • getImports

        public java.util.List<java.lang.String> getImports()
      • getSource

        public java.lang.String getSource()
      • getBase

        public java.lang.String getBase()
      • importsClosure

        public ShexSchema importsClosure()
        Import form of this ShexShape collection. This involves removing the START reference.
      • hasShape

        public boolean hasShape​(Node n)
      • getPrefixMap

        public PrefixMap getPrefixMap()