
sbt-scalaxb.opengis.gml.smil.smil20.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-server-opengis_2.12 Show documentation
Show all versions of geotrellis-server-opengis_2.12 Show documentation
GeoTrellis Server is a set of components designed to simplify viewing, processing, and serving raster data from arbitrary sources with an emphasis on doing so in a functional style.
The newest version!
// Generated by scalaxb.
package opengis.gml.smil
trait AnimatePrototypable {
def attributeName: String
def attributeType: opengis.gml.smil.AttributeType
def additive: opengis.gml.smil.Additive
def accumulate: opengis.gml.smil.Accumulate
def to: Option[String]
def from: Option[String]
def by: Option[String]
def values: Option[String]
}
case class AnimatePrototype(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AnimatePrototypable {
lazy val attributeName = attributes("@attributeName").as[String]
lazy val attributeType = attributes("@attributeType").as[AttributeType]
lazy val additive = attributes("@additive").as[Additive]
lazy val accumulate = attributes("@accumulate").as[Accumulate]
lazy val to = attributes.get("@to") map { _.as[String]}
lazy val from = attributes.get("@from") map { _.as[String]}
lazy val by = attributes.get("@by") map { _.as[String]}
lazy val values = attributes.get("@values") map { _.as[String]}
}
sealed trait AttributeType
object AttributeType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.AttributeType]): AttributeType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: AttributeType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[AttributeType] = Seq(XML, CSS, AutoValue2)
}
case object XML extends AttributeType { override def toString = "XML" }
case object CSS extends AttributeType { override def toString = "CSS" }
case object AutoValue2 extends AttributeType { override def toString = "auto" }
sealed trait Additive
object Additive {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.Additive]): Additive = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: Additive) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[Additive] = Seq(Replace, Sum)
}
case object Replace extends Additive { override def toString = "replace" }
case object Sum extends Additive { override def toString = "sum" }
sealed trait Accumulate
object Accumulate {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.Accumulate]): Accumulate = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: Accumulate) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[Accumulate] = Seq(NoneType, SumValue)
}
case object NoneType extends Accumulate { override def toString = "none" }
case object SumValue extends Accumulate { override def toString = "sum" }
sealed trait CalcMode
object CalcMode {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.CalcMode]): CalcMode = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: CalcMode) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[CalcMode] = Seq(Discrete, Linear, Paced)
}
case object Discrete extends CalcMode { override def toString = "discrete" }
case object Linear extends CalcMode { override def toString = "linear" }
case object Paced extends CalcMode { override def toString = "paced" }
trait AnimateMotionPrototypable {
def additive: opengis.gml.smil.Additive
def accumulate: opengis.gml.smil.Accumulate
def to: Option[String]
def from: Option[String]
def by: Option[String]
def values: Option[String]
def origin: Option[String]
}
case class AnimateMotionPrototype(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AnimateMotionPrototypable {
lazy val additive = attributes("@additive").as[Additive]
lazy val accumulate = attributes("@accumulate").as[Accumulate]
lazy val to = attributes.get("@to") map { _.as[String]}
lazy val from = attributes.get("@from") map { _.as[String]}
lazy val by = attributes.get("@by") map { _.as[String]}
lazy val values = attributes.get("@values") map { _.as[String]}
lazy val origin = attributes.get("@origin") map { _.as[String]}
}
trait AnimateColorPrototypable {
def attributeName: String
def attributeType: opengis.gml.smil.AttributeType
def additive: opengis.gml.smil.Additive
def accumulate: opengis.gml.smil.Accumulate
def to: Option[String]
def from: Option[String]
def by: Option[String]
def values: Option[String]
}
case class AnimateColorPrototype(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends AnimateColorPrototypable {
lazy val attributeName = attributes("@attributeName").as[String]
lazy val attributeType = attributes("@attributeType").as[AttributeType]
lazy val additive = attributes("@additive").as[Additive]
lazy val accumulate = attributes("@accumulate").as[Accumulate]
lazy val to = attributes.get("@to") map { _.as[String]}
lazy val from = attributes.get("@from") map { _.as[String]}
lazy val by = attributes.get("@by") map { _.as[String]}
lazy val values = attributes.get("@values") map { _.as[String]}
}
trait SetPrototypable {
def attributeName: String
def attributeType: opengis.gml.smil.AttributeType
def to: Option[String]
}
case class SetPrototype(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends SetPrototypable {
lazy val attributeName = attributes("@attributeName").as[String]
lazy val attributeType = attributes("@attributeType").as[AttributeType]
lazy val to = attributes.get("@to") map { _.as[String]}
}
sealed trait SyncBehaviorType
object SyncBehaviorType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.SyncBehaviorType]): SyncBehaviorType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: SyncBehaviorType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[SyncBehaviorType] = Seq(CanSlipValue, LockedValue, IndependentValue, Default)
}
case object CanSlipValue extends SyncBehaviorType { override def toString = "canSlip" }
case object LockedValue extends SyncBehaviorType { override def toString = "locked" }
case object IndependentValue extends SyncBehaviorType { override def toString = "independent" }
case object Default extends SyncBehaviorType { override def toString = "default" }
sealed trait SyncBehaviorDefaultType
object SyncBehaviorDefaultType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.SyncBehaviorDefaultType]): SyncBehaviorDefaultType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: SyncBehaviorDefaultType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[SyncBehaviorDefaultType] = Seq(CanSlip, Locked, Independent, InheritValue2)
}
case object CanSlip extends SyncBehaviorDefaultType { override def toString = "canSlip" }
case object Locked extends SyncBehaviorDefaultType { override def toString = "locked" }
case object Independent extends SyncBehaviorDefaultType { override def toString = "independent" }
case object InheritValue2 extends SyncBehaviorDefaultType { override def toString = "inherit" }
sealed trait RestartTimingType
object RestartTimingType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.RestartTimingType]): RestartTimingType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: RestartTimingType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[RestartTimingType] = Seq(NeverValue, AlwaysValue, WhenNotActiveValue, DefaultValue)
}
case object NeverValue extends RestartTimingType { override def toString = "never" }
case object AlwaysValue extends RestartTimingType { override def toString = "always" }
case object WhenNotActiveValue extends RestartTimingType { override def toString = "whenNotActive" }
case object DefaultValue extends RestartTimingType { override def toString = "default" }
sealed trait RestartDefaultType
object RestartDefaultType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.RestartDefaultType]): RestartDefaultType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: RestartDefaultType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[RestartDefaultType] = Seq(Never, Always, WhenNotActive, InheritValue)
}
case object Never extends RestartDefaultType { override def toString = "never" }
case object Always extends RestartDefaultType { override def toString = "always" }
case object WhenNotActive extends RestartDefaultType { override def toString = "whenNotActive" }
case object InheritValue extends RestartDefaultType { override def toString = "inherit" }
sealed trait FillTimingAttrsType
object FillTimingAttrsType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.FillTimingAttrsType]): FillTimingAttrsType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: FillTimingAttrsType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[FillTimingAttrsType] = Seq(RemoveValue, FreezeValue, HoldValue, AutoValue, DefaultValue2, TransitionValue)
}
case object RemoveValue extends FillTimingAttrsType { override def toString = "remove" }
case object FreezeValue extends FillTimingAttrsType { override def toString = "freeze" }
case object HoldValue extends FillTimingAttrsType { override def toString = "hold" }
case object AutoValue extends FillTimingAttrsType { override def toString = "auto" }
case object DefaultValue2 extends FillTimingAttrsType { override def toString = "default" }
case object TransitionValue extends FillTimingAttrsType { override def toString = "transition" }
sealed trait FillDefaultType
object FillDefaultType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.gml.smil.FillDefaultType]): FillDefaultType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: FillDefaultType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[FillDefaultType] = Seq(Remove, Freeze, Hold, Auto, Inherit, Transition)
}
case object Remove extends FillDefaultType { override def toString = "remove" }
case object Freeze extends FillDefaultType { override def toString = "freeze" }
case object Hold extends FillDefaultType { override def toString = "hold" }
case object Auto extends FillDefaultType { override def toString = "auto" }
case object Inherit extends FillDefaultType { override def toString = "inherit" }
case object Transition extends FillDefaultType { override def toString = "transition" }
case class MinMaxTimingAttrs(min: Option[String] = None,
max: Option[String] = None)
case class RepeatTimingAttrs(repeatDur: Option[String] = None,
repeatCount: Option[BigDecimal] = None)
case class BeginEndTimingAttrs(begin: Option[String] = None,
end: Option[String] = None)
case class FillTimingAttrs(fill: opengis.gml.smil.FillTimingAttrsType)
case class RestartTimingAttrs(restart: opengis.gml.smil.RestartTimingType)
case class SyncBehaviorAttrs(syncBehavior: opengis.gml.smil.SyncBehaviorType,
syncTolerance: Option[String] = None)
case class AnimTargetAttrs(targetElement: Option[String] = None)
case class AnimValuesAttrs(to: Option[String] = None,
from: Option[String] = None,
by: Option[String] = None,
values: Option[String] = None)
case class AnimNamedTargetAttrs(attributeName: String,
attributeType: opengis.gml.smil.AttributeType)
case class SkipContentAttrs(skipu45content: Boolean)
case class StructureModuleAttrs(id: Option[String] = None,
classValue: Option[String] = None,
xmllang: Option[String] = None)
case class AlternateContentAttrs(alt: Option[String] = None,
longdesc: Option[java.net.URI] = None)
case class AnimAddAccumAttrs(additive: opengis.gml.smil.Additive,
accumulate: opengis.gml.smil.Accumulate)
case class AnimSetValuesAttrs(to: Option[String] = None)
case class AnimModeAttrs(calcMode: opengis.gml.smil.CalcMode)
case class SyncBehaviorDefaultAttrs(syncBehaviorDefault: opengis.gml.smil.SyncBehaviorDefaultType,
syncToleranceDefault: String)
case class RestartDefaultAttrs(restartDefault: opengis.gml.smil.RestartDefaultType)
case class FillDefaultAttrs(fillDefault: opengis.gml.smil.FillDefaultType)
case class DurTimingAttrs(dur: Option[String] = None)
case class DeprecatedRepeatTiming(repeat: Option[BigInt] = None)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy