Renderers

com.phasmidsoftware.xmldoc.render.Renderers
See theRenderers companion object
trait Renderers

Trait which defines generic and standard renderers.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AbstractView
object Alias
object Altitude
object AltitudeMode
object AxisScale
object BalloonStyle
object BgColor
object Camera
object Color
object ColorMode
object ColorModeEnum
object ColorStyle
object Container
object ContainerData
object Coordinates
object Data
object DisplayMode
object Document
object DrawOrder
object ExtendedData
object Extrude
object Feature
object FeatureData
object Fill
object FlyToView
object Folder
object Geometry
object GeometryData
object GroundOverlay
object Heading
object HotSpot
object Icon
object IconStyle
object ImagePyramid
object ItemIcon
object KML
object Key
object KmlData
object KmlRenderers
object LabelStyle
object LatLonBox
object Latitude
object LineString
object LineStyle
object LinearRing
object Link
object ListItemType
object ListStyle
object Location
object Longitude
object LookAt
object Model
object ModelScale
object MultiGeometry
object NetworkLink
object Open
object Orientation
object Outline
object Overlay
object OverlayData
object OverlayXY
object Pair
object PhotoOverlay
object Placemark
object Point
object PolyStyle
object Polygon
object Range
object RefreshMode
object ResourceMap
object Roll
object Rotation
object RotationXY
object Scale
object SchemaData
object ScreenOverlay
object ScreenXY
object Shape
object ShapeEnum
object SimpleData
object Size
object State
object Style
object StyleSelector
object StyleURL
object SubStyle
object SubStyleData
object Tessellate
object TextColor
object Tilt
object UnitsEnum
object ViewVolume
object Visibility
object Width
Show all

Members list

Value members

Concrete methods

def optionRenderer[R : Renderer]: Renderer[Option[R]]

Creates a Renderer instance for an Option container type.

Creates a Renderer instance for an Option container type.

This method lifts the functionality of an existing (implicit) Renderer for a type R to handle Option[R], allowing rendering of optional values by delegating to the Renderer of the underlying type R.

Type parameters

R

the underlying type, which must provide evidence of Renderer[R].

Attributes

Returns

A Renderer for the Option wrapper of type R

def renderer0[R <: Product : ClassTag]: Renderer[R]

Method to create a renderer for a case class with no members, or a case object.

Method to create a renderer for a case class with no members, or a case object.

Type parameters

R

the type of Renderer to be returned (must be a Product).

Attributes

Returns

a Renderer[R].

def renderer0Super[B : Renderer, R <: Product : ClassTag](construct: B => R)(lens: R => B): Renderer[R]

Alternative method to create a renderer for a Product (e.g., case class) with one member but also an auxiliary object in a second parameter set.

Alternative method to create a renderer for a Product (e.g., case class) with one member but also an auxiliary object in a second parameter set.

CONSIDER rename each of theses renderXSuper methods to renderXAux.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function which takes a P0 and yields a function of B => R (this is usually the apply method of a case class that has a second parameter set with one parameter of type B).

Attributes

Returns

a Renderer[R].

def renderer1[P0 : Renderer, R <: Product : ClassTag](ignored: P0 => R): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with one member.

Method to create a renderer for a Product (e.g., case class) with one member.

Type parameters

P0

the (Renderer) type of the (single) member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

ignored

(unused) a function which takes a P0 and yields an R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer1Special[P0 : Renderer, R <: Product : ClassTag](ignored: P0 => R, prefix: String): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with one member.

Method to create a renderer for a Product (e.g., case class) with one member.

Type parameters

P0

the (Renderer) type of the (single) member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

ignored

(unused) a function which takes a P0 and yields an R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer1Super[B : Renderer, P0 : Renderer, R <: Product : ClassTag](construct: P0 => B => R)(lens: R => B): Renderer[R]

Alternative method to create a renderer for a Product (e.g., case class) with one member but also an auxiliary object in a second parameter set.

Alternative method to create a renderer for a Product (e.g., case class) with one member but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the (single) member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function which takes a P0 and yields a function of B => R (this is usually the apply method of a case class that has a second parameter set with one parameter of type B).

Attributes

Returns

a Renderer[R].

def renderer2[P0 : Renderer, P1 : Renderer, R <: Product : ClassTag](construct: (P0, P1) => R): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with two members.

Method to create a renderer for a Product (e.g., case class) with two members.

Type parameters

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

R

the underlying type of the Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer2Super[B : Renderer, P0 : Renderer, P1 : Renderer, R <: Product : ClassTag](construct: (P0, P1) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with two members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with two members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer3[P0 : Renderer, P1 : Renderer, P2 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2) => R): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with three members.

Method to create a renderer for a Product (e.g., case class) with three members.

Type parameters

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

R

the underlying type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer3Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with three members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with three members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer4[P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3) => R): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with four members.

Method to create a renderer for a Product (e.g., case class) with four members.

Type parameters

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

P3

the (Renderer) type of the fourth member of Product type R.

R

the underlying type of the Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3) => R (this is usually the apply method of a case class).

Attributes

Returns

Renderer[R].

def renderer4Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with four members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with four members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

P3

the (Renderer) type of the fourth member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer5[P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => R): Renderer[R]

Provides a renderer for a product type with five elements. Uses the provided constructor to render the product type by handling recursive states and formatting.

Provides a renderer for a product type with five elements. Uses the provided constructor to render the product type by handling recursive states and formatting.

Type parameters

P0

The type of the first element in the product type, which must have an implicit Renderer instance provided.

P1

The type of the second element in the product type, which must have an implicit Renderer instance provided.

P2

The type of the third element in the product type, which must have an implicit Renderer instance provided.

P3

The type of the fourth element in the product type, which must have an implicit Renderer instance provided.

P4

The type of the fifth element in the product type, which must have an implicit Renderer instance provided.

R

The product type being rendered. It must extend Product and have an implicit ClassTag.

Value parameters

construct

A function that takes five parameters of types P0, P1, P2, P3, P4 and constructs an instance of the product type R.

Attributes

Returns

A Renderer instance for the product type R.

def renderer5Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with five members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with five members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

P3

the (Renderer) type of the fourth member of Product type R.

P4

the (Renderer) type of the fifth member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3, P4) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer6[P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => R): Renderer[R]

Creates a Renderer for a product type R with six type parameters.

Creates a Renderer for a product type R with six type parameters.

Type parameters

P0

The type of the first parameter to the constructor.

P1

The type of the second parameter to the constructor.

P2

The type of the third parameter to the constructor.

P3

The type of the fourth parameter to the constructor.

P4

The type of the fifth parameter to the constructor.

P5

The type of the sixth parameter to the constructor.

R

The resulting product type that can be constructed by the construct function.

Value parameters

construct

A function that takes six parameters of types P0, P1, P2, P3, P4, P5 and constructs an instance of type R.

Attributes

Returns

A Renderer for the product type R that renders objects of this type based on its six components and their respective renderers.

def renderer6Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with six members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with six members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

P3

the (Renderer) type of the fourth member of Product type R.

P4

the (Renderer) type of the fifth member of Product type R.

P5

the (Renderer) type of the sixth member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3, P4, P5) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer7[P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, P6 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => R): Renderer[R]

Creates a Renderer instance for a product type with seven elements, where all elements have associated Renderers.

Creates a Renderer instance for a product type with seven elements, where all elements have associated Renderers.

Type parameters

P0

The type of the first element, which must have a Renderer instance available.

P1

The type of the second element, which must have a Renderer instance available.

P2

The type of the third element, which must have a Renderer instance available.

P3

The type of the fourth element, which must have a Renderer instance available.

P4

The type of the fifth element, which must have a Renderer instance available.

P5

The type of the sixth element, which must have a Renderer instance available.

P6

The type of the seventh element, which must have a Renderer instance available.

R

The resulting product type, constrained to be a subclass of Product and require a ClassTag.

Value parameters

construct

A function that takes seven parameters of types P0, P1, P2, P3, P4, P5, and P6, and constructs an instance of type R.

Attributes

Returns

A Renderer instance that can render objects of type R, utilizing the provided construct function and the Renderers for each corresponding parameter type.

def renderer7Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, P6 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with seven members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with seven members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

P3

the (Renderer) type of the fourth member of Product type R.

P4

the (Renderer) type of the fifth member of Product type R.

P5

the (Renderer) type of the sixth member of Product type R.

P6

the (Renderer) type of the seventh member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3, P4, P5, P6) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer8[P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, P6 : Renderer, P7 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7) => R): Renderer[R]

Creates a Renderer instance for a product type with eight elements, where all elements have associated Renderers.

Creates a Renderer instance for a product type with eight elements, where all elements have associated Renderers.

Type parameters

P0

The type of the first element, which must have a Renderer instance available.

P1

The type of the second element, which must have a Renderer instance available.

P2

The type of the third element, which must have a Renderer instance available.

P3

The type of the fourth element, which must have a Renderer instance available.

P4

The type of the fifth element, which must have a Renderer instance available.

P5

The type of the sixth element, which must have a Renderer instance available.

P6

The type of the seventh element, which must have a Renderer instance available.

P7

The type of the eighth element, which must have a Renderer instance available.

R

The resulting product type, constrained to be a subclass of Product and require a ClassTag.

Value parameters

construct

A function that takes eight parameters of types P0, P1, P2, P3, P4, P5, P6, and P7, and constructs an instance of type R.

Attributes

Returns

A Renderer instance that can render objects of type R, utilizing the provided construct function and the Renderers for each corresponding parameter type.

def renderer8Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, P6 : Renderer, P7 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with eight members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with eight members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

P0

the (Renderer) type of the first member of Product type R.

P1

the (Renderer) type of the second member of Product type R.

P2

the (Renderer) type of the third member of Product type R.

P3

the (Renderer) type of the fourth member of Product type R.

P4

the (Renderer) type of the fifth member of Product type R.

P5

the (Renderer) type of the sixth member of Product type R.

P6

the (Renderer) type of the seventh member of Product type R.

P7

the (Renderer) type of the eighth member of Product type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3, P4, P5, P6, P7) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def renderer9[P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, P6 : Renderer, P7 : Renderer, P8 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7, P8) => R): Renderer[R]

Creates a Renderer instance for a product type with nine elements, where all elements have associated Renderers.

Creates a Renderer instance for a product type with nine elements, where all elements have associated Renderers.

Type parameters

R

The resulting product type, constrained to be a subclass of Product and require a ClassTag.

Value parameters

construct

A function that takes nine parameters of types P0..P8, and constructs an instance of type R.

Attributes

Returns

A Renderer instance that can render objects of type R, utilizing the provided construct function and the Renderers for each corresponding parameter type.

def renderer9Super[B : Renderer, P0 : Renderer, P1 : Renderer, P2 : Renderer, P3 : Renderer, P4 : Renderer, P5 : Renderer, P6 : Renderer, P7 : Renderer, P8 : Renderer, R <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7, P8) => B => R)(lens: R => B): Renderer[R]

Method to create a renderer for a Product (e.g., case class) with nine members but also an auxiliary object in a second parameter set.

Method to create a renderer for a Product (e.g., case class) with nine members but also an auxiliary object in a second parameter set.

Type parameters

B

the (Renderer) type of the auxiliary object of type R.

R

the type of Renderer to be returned (must be a Product).

Value parameters

construct

a function (P0, P1, P2, P3, P4, P5, P6, P7, P8) => R (this is usually the apply method of a case class).

Attributes

Returns

a Renderer[R].

def rendererSuper1[T : ClassTag, R0 <: T : Renderer : ClassTag]: Renderer[T]

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for one subtype of T (R0).

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for one subtype of T (R0).

Type parameters

R0

one subtype of T.

T

the super-type and the underlying type of the result.

Attributes

Returns

a Renderer[T].

def rendererSuper2[T : ClassTag, R0 <: T : Renderer : ClassTag, R1 <: T : Renderer : ClassTag]: Renderer[T]

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for two subtypes of T (R0 or R1).

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for two subtypes of T (R0 or R1).

Type parameters

R0

one subtype of T.

R1

another subtype of T.

T

the super-type and the underlying type of the result.

Attributes

Returns

a Renderer[T].

def rendererSuper3[T : ClassTag, R0 <: T : Renderer : ClassTag, R1 <: T : Renderer : ClassTag, R2 <: T : Renderer : ClassTag]: Renderer[T]

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for three subtypes of T (R0, R1, or R2).

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for three subtypes of T (R0, R1, or R2).

Type parameters

R0

one subtype of T.

R1

another subtype of T.

R2

another subtype of T.

T

the super-type and the underlying type of the result.

Attributes

Returns

a Renderer[T].

def rendererSuper4[T : ClassTag, R0 <: T : Renderer : ClassTag, R1 <: T : Renderer : ClassTag, R2 <: T : Renderer : ClassTag, R3 <: T : Renderer : ClassTag]: Renderer[T]

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for four subtypes of T (R0, R1, R2, or R3).

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for four subtypes of T (R0, R1, R2, or R3).

Type parameters

R0

one subtype of T.

R1

another subtype of T.

R2

another subtype of T.

R3

another subtype of T.

T

the super-type and the underlying type of the result.

Attributes

Returns

a Renderer[T].

def rendererSuper5[T : ClassTag, R0 <: T : Renderer : ClassTag, R1 <: T : Renderer : ClassTag, R2 <: T : Renderer : ClassTag, R3 <: T : Renderer : ClassTag, R4 <: T : Renderer : ClassTag]: Renderer[T]

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for five subtypes of T (R0, R1, R2, R3, or R4).

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for five subtypes of T (R0, R1, R2, R3, or R4).

Type parameters

R0

one subtype of T.

R1

another subtype of T.

R2

another subtype of T.

R3

another subtype of T.

R4

another subtype of T.

T

the super-type and the underlying type of the result.

Attributes

Returns

a Renderer[T].

def rendererSuper6[T : ClassTag, R0 <: T : Renderer : ClassTag, R1 <: T : Renderer : ClassTag, R2 <: T : Renderer : ClassTag, R3 <: T : Renderer : ClassTag, R4 <: T : Renderer : ClassTag, R5 <: T : Renderer : ClassTag]: Renderer[T]

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for six subtypes of T (R0, R1, R2, R3, R4, or R5).

Method to yield a Renderer[T] such that the rendering can be performed according to the renderables for six subtypes of T (R0, R1, R2, R3, R4, or R5).

Type parameters

R0

one subtype of T.

R1

another subtype of T.

R2

another subtype of T.

R3

another subtype of T.

R4

another subtype of T.

R5

another subtype of T.

T

the super-type and the underlying type of the result.

Attributes

Returns

a Renderer[T].

def sequenceRenderer[R : Renderer]: Renderer[Seq[R]]

Method to return a Renderer of Seq[R].

Method to return a Renderer of Seq[R].

NOTE: each element renders under its own type's name (no name override) - this is what's wanted for a polymorphic Seq (e.g. Seq[Geometry], mixing Point/LineString/Polygon/...), where every element's own distinct tag must be preserved. For a homogeneous Seq of a single, non-polymorphic type whose class name doesn't match its real tag (e.g. InnerBoundaryIs vs. the tag "innerBoundaryIs"), use sequenceRendererNamed instead.

Type parameters

R

the underlying element type.

Attributes

Returns

a Renderer of Seq[R].

def sequenceRendererFormatted[R : Renderer : ClassTag](formatFunc: Int => Format): Renderer[Seq[R]]

Method to return a Renderer of Seq[R] with a pre-defined format.

Method to return a Renderer of Seq[R] with a pre-defined format.

NOTE This is required for allowing a format to take precedence over the format parameter passed into the render method.

Type parameters

R

the underlying type to be rendered.

Value parameters

formatFunc

a function which, given the current state of indents, yields the required format to pass into doRenderSequence.

Attributes

Returns

a Renderer of Seq[R].

def sequenceRendererNamed[R : Renderer](name: String): Renderer[Seq[R]]

Method to return a Renderer of Seq[R] where every element is rendered under the same, explicitly-given name, regardless of the calling context - unlike sequenceRenderer, which lets each element use its own type's name (correct for a polymorphic Seq, but wrong when a single type's class name doesn't match its actual KML tag).

Method to return a Renderer of Seq[R] where every element is rendered under the same, explicitly-given name, regardless of the calling context - unlike sequenceRenderer, which lets each element use its own type's name (correct for a polymorphic Seq, but wrong when a single type's class name doesn't match its actual KML tag).

Type parameters

R

the underlying element type.

Value parameters

name

the tag name every element of the sequence should be rendered under.

Attributes

Returns

a Renderer of Seq[R].