Link

com.phasmidsoftware.xmldoc.kml.Link
See theLink companion class
object Link extends Extractors, Renderers

Companion object for the Link case class, providing extractors and renderers for Link and Option[Link].

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait Renderers
trait Extractors
class Object
trait Matchable
class Any
Show all
Self type
Link.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Inherited methods

def extractor0[T : ClassTag](construct: Unit => T): Extractor[T]

Extractor which will convert an Xml Node (which is ignored) into an instance of a case object or case class. NOTE that you will have to specify a lambda for the construct function.

Extractor which will convert an Xml Node (which is ignored) into an instance of a case object or case class. NOTE that you will have to specify a lambda for the construct function.

Type parameters

T

the underlying type of the result, a Product.

Value parameters

construct

a function () => T, usually the apply method of a case object or zero-member case class.

Attributes

Returns

an Extractor[T] whose method extract will construct a T while ignoring the input Node.

Inherited from:
Extractors
def extractor01[P0 : MultiExtractor, T <: Product : ClassTag](construct: P0 => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with one member.

Extractor which will convert an Xml Node into an instance of a case class with one member.

Type parameters

P0

the (MultiExtractor-enabled) type of the first (only) member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0) => T, usually the apply method of a case class.

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor02[P0 : MultiExtractor, P1 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with two members.

Extractor which will convert an Xml Node into an instance of a case class with two members.

TESTME

Type parameters

P0

the (MultiExtractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor03[P0 : MultiExtractor, P1 : MultiExtractor, P2 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with three members.

Extractor which will convert an Xml Node into an instance of a case class with three members.

TESTME

Type parameters

P0

the (MultiExtractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

T

the underlying type of the result, a Product with three members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor04[P0 : MultiExtractor, P1 : MultiExtractor, P2 : MultiExtractor, P3 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with four members.

Extractor which will convert an Xml Node into an instance of a case class with four members.

TESTME

Type parameters

P0

the (MultiExtractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

T

the underlying type of the result, a Product with four members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor05[P0 : MultiExtractor, P1 : MultiExtractor, P2 : MultiExtractor, P3 : MultiExtractor, P4 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with five members.

Extractor which will convert an Xml Node into an instance of a case class with five members.

TESTME

Type parameters

P0

the (MultiExtractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor06[P0 : MultiExtractor, P1 : MultiExtractor, P2 : MultiExtractor, P3 : MultiExtractor, P4 : MultiExtractor, P5 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

TESTME

Type parameters

P0

the (MultiExtractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor10[P0 : Extractor, T <: Product : ClassTag](construct: P0 => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with one member.

Extractor which will convert an Xml Node into an instance of a case class with one member.

NOTE: this specific extractor provides logging. CONSIDER adding logging to the other extractors.

NOTE on naming P0's corresponding field in T: unless overridden via fields, the field name is matched against the node according to fieldExtractor's convention - a leading underscore (e.g. _id) means "this is an XML attribute", a plain name means "look for a child element of that name". Getting this wrong is a common way for extraction to fail with a MissingFieldException that otherwise looks like a real error in the data.

Type parameters

P0

the (Extractor-enabled) type of the first (only) member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0) => T, usually the apply method of a case class.

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor11[P0 : Extractor, P1 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with two members.

Extractor which will convert an Xml Node into an instance of a case class with two members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor12[P0 : Extractor, P1 : MultiExtractor, P2 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with three members.

Extractor which will convert an Xml Node into an instance of a case class with three members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

T

the underlying type of the result, a Product with three members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor13[P0 : Extractor, P1 : MultiExtractor, P2 : MultiExtractor, P3 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with four members.

Extractor which will convert an Xml Node into an instance of a case class with four members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

T

the underlying type of the result, a Product with four members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor14[P0 : Extractor, P1 : MultiExtractor, P2 : MultiExtractor, P3 : MultiExtractor, P4 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with five members.

Extractor which will convert an Xml Node into an instance of a case class with five members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor15[P0 : Extractor, P1 : MultiExtractor, P2 : MultiExtractor, P3 : MultiExtractor, P4 : MultiExtractor, P5 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with six members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor20[P0 : Extractor, P1 : Extractor, T <: Product : ClassTag](construct: (P0, P1) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with two members.

Extractor which will convert an Xml Node into an instance of a case class with two members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

T

the underlying type of the result, a Product with two members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor21[P0 : Extractor, P1 : Extractor, P2 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with three members.

Extractor which will convert an Xml Node into an instance of a case class with three members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

T

the underlying type of the result, a Product with three members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor22[P0 : Extractor, P1 : Extractor, P2 : MultiExtractor, P3 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with four members.

Extractor which will convert an Xml Node into an instance of a case class with four members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

T

the underlying type of the result, a Product with four members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor23[P0 : Extractor, P1 : Extractor, P2 : MultiExtractor, P3 : MultiExtractor, P4 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with five members.

Extractor which will convert an Xml Node into an instance of a case class with five members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor24[P0 : Extractor, P1 : Extractor, P2 : MultiExtractor, P3 : MultiExtractor, P4 : MultiExtractor, P5 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with six members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor30[P0 : Extractor, P1 : Extractor, P2 : Extractor, T <: Product : ClassTag](construct: (P0, P1, P2) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with three members.

Extractor which will convert an Xml Node into an instance of a case class with three members.

CONSIDER re-implement all similar extractors using extractorPartial30, etc. This can be done but requires turning dropLast to false when invoking extractorPartial30 (which doesn't currently have such a parameter). See the commented code for how this should be done (but with the change mentioned).

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

T

the underlying type of the result, a Product with three members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor31[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with four members.

Extractor which will convert an Xml Node into an instance of a case class with four members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

T

the underlying type of the result, a Product with four members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor32[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : MultiExtractor, P4 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with five members.

Extractor which will convert an Xml Node into an instance of a case class with five members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor33[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : MultiExtractor, P4 : MultiExtractor, P5 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (MultiExtractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with six members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor40[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with four members.

Extractor which will convert an Xml Node into an instance of a case class with four members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

T

the underlying type of the result, a Product with four members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor41[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with five members.

Extractor which will convert an Xml Node into an instance of a case class with five members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor42[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : MultiExtractor, P5 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (MultiExtractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with six members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor50[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with five members.

Extractor which will convert an Xml Node into an instance of a case class with five members.

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product with five members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor51[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : MultiExtractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with six members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor60[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with six members.

Extractor which will convert an Xml Node into an instance of a case class with six members.

TESTME

Type parameters

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (Extractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product with six members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor70[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, P6 : Extractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with seven members.

Extractor which will convert an Xml Node into an instance of a case class with seven members.

Type parameters

T

the underlying type of the result, a Product with seven members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractor80[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, P6 : Extractor, P7 : Extractor, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7) => T, fields: Seq[String] = ...): Extractor[T]

Extractor which will convert an Xml Node into an instance of a case class with eight members.

Extractor which will convert an Xml Node into an instance of a case class with eight members.

Type parameters

T

the underlying type of the result, a Product with eight members.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorAlia3[R, P0 <: R : Extractor, P1 <: R : Extractor, P2 <: R : Extractor]: Extractor[R]

Method to yield an Extractor which can choose from three other extractors. Why is this method not called extractorAlt3? Because I know my Latin ;)

Method to yield an Extractor which can choose from three other extractors. Why is this method not called extractorAlt3? Because I know my Latin ;)

Type parameters

P0

first extractor type.

P1

second extractor type.

P2

third extractor type.

R

result type.

Attributes

Returns

an Extractor[R].

Inherited from:
Extractors
def extractorAlia4[R, P0 <: R : Extractor, P1 <: R : Extractor, P2 <: R : Extractor, P3 <: R : Extractor]: Extractor[R]

Method to yield an Extractor which can choose from four other extractors.

Method to yield an Extractor which can choose from four other extractors.

Type parameters

P0

first extractor type. Required: implicit evidence of type Extractor[P0].

P1

second extractor type. Required: implicit evidence of type Extractor[P1].

P2

third extractor type. Required: implicit evidence of type Extractor[P2].

P3

fourth extractor type. Required: implicit evidence of type Extractor[P3].

R

result type.

Attributes

Returns

an Extractor[R].

Inherited from:
Extractors
def extractorAlia5[R, P0 <: R : Extractor, P1 <: R : Extractor, P2 <: R : Extractor, P3 <: R : Extractor, P4 <: R : Extractor]: Extractor[R]

Method to yield an Extractor which can choose from five other extractors.

Method to yield an Extractor which can choose from five other extractors.

Type parameters

P0

first extractor type. Required: implicit evidence of type Extractor[P0].

P1

second extractor type. Required: implicit evidence of type Extractor[P1].

P2

third extractor type. Required: implicit evidence of type Extractor[P2].

P3

fourth extractor type. Required: implicit evidence of type Extractor[P3].

P4

fifth extractor type. Required: implicit evidence of type Extractor[P4].

R

result type.

Attributes

Returns

an Extractor[R].

Inherited from:
Extractors
def extractorAlia6[R, P0 <: R : Extractor, P1 <: R : Extractor, P2 <: R : Extractor, P3 <: R : Extractor, P4 <: R : Extractor, P5 <: R : Extractor]: Extractor[R]

Method to yield an Extractor which can choose from six other extractors.

Method to yield an Extractor which can choose from six other extractors.

Type parameters

P0

first extractor type. Required: implicit evidence of type Extractor[P0].

P1

second extractor type. Required: implicit evidence of type Extractor[P1].

P2

third extractor type. Required: implicit evidence of type Extractor[P2].

P3

fourth extractor type. Required: implicit evidence of type Extractor[P3].

P4

fifth extractor type. Required: implicit evidence of type Extractor[P4].

P5

sixth extractor type. Required: implicit evidence of type Extractor[P5].

R

result type.

Attributes

Returns

an Extractor[R].

Inherited from:
Extractors
def extractorEnum[P, E <: Enumeration](e: E)(f: String => String): Extractor[P]

Creates an extractor for enumerations by parsing a string into its corresponding Enumeration value. This method invokes parse after reformatting the String to match the enumerated type using the (safe) equivalent of the fromView method.

Creates an extractor for enumerations by parsing a string into its corresponding Enumeration value. This method invokes parse after reformatting the String to match the enumerated type using the (safe) equivalent of the fromView method.

An example of the use of this method is as follows:

object Shapes extends Enumeration with Extractors with Renderers {
val rectangle, cylinder, sphere = Value
implicit val extractor: Extractor[Shapes.Value] = extractorEnum[Value, this.type](this)(s => s.toLowerCase)
implicit val renderer: Renderer[Shapes.Value] = enumObjectRenderer
}

Type parameters

E

is the Enumeration type.

P

is the underlying type of the resulting Extractor.

Value parameters

e

the enumeration type from which the value is extracted

f

a function that transforms the input string before attempting the extraction

Attributes

Returns

an Extractor that performs the extraction of type P from the given string

Inherited from:
Extractors
def extractorIterable[P : Extractor](label: String): Extractor[Iterable[P]]

Method to yield an Extractor which will convert an Xml Node into a sequence of P objects where there is evidence of Extractor[P]. When invoked, the extractor uses extractSequence on a NodeSeq formed from matching label on the given node.

Method to yield an Extractor which will convert an Xml Node into a sequence of P objects where there is evidence of Extractor[P]. When invoked, the extractor uses extractSequence on a NodeSeq formed from matching label on the given node.

NOTE This method is used to create an extractor that will extract an Iterable from a Node, whereas we use MultiExtractor to extract an Iterable from a NodeSeq.

CONSIDER there must be an alternative to this code.

Type parameters

P

the underlying type of the result. Required: implicit evidence of type Extractor[P].

Value parameters

label

the label of each of the child nodes to be extracted.

Attributes

Returns

an Extractor of Iterable[P].

Inherited from:
Extractors
def extractorOption[P : Extractor]: Extractor[Option[P]]

Transforms an Extractor for a type P into an Extractor for Option[P].

Transforms an Extractor for a type P into an Extractor for Option[P].

Attributes

Returns

An Extractor that can extract an Option[P], which will contain a value if extraction for type P succeeds or be None if it fails.

Inherited from:
Extractors
def extractorPartial[B <: Product : Extractor, T : ClassTag](extractorBtoT: Extractor[B => T]): Extractor[T]

Method to yield an Extractor[T] where we have an Extractor[B => T]. This will occur when we have a case class with an additional parameter set including one parameter of type B.

Method to yield an Extractor[T] where we have an Extractor[B => T]. This will occur when we have a case class with an additional parameter set including one parameter of type B.

CONSIDER rename this (compose? or extractorCompose?) and couldn't it go inside Extractor?

CONSIDER inverting the parametric types so that the resulting type (T) is first.

Type parameters

B

the type of the value in the additional parameter set of T, for which there must be evidence of Extractor[B].

T

the underlying type of the resulting extractor.

Value parameters

extractorBtoT

an extractor for the type B => T.

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a T.

Inherited from:
Extractors
def extractorPartial0[B, T <: Product : ClassTag](construct: B => T): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with zero members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with zero members and one auxiliary (non-member) parameter.

NOTE: the construct function will have to be an explicitly declared function of the form: B => T. This is because the compiler gets a little confused, otherwise.

Type parameters

B

the type of the value in the additional parameter set of T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function B => T, an explicitly declared function.

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial01[P0 : MultiExtractor, B, T <: Product : ClassTag](construct: P0 => B => T, fields: Seq[String] = ...): Extractor[B => T]

Creates an extractor that constructs an instance of type T from a node in an abstract syntax tree.

Creates an extractor that constructs an instance of type T from a node in an abstract syntax tree.

Type parameters

B

the input type required to produce the final result of type T

P0

the type of the extracted input that serves as the first parameter for construct

T

the resulting type produced by the extractor

Value parameters

construct

a function that takes an extracted parameter of type P0 and returns a function that takes an argument of type B and produces an instance of type T

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an extractor function that takes a Node and returns a function of type B => T

Inherited from:
Extractors
def extractorPartial10[P0 : Extractor, B, T <: Product : ClassTag](construct: P0 => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with one member and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with one member and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first (only) member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0) => B => T, usually the apply method of a case class.

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial11[P0 : Extractor, P1 : MultiExtractor, B, T <: Product : ClassTag](construct: (P0, P1) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with two members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with two members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (MultiExtractor-enabled) type of the second member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0, P1) => B => T, usually the apply method of a case class.

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial20[P0 : Extractor, P1 : Extractor, B, T <: Product : ClassTag](construct: (P0, P1) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with two members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with two members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0, P1) => B => T, usually the apply method of a case class.

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial21[P0 : Extractor, P1 : Extractor, P2 : MultiExtractor, B, T <: Product : ClassTag](construct: (P0, P1, P2) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with three members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with three members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (MultiExtractor-enabled) type of the third member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0, P1, P2) => B => T, usually the apply method of a case class.

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial30[P0 : Extractor, P1 : Extractor, P2 : Extractor, B, T <: Product : ClassTag](construct: (P0, P1, P2) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with three members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with three members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0, P1, P2) => B => T, usually the apply method of a case class.

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial40[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with four members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with four members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

a function (P0, P1, P2, P3) => B => T, usually the apply method of a case class.

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[B => T] whose method extract will convert a Node into a Try[B => T].

Inherited from:
Extractors
def extractorPartial50[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with five members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with five members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the value in the additional parameter set of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorPartial52[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : MultiExtractor, P6 : MultiExtractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with seven members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with seven members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the non-member parameter of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (MultiExtractor-enabled) type of the sixth member of the Product type T.

P6

the (MultiExtractor-enabled) type of the seventh member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorPartial60[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with six members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with six members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the non-member parameter of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (Extractor-enabled) type of the sixth member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorPartial61[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, P6 : MultiExtractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with seven members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with seven members and one auxiliary (non-member) parameter.

TESTME

Type parameters

B

the type of the non-member parameter of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (Extractor-enabled) type of the sixth member of the Product type T.

P6

the (MultiExtractor-enabled) type of the seventh member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorPartial62[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, P6 : MultiExtractor, P7 : MultiExtractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with eight members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with eight members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the non-member parameter of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (Extractor-enabled) type of the sixth member of the Product type T.

P6

the (MultiExtractor-enabled) type of the seventh member of the Product type T.

P7

the (MultiExtractor-enabled) type of the eighth member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorPartial70[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, P6 : Extractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with seven members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with seven members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the non-member parameter of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (Extractor-enabled) type of the sixth member of the Product type T.

P6

the (Extractor-enabled) type of the seventh member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def extractorPartial72[P0 : Extractor, P1 : Extractor, P2 : Extractor, P3 : Extractor, P4 : Extractor, P5 : Extractor, P6 : Extractor, P7 : MultiExtractor, P8 : MultiExtractor, B, T <: Product : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6, P7, P8) => B => T, fields: Seq[String] = ...): Extractor[B => T]

Extractor which will convert an Xml Node into an instance of a case class with nine members and one auxiliary (non-member) parameter.

Extractor which will convert an Xml Node into an instance of a case class with nine members and one auxiliary (non-member) parameter.

Type parameters

B

the type of the non-member parameter of T.

P0

the (Extractor-enabled) type of the first member of the Product type T.

P1

the (Extractor-enabled) type of the second member of the Product type T.

P2

the (Extractor-enabled) type of the third member of the Product type T.

P3

the (Extractor-enabled) type of the fourth member of the Product type T.

P4

the (Extractor-enabled) type of the fifth member of the Product type T.

P5

the (Extractor-enabled) type of the sixth member of the Product type T.

P6

the (Extractor-enabled) type of the seventh member of the Product type T.

P7

the (MultiExtractor-enabled) type of the eighth member of the Product type T.

P8

the (MultiExtractor-enabled) type of the ninth member of the Product type T.

T

the underlying type of the result, a Product.

Value parameters

construct

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

fields

an optional sequence of field names to guide the extraction process, defaults to an empty sequence

Attributes

Returns

an Extractor[T] whose method extract will convert a Node into a Try[T].

Inherited from:
Extractors
def multiExtractor1[T, U <: Product, P0 <: T : Extractor : ClassTag](construct: P0 => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of P0.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of P0.

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P] and ClassTag[P].

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the label of the elements we wish to extract (wrapped in Seq). The one label must correspond to P0.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractor2[T, U <: Product, P0 <: T : Extractor : ClassTag, P1 <: T : Extractor : ClassTag](construct: (P0, P1) => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of two P-types.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of two P-types.

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P] and ClassTag[P].

P1

the second (Extractor-enabled) subtype of T.

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the labels of the elements we wish to extract. These must be in the same sequence as the corresponding P-types.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractor3[T, U <: Product, P0 <: T : Extractor : ClassTag, P1 <: T : Extractor : ClassTag, P2 <: T : Extractor : ClassTag](construct: (P0, P1, P2) => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of three P-types. The labels are "translated" according to the translation table, which may produce more labels than in the original. The first label is used to filter the P0-type child nodes of nodeSeq (the input of the resulting MultiExtractor). Then, the resulting

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of three P-types. The labels are "translated" according to the translation table, which may produce more labels than in the original. The first label is used to filter the P0-type child nodes of nodeSeq (the input of the resulting MultiExtractor). Then, the resulting

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P] and ClassTag[P].

P1

the second (Extractor-enabled) subtype of T.

P2

the third (Extractor-enabled) subtype of T.

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the labels of the elements we wish to extract. These must be in the same sequence as the corresponding P-types.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractor4[T, U <: Product, P0 <: T : Extractor : ClassTag, P1 <: T : Extractor : ClassTag, P2 <: T : Extractor : ClassTag, P3 <: T : Extractor : ClassTag](construct: (P0, P1, P2, P3) => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of four P-types.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of four P-types.

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P0] and ClassTag[P0].

P1

the second (Extractor-enabled) subtype of T.

P2

the third (Extractor-enabled) subtype of T.

P3

the fourth (Extractor-enabled) subtype of T.

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the labels of the elements we wish to extract. These must be in the same sequence as the corresponding P-types.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractor5[T, U <: Product, P0 <: T : Extractor : ClassTag, P1 <: T : Extractor : ClassTag, P2 <: T : Extractor : ClassTag, P3 <: T : Extractor : ClassTag, P4 <: T : Extractor : ClassTag](construct: (P0, P1, P2, P3, P4) => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of five P-types.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of five P-types.

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P0] and ClassTag[P0].

P1

the second (Extractor-enabled) subtype of T.

P2

the third (Extractor-enabled) subtype of T.

P3

the fourth (Extractor-enabled) subtype of T.

P4

the fifth (Extractor-enabled) subtype of T.

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the labels of the elements we wish to extract. These must be in the same sequence as the corresponding P-types.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractor6[T, U <: Product, P0 <: T : Extractor : ClassTag, P1 <: T : Extractor : ClassTag, P2 <: T : Extractor : ClassTag, P3 <: T : Extractor : ClassTag, P4 <: T : Extractor : ClassTag, P5 <: T : Extractor : ClassTag](construct: (P0, P1, P2, P3, P4, P5) => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of six P-types.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of six P-types.

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P0] and ClassTag[P0].

P1

the second (Extractor-enabled) subtype of T.

P2

the third (Extractor-enabled) subtype of T.

P3

the fourth (Extractor-enabled) subtype of T.

P4

the fifth (Extractor-enabled) subtype of T.

P5

the sixth (Extractor-enabled) subtype of T.

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the labels of the elements we wish to extract. These must be in the same sequence as the corresponding P-types.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractor7[T, U <: Product, P0 <: T : Extractor : ClassTag, P1 <: T : Extractor : ClassTag, P2 <: T : Extractor : ClassTag, P3 <: T : Extractor : ClassTag, P4 <: T : Extractor : ClassTag, P5 <: T : Extractor : ClassTag, P6 <: T : Extractor : ClassTag](construct: (P0, P1, P2, P3, P4, P5, P6) => U, labels: Seq[String]): MultiExtractor[Seq[T]]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of seven P-types.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of seven P-types.

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P0] and ClassTag[P0].

P1

the second (Extractor-enabled) subtype of T.

P2

the third (Extractor-enabled) subtype of T.

P3

the fourth (Extractor-enabled) subtype of T.

P4

the fifth (Extractor-enabled) subtype of T.

P5

the sixth (Extractor-enabled) subtype of T.

P6

the seventh (Extractor-enabled) subtype of T.

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the labels of the elements we wish to extract. These must be in the same sequence as the corresponding P-types.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors
def multiExtractorBase[P : Extractor](range: Range): MultiExtractor[Seq[P]]

Creates a new instance of MultiExtractorBase for the specified range, adapting the extracted elements to the type parameter P using the implicit Extractor.

Creates a new instance of MultiExtractorBase for the specified range, adapting the extracted elements to the type parameter P using the implicit Extractor.

Type parameters

P

the underlying type for which there must be evidence of Extractor[P].

Value parameters

range

the range of elements to extract

Attributes

Returns

a new MultiExtractor instance for sequences of type P.

Inherited from:
Extractors
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

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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.

Inherited from:
Renderers
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].

Inherited from:
Renderers
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.

Inherited from:
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].

Inherited from:
Renderers
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.

Inherited from:
Renderers
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].

Inherited from:
Renderers
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.

Inherited from:
Renderers
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].

Inherited from:
Renderers
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.

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
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].

Inherited from:
Renderers
def subclassExtractor1[T, U <: Product, P0 <: T : Extractor : ClassTag](construct: P0 => U, labels: Seq[String]): SubclassExtractor[T]

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of P0.

Method to yield a MultiExtractor of Seq[T] such that T is the super-type of P0.

TESTME

Type parameters

P0

the first subtype of T, for which there must be implicit evidence of Extractor[P] and ClassTag[P].

T

the ultimate underlying type of the resulting MultiExtractor.

U

a tuple whose only purpose is type inference.

Value parameters

construct

a function whose sole purpose is to enable type inference (construct is never referenced in the code).

labels

the label of the elements we wish to extract (wrapped in Seq). The one label must correspond to P0.

Attributes

Returns

MultiExtractor of Seq[T].

Inherited from:
Extractors

Implicits

Implicits

implicit val extractor: Extractor[Link]
implicit val extractorOpt: Extractor[Option[Link]]
implicit val renderer: Renderer[Link]
implicit val rendererOpt: Renderer[Option[Link]]