Companion object for the Text case class. Provides extractor utilities for Text and Option[Text].
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements.
The names of the product elements.
Attributes
- Inherited from:
- Mirror
The name of the type.
The name of the type.
Attributes
- Inherited from:
- Mirror
Value members
Inherited methods
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Extractorthat performs the extraction of typePfrom the given string - Inherited from:
- Extractors
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
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
Extractorthat can extract anOption[P], which will contain a value if extraction for typePsucceeds or be None if it fails. - Inherited from:
- Extractors
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ofExtractor[P]andClassTag[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 (
constructis 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
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 ofExtractor[P]andClassTag[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
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 ofExtractor[P]andClassTag[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
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 ofExtractor[P0]andClassTag[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
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 ofExtractor[P0]andClassTag[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
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 ofExtractor[P0]andClassTag[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
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 ofExtractor[P0]andClassTag[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
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
MultiExtractorinstance for sequences of typeP. - Inherited from:
- Extractors
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 ofExtractor[P]andClassTag[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