Packages

c

org.nlogo.api

FormatterPair

class FormatterPair[A, B <: ModelFormat[A, B]] extends AnyRef

Source
ModelLoader.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormatterPair
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FormatterPair(modelFormat: B, serializers: Seq[ComponentSerialization[A, B]])(implicit aTag: ClassTag[A])

Value Members

  1. def addSerializer(s: ComponentSerialization[A, B]): FormatterPair[A, B]
  2. def addSerializers(s: Seq[ComponentSerialization[A, B]]): FormatterPair[A, B]
  3. def emptyModel: Model
  4. def formatClass: Class[_ <: B]
  5. def isCompatible(model: Model): Boolean
  6. def isCompatible(uri: URI): Boolean
  7. def isCompatible(source: String): Boolean
  8. def load(source: String): Try[Model]
  9. def load(uri: URI): Try[Model]
  10. val modelFormat: B
  11. def name: String
  12. def save(model: Model, uri: URI): Try[URI]
  13. def serializationClass: Class[_]
  14. val serializers: Seq[ComponentSerialization[A, B]]
  15. def sourceString(model: Model): Try[String]