
sbt-scalaxb.opengis.ogc.sort.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.ogc
case class SortByType(SortProperty: Seq[opengis.ogc.SortPropertyType] = Nil)
case class SortPropertyType(PropertyName: opengis.ogc.PropertyNameType,
SortOrder: Option[opengis.ogc.SortOrderType] = None)
sealed trait SortOrderType
object SortOrderType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.ogc.SortOrderType]): SortOrderType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: SortOrderType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[SortOrderType] = Seq(DESC, ASC)
}
case object DESC extends SortOrderType { override def toString = "DESC" }
case object ASC extends SortOrderType { override def toString = "ASC" }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy