case class DseValidator(citeLibrary: CiteLibrary, baseUrl: String = ..., basePath: String = ..., ictUrl: String = ...) extends CiteValidator[DsePassage] with LogSupport with Product with Serializable
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- DseValidator
- Product
- Equals
- CiteValidator
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DseValidator(citeLibrary: CiteLibrary, baseUrl: String = ..., basePath: String = ..., ictUrl: String = ...)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
accuracy(psgs: Vector[DsePassage]): String
Compose markdown section on accuracy for required "verify" method.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val basePath: String
- val baseUrl: String
- val citeLibrary: CiteLibrary
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
lazy val
collections: CiteCollectionRepository
Short-hand reference for library's CITE collections.
-
lazy val
corpus: Corpus
Short-hand reference for library's text corpus.
-
def
coverage(psgs: Vector[DsePassage]): String
Compose markdown section on coverage for required "verify" method.
-
macro
def
debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
lazy val
dsev: DseVector
Library must implement the DSE model in at least one collection.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
macro
def
error(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
error(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
def
filterDsePassages(dsePassages: Vector[DsePassage], valid: Boolean): Vector[DsePassage]
Filter a Vector of DsePassages, keeping or rejecting passage based on setting of Boolean valid.
Filter a Vector of DsePassages, keeping or rejecting passage based on setting of Boolean valid.
- dsePassages
List of DsePassages to filter.
- valid
If true, keep valid passages.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ictUrl: String
-
macro
def
info(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
info(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label: String
Label for CiteValidator.
Label for CiteValidator.
- Definition Classes
- DseValidator → CiteValidator
-
macro
def
logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
lazy val
logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
-
def
markdownResults[T](results: Vector[TestResult[T]]): String
Concatenate result summaries as a Markdown list.
Concatenate result summaries as a Markdown list.
- Definition Classes
- CiteValidator
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def ordered(psgs: Vector[DsePassage]): Vector[DsePassage]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tbs: Vector[Cite2Urn]
Get ordered list of all text-bearing surfaces in the library.
-
def
textContents(psg: DsePassage): String
Extract text contents from text nodes of a DSE record's text passages.
Extract text contents from text nodes of a DSE record's text passages.
- psg
A DSE record.
-
macro
def
trace(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
trace(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
def
validate(surface: Cite2Urn): Vector[TestResult[DsePassage]]
Validate DSE content on a single text-bearing surface.
Validate DSE content on a single text-bearing surface. Required method for implementation of CiteValidator trait.
- surface
Validate DSE content on this text-bearing surface.
- Definition Classes
- DseValidator → CiteValidator
-
def
validate(citeLibrary: CiteLibrary): Vector[TestResult[DsePassage]]
Validate DSE relations page-by-page for an entire library.
Validate DSE relations page-by-page for an entire library.
- citeLibrary
Library to validate.
- Definition Classes
- DseValidator → CiteValidator
-
def
validate(surfaces: Vector[Cite2Urn]): Vector[TestResult[DsePassage]]
Validate all contents of a CiteLibrary for type T related to a Vector of surfaces.
Validate all contents of a CiteLibrary for type T related to a Vector of surfaces.
- Definition Classes
- CiteValidator
-
def
verify(surface: Cite2Urn): String
Composes markdown string for visual verification of a surface.
Composes markdown string for visual verification of a surface.
- surface
Surface to verify.
- Definition Classes
- DseValidator → CiteValidator
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
macro
def
warn(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
warn(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.