object CiteCollectionRepository extends Serializable
Factory for creating CiteCollectionRepository from a CEX source.
- Alphabetic
- By Inheritance
- CiteCollectionRepository
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
apply(cexSource: String, delimiter: String = "#", delimiter2: String = ","): CiteCollectionRepository
Creates CITE Collection data from a CEX source.
Creates CITE Collection data from a CEX source.
- cexSource
Text in CEX format. Note that there must be one
citedata
block per collection and at least onecitecollections
andciteproperties
block that may contain catalog data for any number of collections.- delimiter
String defining structural units of delimited text content.
- delimiter2
Secondary delimiter used within controlled vocabulary lists, if any.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lcLabel(collectionDef: CiteCollectionDef): String
Find lowercase version of the name of the labelling property in a CITE Collection's definition.
Find lowercase version of the name of the labelling property in a CITE Collection's definition.
- collectionDef
Definition of the collection's structure.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
objectMatchesCatalog(citeObj: CiteObject, collectionDef: CiteCollectionDef): Boolean
True if the given CiteObject validates against the collection's definition.
True if the given CiteObject validates against the collection's definition. In actuality, won't ever return false, but will throw an Exception if requirements checked by
assert
statements are violated, otherwise returns true.- citeObj
Citable object to evaluate.
- collectionDef
Collection definition to use in evaulating object.
-
def
propertiesForMappedText(dataMap: Map[String, String], collectionDef: CiteCollectionDef): Vector[CitePropertyValue]
Create CiteCollectionData from maps of property names to serialized data strings.
Create CiteCollectionData from maps of property names to serialized data strings.
- dataMap
Vector of maps with each vector representing one CITE object, and each mapping representing a mapping of property name to string value for that property.
- collectionDef
CiteCollectionDef for this collection.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
typesMatch(propertyVal: Any, expected: CitePropertyType, vocabList: Vector[String]): Boolean
True if a given value is an appropriate type and value for the specified CitePropertyType.
True if a given value is an appropriate type and value for the specified CitePropertyType.
- propertyVal
Value to test.
- expected
CitePropertyType the value must validate against.
- vocabList
Vector of controlled vocabulary items if relevant, or an empty vector otherwise.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )