package shex
Ordering
- Alphabetic
Visibility
- Public
- Protected
Package Members
Type Members
- abstract class AbstractSchema extends AnyRef
- trait AllPaths extends Extend
- case class Annotation(predicate: IRI, obj: ObjectValue) extends Product with Serializable
- case class BNodeLabel(bnode: BNode) extends ShapeLabel with Product with Serializable
- case class Cardinality(min: Int, max: Max) extends Product with Serializable
- case class ConversionError(msg: String) extends RuntimeException with NoStackTrace with Product with Serializable
- case class DatatypeString(s: String, iri: IRI) extends ObjectLiteral with Product with Serializable
- case class Direct(pred: IRI) extends Path with Product with Serializable
- case class EachOf(id: Option[ShapeLabel], expressions: List[TripleExpr], optMin: Option[Int], optMax: Option[Max], semActs: Option[List[SemAct]], annotations: Option[List[Annotation]]) extends TripleExpr with Product with Serializable
- case class Expr(id: Option[ShapeLabel], e: ValueExpr) extends TripleExpr with Product with Serializable
Support for arithmetic expressions
Support for arithmetic expressions
- id
an optional ShapeLabel
- e
value expression
- case class FractionDigits(n: Int) extends NumericFacet with Product with Serializable
- sealed trait IRIExclusion extends AnyRef
- case class IRILabel(iri: IRI) extends ShapeLabel with Product with Serializable
- case class IRIRefExclusion(iri: IRI) extends IRIExclusion with Product with Serializable
- case class IRIStem(stem: IRI) extends ValueSetValue with Product with Serializable
- case class IRIStemExclusion(iriStem: IRIStem) extends IRIExclusion with Product with Serializable
- case class IRIStemRange(stem: IRIStemRangeValue, exclusions: Option[List[IRIExclusion]]) extends ValueSetValue with Product with Serializable
- sealed trait IRIStemRangeValue extends AnyRef
- case class IRIStemValueIRI(iri: IRI) extends IRIStemRangeValue with Product with Serializable
- case class IRIStemWildcard() extends IRIStemRangeValue with Product with Serializable
- case class IRIValue(i: IRI) extends ObjectValue with Product with Serializable
- case class Inclusion(include: ShapeLabel) extends TripleExpr with Product with Serializable
- case class IntMax(v: Int) extends Max with Product with Serializable
Bounded cardinality represented by an Int value
Bounded cardinality represented by an Int value
- v
maximum cardinality
- case class Inverse(pred: IRI) extends Path with Product with Serializable
- case class LangString(s: String, lang: Lang) extends ObjectLiteral with Product with Serializable
- case class Language(languageTag: Lang) extends ValueSetValue with Product with Serializable
- sealed trait LanguageExclusion extends AnyRef
- case class LanguageStem(stem: Lang) extends ValueSetValue with Product with Serializable
- case class LanguageStemExclusion(languageStem: LanguageStem) extends LanguageExclusion with Product with Serializable
- case class LanguageStemRange(stem: LanguageStemRangeValue, exclusions: Option[List[LanguageExclusion]]) extends ValueSetValue with Product with Serializable
- case class LanguageStemRangeLang(stem: Lang) extends LanguageStemRangeValue with Product with Serializable
- sealed trait LanguageStemRangeValue extends AnyRef
- case class LanguageStemRangeWildcard() extends LanguageStemRangeValue with Product with Serializable
- case class LanguageTagExclusion(lang: Lang) extends LanguageExclusion with Product with Serializable
- case class Length(v: Int) extends StringFacet with Product with Serializable
- sealed trait LiteralExclusion extends AnyRef
- case class LiteralStem(stem: String) extends ValueSetValue with Product with Serializable
- case class LiteralStemExclusion(literalStem: LiteralStem) extends LiteralExclusion with Product with Serializable
- case class LiteralStemRange(stem: LiteralStemRangeValue, exclusions: Option[List[LiteralExclusion]]) extends ValueSetValue with Product with Serializable
- case class LiteralStemRangeString(str: String) extends LiteralStemRangeValue with Product with Serializable
- sealed trait LiteralStemRangeValue extends AnyRef
- case class LiteralStemRangeWildcard() extends LiteralStemRangeValue with Product with Serializable
- case class LiteralStringExclusion(str: String) extends LiteralExclusion with Product with Serializable
- sealed trait Max extends AnyRef
Represents the maximum cardinality which can be a number or unbounded
- case class MaxExclusive(n: NumericLiteral) extends NumericFacet with Product with Serializable
- case class MaxInclusive(n: NumericLiteral) extends NumericFacet with Product with Serializable
- case class MaxLength(v: Int) extends StringFacet with Product with Serializable
- case class MinExclusive(n: NumericLiteral) extends NumericFacet with Product with Serializable
- case class MinInclusive(n: NumericLiteral) extends NumericFacet with Product with Serializable
- case class MinLength(v: Int) extends StringFacet with Product with Serializable
- case class NodeConstraint(id: Option[ShapeLabel], nodeKind: Option[NodeKind], datatype: Option[IRI], xsFacets: List[XsFacet], values: Option[List[ValueSetValue]], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Product with Serializable
- sealed trait NodeKind extends AnyRef
- sealed trait NumericFacet extends XsFacet
- sealed trait ObjectLiteral extends ObjectValue
- sealed trait ObjectValue extends ValueSetValue
- case class OneOf(id: Option[ShapeLabel], expressions: List[TripleExpr], optMin: Option[Int], optMax: Option[Max], semActs: Option[List[SemAct]], annotations: Option[List[Annotation]]) extends TripleExpr with Product with Serializable
- sealed trait Path extends AnyRef
- case class Pattern(p: String, flags: Option[String]) extends StringFacet with Product with Serializable
- case class ResolvedSchema(source: Schema, resolvedMapShapeExprs: Map[ShapeLabel, ResolvedShapeExpr], resolvedMapTripleExprs: Map[ShapeLabel, ResolvedTripleExpr], inheritanceGraph: Inheritance[ShapeLabel, ShapesRelation], labelLocationMap: Option[Map[ShapeLabel, Location]]) extends AbstractSchema with Product with Serializable
Represents a schema with all the imports resolved
- case class ResolvedShapeExpr(se: ShapeExpr, source: Option[IRI], descendants: Set[ShapeLabel], paths: List[Path]) extends Product with Serializable
- case class ResolvedTripleExpr(te: TripleExpr, source: Option[IRI]) extends Product with Serializable
- case class Schema(id: IRI, prefixes: Option[PrefixMap], base: Option[IRI], startActs: Option[List[SemAct]], start: Option[ShapeExpr], shapes: Option[List[ShapeExpr]], optTripleExprMap: Option[Map[ShapeLabel, TripleExpr]], imports: List[IRI], labelLocationMap: Option[Map[ShapeLabel, Location]]) extends AbstractSchema with Product with Serializable
- case class SemAct(name: IRI, code: Option[String]) extends Product with Serializable
- 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 with Product with Serializable
- case class ShapeAnd(id: Option[ShapeLabel], shapeExprs: List[ShapeExpr], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Product with Serializable
- case class ShapeDecl(lbl: ShapeLabel, shapeExpr: ShapeExpr, _abstract: Boolean = false) extends ShapeExpr with Product with Serializable
Declares an abstract shape expression
- sealed trait ShapeExpr extends Product with Serializable
- case class ShapeExternal(id: Option[ShapeLabel], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Product with Serializable
- sealed trait ShapeLabel extends Product with Serializable
- case class ShapeNot(id: Option[ShapeLabel], shapeExpr: ShapeExpr, annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Product with Serializable
- case class ShapeOr(id: Option[ShapeLabel], shapeExprs: List[ShapeExpr], annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Product with Serializable
- case class ShapeRef(reference: ShapeLabel, annotations: Option[List[Annotation]], actions: Option[List[SemAct]]) extends ShapeExpr with Product with Serializable
- sealed abstract class ShapesRelation extends AnyRef
- sealed trait StringFacet extends XsFacet
- case class StringValue(s: String) extends ObjectLiteral with Product with Serializable
- case class TotalDigits(n: Int) extends NumericFacet with Product with Serializable
- case class TripleConstraint(id: Option[ShapeLabel], optInverse: Option[Boolean], optNegated: Option[Boolean], predicate: IRI, valueExpr: Option[ShapeExpr], optMin: Option[Int], optMax: Option[Max], optVariableDecl: Option[VarName], semActs: Option[List[SemAct]], annotations: Option[List[Annotation]]) extends TripleExpr with Product with Serializable
- sealed trait TripleExpr extends AnyRef
- sealed trait ValueSetValue extends AnyRef
- final case class VarName(str: String) extends AnyVal with Product with Serializable
- case class VarTable(table: Map[VarName, List[RDFNode]]) extends Product with Serializable
- sealed trait XsFacet extends AnyRef
Value Members
- case object BNodeKind extends NodeKind with Product with Serializable
- object Cardinality extends Serializable
- object Children
- object Dependencies
- object EachOf extends Serializable
- case object Extends extends ShapesRelation with Product with Serializable
- object ExtendsConverter
- case object IRIKind extends NodeKind with Product with Serializable
- object InheritanceGraph
- case object LiteralKind extends NodeKind with Product with Serializable
- object NodeConstraint extends Serializable
- case object NonLiteralKind extends NodeKind with Product with Serializable
- object ObjectValue
- object OneOf extends Serializable
- object Path
- case object References extends ShapesRelation with Product with Serializable
- object ResolvedSchema extends Serializable
- object ResolvedShapeExpr extends Serializable
- object ResolvedTripleExpr extends Serializable
- case object Restricts extends ShapesRelation with Product with Serializable
- object Schema extends Serializable
- object ShExDiff
- object Shape extends Serializable
- object ShapeAnd extends Serializable
- object ShapeDecl extends Serializable
- object ShapeExpr extends Serializable
- object ShapeExternal extends Serializable
- object ShapeLabel extends Serializable
- object ShapeNot extends Serializable
- object ShapeOr extends Serializable
- object ShapeRef extends Serializable
- case object Star extends Max with Product with Serializable
Unbounded cardinality
- case object Start extends ShapeLabel with Product with Serializable
- object TripleConstraint extends Serializable
- object VarName extends Serializable
- object VarTable extends Serializable
- object values