class FormatterPair[A, B <: ModelFormat[A, B]] extends AnyRef
- Source
- ModelLoader.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FormatterPair
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new FormatterPair(modelFormat: B, serializers: Seq[ComponentSerialization[A, B]])(implicit aTag: ClassTag[A])
Value Members
- def addSerializer(s: ComponentSerialization[A, B]): FormatterPair[A, B]
- def addSerializers(s: Seq[ComponentSerialization[A, B]]): FormatterPair[A, B]
- def emptyModel: Model
- def formatClass: Class[_ <: B]
- def isCompatible(model: Model): Boolean
- def isCompatible(uri: URI): Boolean
- def isCompatible(source: String): Boolean
- def load(source: String): Try[Model]
- def load(uri: URI): Try[Model]
- val modelFormat: B
- def name: String
- def save(model: Model, uri: URI): Try[URI]
- def serializationClass: Class[_]
- val serializers: Seq[ComponentSerialization[A, B]]
- def sourceString(model: Model): Try[String]