case class DseVector(passages: Vector[DsePassage]) extends LogSupport with Product with Serializable
A class for working with an ordered sequence of DsePassage obects.
- passages
Vector of DsePassage objects.
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- DseVector
- Product
- Equals
- LogSupport
- LazyLogger
- LoggingMethods
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DseVector(passages: Vector[DsePassage])
- passages
Vector of DsePassage objects.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(dseVector: DseVector): DseVector
Concatenate a second DseVector to this one.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
macro
def
debug(message: Any, cause: Throwable): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
macro
def
debug(message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
ictForImage(img: Cite2Urn, baseUrl: String = ...): String
Compose a URL string to display DSE relations for a specified image in the image citation tool developed for the CITE Architecture.
Compose a URL string to display DSE relations for a specified image in the image citation tool developed for the CITE Architecture. See https://github.com/cite-architecture/ict2.
- img
The images to illustrate.
- baseUrl
Home URL, as a String, for an installation of the CITE Image Citation Tool (version 2).
-
def
ictForSurface(surfaceUrn: Cite2Urn, baseUrl: String = ...): Option[String]
Compose a URL string to display DSE relations for a specifice text-bearing surface in the image citation tool developed for the CITE Architecture.
Compose a URL string to display DSE relations for a specifice text-bearing surface in the image citation tool developed for the CITE Architecture. See https://github.com/cite-architecture/ict2.
- surfaceUrn
The surface to illustrate.
- baseUrl
Home URL, as a String, for an installation of the CITE Image Citation Tool (version 2).
-
def
ictForText(psg: CtsUrn, baseUrl: String = ...): Option[String]
Compose a URL string to display DSE relations for an exactly matching specified passage of text in the image citation tool developed for the CITE Architecture.
Compose a URL string to display DSE relations for an exactly matching specified passage of text in the image citation tool developed for the CITE Architecture. See https://github.com/cite-architecture/ict2.
- psg
Text passage to illustrate.
- baseUrl
Home URL, as a String, for an installation of the CITE Image Citation Tool (version 2).
-
def
imageCollections: Set[Cite2Urn]
Set of image collections in this DSE.
-
def
imageForTbs(surface: Cite2Urn): Option[Cite2Urn]
Find reference image for a given text-bearing surface.
Find reference image for a given text-bearing surface.
- surface
URN for surface to check.
-
def
imageForText(psg: CtsUrn): Option[Cite2Urn]
Reference image illustrating a given passage of text.
Reference image illustrating a given passage of text.
- psg
A citable node of text.
-
def
imageWRoiForText(psg: CtsUrn): Option[Cite2Urn]
Image citation with RoI illustrating a given passage of text.
Image citation with RoI illustrating a given passage of text.
- psg
A citable node of text.
-
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
-
macro
def
logAt(logLevel: LogLevel, message: Any): Unit
- Attributes
- protected
- Definition Classes
- LoggingMethods
-
lazy val
logger: Logger
- Attributes
- protected[this]
- Definition Classes
- LazyLogger
-
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()
- val passages: Vector[DsePassage]
-
def
size: Int
Number of citable text passages in this data set.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tbs: Set[Cite2Urn]
Set of text-bearing surfaces in this DSE.
-
def
tbsForImage(img: Cite2Urn): Set[Cite2Urn]
Set of text-bearing surfaces illustrated by a given image.
Set of text-bearing surfaces illustrated by a given image.
- img
Illustrative image.
-
def
tbsForText(psg: CtsUrn): Option[Cite2Urn]
URN for the text-bearing surface carrying a given text passage.
URN for the text-bearing surface carrying a given text passage.
- psg
A passage of text found on a single text-bearing surface.
-
def
texts: Set[CtsUrn]
Set of texts (editions or versions) in this DSE.
-
def
textsForImage(img: Cite2Urn): Vector[CtsUrn]
Set of texts illustrated by a given image.
Set of texts illustrated by a given image. Note that this is an unordered set of citable nodes. You need to consult a TextRepository or a Corpus to determine the document order of nodes in this set or construct a range from this set.
- img
Illustrative image.
-
def
textsForTbs(surf: Cite2Urn): Vector[CtsUrn]
Vector of texts appearing on a given text-bearing surface.
Vector of texts appearing on a given text-bearing surface. Ordering of the Vector follows the initial construction of the DseVector.
- surf
Text-bearing surface.
-
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
triangleConsistencyErrors: Vector[String]
True if ...
True if ...
def consistentImageSurface : Boolean = { val passageImage: Vector[(CtsUrn, Cite2Urn)] = { passages.map( p => { (p.passage, p.imageroi) }).distinct } val passageSurface: Vector[(CtsUrn, Cite2Urn)] = { passages.map( p => { (p.passage, p.surface) }).distinct } val imageSurface: Vector[(Cite2Urn, Cite2Urn)] = { passages.map( p => { (p.imageroi.dropExtensions, p.surface) }) } ((passageImage.size == passageSurface.size) & (passageSurface.size == imageSurface.size) & (passages.size > 0))
}
-
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.