
sbt-scalaxb.opengis.wmts.wmtsKVP.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.wmts
/**
This XML Schema Document defines XML WMTS GetTile
request that can be used in SOAP encodings.
WMTS is an OGC Standard.
Copyright (c) 2009,2010 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/.
*/
sealed trait RequestServiceType
object RequestServiceType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.wmts.RequestServiceType]): RequestServiceType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: RequestServiceType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[RequestServiceType] = Seq(WMTS)
}
case object WMTS extends RequestServiceType { override def toString = "WMTS" }
sealed trait VersionType
object VersionType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.wmts.VersionType]): VersionType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: VersionType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[VersionType] = Seq(Number1u460u460)
}
case object Number1u460u460 extends VersionType { override def toString = "1.0.0" }
sealed trait GetCapabilitiesValueType
object GetCapabilitiesValueType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.wmts.GetCapabilitiesValueType]): GetCapabilitiesValueType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: GetCapabilitiesValueType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[GetCapabilitiesValueType] = Seq(GetCapabilitiesValue)
}
case object GetCapabilitiesValue extends GetCapabilitiesValueType { override def toString = "GetCapabilities" }
sealed trait GetTileValueType
object GetTileValueType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.wmts.GetTileValueType]): GetTileValueType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: GetTileValueType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[GetTileValueType] = Seq(GetTileValue)
}
case object GetTileValue extends GetTileValueType { override def toString = "GetTile" }
sealed trait GetFeatureInfoValueType
object GetFeatureInfoValueType {
def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.wmts.GetFeatureInfoValueType]): GetFeatureInfoValueType = fmt.reads(scala.xml.Text(value), Nil) match {
case Right(x: GetFeatureInfoValueType) => x
case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
}
lazy val values: Seq[GetFeatureInfoValueType] = Seq(GetFeatureInfoValue)
}
case object GetFeatureInfoValue extends GetFeatureInfoValueType { override def toString = "GetFeatureInfo" }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy