package validator
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- validator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class AbstractShapeErr(node: RDFNode, shape: ShapeExpr, rdf: RDFReader) extends ShExError with Product with Serializable
- case class AbstractShapeErrNoArgs() extends ShExError with Product with Serializable
-
case class
Action(name: IRI, code: Option[String]) extends Product with Serializable
Represents actions to be done
Represents actions to be done
- name
represents the kind of action
- code
contains the code to be executed
- case class Arc(path: Path, node: RDFNode) extends Product with Serializable
-
case class
Attempt(nodeShape: NodeShape, path: Option[IRI], rdf: RDFReader) extends Product with Serializable
Represents current validation attempt It contains the node and a shape It may contain a predicate, path or nothing
- type BagChecker_ = BagChecker[ConstraintRef]
- type Bag_ = Bag[ConstraintRef]
-
case class
CTable(constraints: ConstraintsMap, paths: PathsMap, elems: Int, prefixMap: PrefixMap) extends Product with Serializable
Constraints table
- case class Candidate(arc: Arc, crefs: Set[ConstraintRef]) extends Product with Serializable
- case class CandidateLine(values: List[(Arc, ConstraintRef)]) extends Product with Serializable
- final case class Candidates(cs: List[Candidate]) extends AnyVal with Product with Serializable
- case class CheckResult[E, A, Log](log: Log, eitherResult: Either[E, A])(implicit evidence$1: Show[E], evidence$2: Show[A], evidence$3: Show[Log]) extends Product with Serializable
- case class ClosedShapeWithRests(s: Shape, rest: Arc, attempt: Attempt, ignoredPathsClosed: List[Path], extras: List[Path]) extends ShExError with Product with Serializable
- case class ConfigEnv(cfg: ShExConfig, env: Context) extends Product with Serializable
- case class ConstraintRef(n: Int, path: Path, showPath: String) extends Product with Serializable
- type ConstraintsMap = Map[ConstraintRef, CheckExpr]
- case class Context(typing: ShapeTyping, varTable: VarTable, localNeighs: LocalNeighs, visited: Set[ShapeLabel]) extends Product with Serializable
- type ES[A] = Either[ShExError, A]
- case class Evidences(ls: List[(NodeShape, String)]) extends Product with Serializable
- case class ExtendFails(node: RDFNode, extended: ShapeLabel, attempt: Attempt, err: ShExError, rdf: RDFReader) extends ShExError with Product with Serializable
- case class ExternalIRIResolver(maybeIri: Option[IRI]) extends ExternalResolver with Product with Serializable
- sealed abstract class ExternalResolver extends AnyRef
- case class FacetChecker(schema: AbstractSchema, rdf: RDFReader, builder: RDFBuilder) extends ShExChecker with ShowValidator with Product with Serializable
- case class HasNoType(node: RDFNode, label: ShapeLabel, shapeTyping: ShapeTyping, attempt: Attempt, rdf: RDFReader) extends ShExError with Product with Serializable
- case class LocalNeighs(neighsMap: Map[RDFNode, Neighs]) extends Product with Serializable
- case class MultipleRestricts(node: RDFNode, attempt: Attempt, s: Shape, rs: List[ShapeLabel]) extends ShExError with Product with Serializable
- case class Neighs(m: Map[Path, Set[RDFNode]]) extends Product with Serializable
- case class NoCandidateLine(attempt: Attempt, table: CTable, node: RDFNode, rdf: RDFReader) extends ShExError with Product with Serializable
- final case class NoCandidates(cs: List[Arc]) extends AnyVal with Product with Serializable
- case class NoDescendant(node: RDFNode, s: ShapeExpr, attempt: Attempt, rdf: RDFReader) extends ShExError with Product with Serializable
- case class NoLabelExternal(se: ShapeExternal) extends ShExError with Product with Serializable
- case class NoPartition(node: RDFNode, attempt: Attempt, s: Shape, extendedLabel: ShapeLabel, neighs: Neighs) extends ShExError with Product with Serializable
- case class NodeConstraintChecker(schema: AbstractSchema, rdf: RDFReader, builder: RDFBuilder) extends ShExChecker with ShowValidator with Product with Serializable
- case class NodeShape(node: RDFNode, shape: ShapeType) extends Product with Serializable
- case class PartitionFailed(node: RDFNode, attempt: Attempt, s: Shape, extendLabel: ShapeLabel, pair: (Set[Arc], Set[Arc])) extends ShExError with Product with Serializable
- type PathsMap = Map[Path, Set[ConstraintRef]]
- type Rbe_ = Rbe[ConstraintRef]
- final case class Result(e: Either[ShExError, (ValidationLog, ResultShapeMap)]) extends AnyVal with Product with Serializable
- type ResultPair = (CTable, Rbe_)
- case class SemanticActionException(attempt: Attempt, node: RDFNode, action: SemAct, exc: Throwable) extends ShExError with Product with Serializable
- trait ShExChecker extends AnyRef
- case class ShExConfig(rdf: RDFReader, verbose: Boolean) extends Product with Serializable
- sealed abstract class ShExError extends Exception with NoStackTrace with Product with Serializable
- case class ShapeType(shape: ShapeExpr, label: Option[ShapeLabel], schema: AbstractSchema) extends Product with Serializable
- case class ShapeTyping(t: Typing[RDFNode, ShapeType, ShExError, String]) extends Product with Serializable
- trait ShowValidator extends AnyRef
- case class State() extends Product with Serializable
-
case class
ValidateFlatShape(validator: Validator, nodesPrefixMap: PrefixMap, shapesPrefixMap: PrefixMap, builder: RDFBuilder) extends ShExChecker with Product with Serializable
ShEx validator
- case class ValidationLog(actions: List[Action], slurp: List[RDFTriple]) extends Product with Serializable
-
case class
Validator(schema: ResolvedSchema, externalResolver: ExternalResolver = NoAction, builder: RDFBuilder) extends ShExChecker with ShowValidator with Product with Serializable
ShEx validator
- case class ValueChecker(schema: AbstractSchema, builder: RDFBuilder) extends ShExChecker with ShowValidator with Product with Serializable
Value Members
- object Action extends Serializable
- object Arc extends Serializable
- object Attempt extends Serializable
- object CTable extends Serializable
- object Candidate extends Serializable
- object CandidateLine extends Serializable
- object ConstraintRef extends Serializable
- object Context extends Serializable
- object Evidences extends Serializable
- object LocalNeighs extends Serializable
- object Neighs extends Serializable
-
object
NoAction extends ExternalResolver with Product with Serializable
Basic external resolver that does nothing by default
- object NodeInfo
- object NodeShape extends Serializable
- object ShExError extends Serializable
- object ShapeType extends Serializable
- object ShapeTyping extends Serializable
- object ValidationLog extends Serializable
- object Validator extends Serializable