Shape

es.weso.shex.Shape
See theShape companion object
case class Shape(id: Option[ShapeLabel], virtual: Option[Boolean], closed: Option[Boolean], extra: Option[List[IRI]], expression: Option[TripleExpr], _extends: Option[List[ShapeLabel]], restricts: Option[List[ShapeLabel]], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Extend

Attributes

Companion:
object
Graph
Supertypes
trait Extend
trait ShapeExpr
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Definition Classes
override def addId(lbl: ShapeLabel): Shape

Attributes

Definition Classes
override def addSemActs(as: List[SemAct]): ShapeExpr

Attributes

Definition Classes

If the shape can be flatten, returns a FlatShape

If the shape can be flatten, returns a FlatShape

Attributes

override def paths(schema: AbstractSchema): Either[String, Set[Path]]

Attributes

Definition Classes
override def relativize(base: IRI): Shape

Attributes

Definition Classes
override def rmId: ShapeExpr

Attributes

Definition Classes
def withExtra(extras: Option[List[IRI]]): Shape

Inherited methods

Attributes

Inherited from:
ShapeExpr
def extendCheckingVisited[S, E : Semigroup, Err, Label](s: S, finder: Label => Either[Err, S], extend: S => Option[List[Label]], expr: S => Option[E]): Either[Err, Option[E]]

Attributes

Inherited from:
Extend

Return the labels that are referenced in a shape expression This method can use useful to detect if a shape doesn't refer to non-existing labels

Return the labels that are referenced in a shape expression This method can use useful to detect if a shape doesn't refer to non-existing labels

Attributes

Inherited from:
ShapeExpr

Attributes

Inherited from:
ShapeExpr

Attributes

Inherited from:
ShapeExpr

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def showId(pm: PrefixMap): String

Attributes

Inherited from:
ShapeExpr

Attributes

Inherited from:
ShapeExpr