All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sbt-scalaxb.opengis.se.common.scala Maven / Gradle / Ivy

Go to download

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.se


/** 
      SE COMMON ELEMENTS version 1.1.0 (2010-02-01)
      
      Symbology Encoding is an OGC Standard.
      Copyright (c) 2005,2010 Open Geospatial Consortium.
      To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
		
*/

sealed trait VersionType

object VersionType {
  def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.se.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(Number1u461u460)
}

case object Number1u461u460 extends VersionType { override def toString = "1.1.0" }


case class DescriptionType(Title: Option[String] = None,
  AbstractValue: Option[String] = None)
      
      


case class OnlineResourceType(attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends ExternalGraphicTypeOption with MarkTypeOption2 with FeatureTypeStyleTypeOption with CoverageStyleTypeOption {
  lazy val xlinktype = attributes("@{http://www.w3.org/1999/xlink}type").as[xlink.TypeType]
  lazy val xlinkhref = attributes.get("@{http://www.w3.org/1999/xlink}href") map { _.as[java.net.URI]}
  lazy val xlinkrole = attributes.get("@{http://www.w3.org/1999/xlink}role") map { _.as[java.net.URI]}
  lazy val xlinkarcrole = attributes.get("@{http://www.w3.org/1999/xlink}arcrole") map { _.as[java.net.URI]}
  lazy val xlinktitle = attributes.get("@{http://www.w3.org/1999/xlink}title") map { _.as[String]}
  lazy val xlinkshow = attributes.get("@{http://www.w3.org/1999/xlink}show") map { _.as[xlink.ShowType]}
  lazy val xlinkactuate = attributes.get("@{http://www.w3.org/1999/xlink}actuate") map { _.as[xlink.ActuateType]}
}

      
      

sealed trait Encoding

object Encoding {
  def fromString(value: String, scope: scala.xml.NamespaceBinding)(implicit fmt: scalaxb.XMLFormat[opengis.se.Encoding]): Encoding = fmt.reads(scala.xml.Text(value), Nil) match {
    case Right(x: Encoding) => x
    case x => throw new RuntimeException(s"fromString returned unexpected value $x for input $value")
  }
  lazy val values: Seq[Encoding] = Seq(Xml, Base64)
}

case object Xml extends Encoding { override def toString = "xml" }
case object Base64 extends Encoding { override def toString = "base64" }


case class InlineContentType(mixed: Seq[scalaxb.DataRecord[Any]] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]] = Map.empty) extends ExternalGraphicTypeOption with MarkTypeOption2 {
  lazy val encoding = attributes("@encoding").as[Encoding]
}

      
      





© 2015 - 2025 Weber Informatics LLC | Privacy Policy