XmlSplitterOps
XML-specific Splitter member methods, for example: attr
, attrOpt
, and text
,
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Consumes each sub-stream with the XmlParser.forMandatoryAttribute(name)
parser, yielding an XmlTransformer[String] which emits the resulting attribute from those sub-streams.
Consumes each sub-stream with the XmlParser.forMandatoryAttribute(name)
parser, yielding an XmlTransformer[String] which emits the resulting attribute from those sub-streams.
Type parameters
- N
-
The name type of the attribute to capture. This will generally be
String
but may be any other typeN
that belongs to theAsQName
typeclass.
Value parameters
- name
-
The name of the attribute to capture
Attributes
- Returns
-
An XmlTransformer[String] that emits the given mandatory attribute from the first element in each matched sub-stream
Consumes each sub-stream with the XmlParser.forOptionalAttribute(name)
parser, yielding an XmlTransformer[String] which emits the resulting attribute from those sub-streams.
Consumes each sub-stream with the XmlParser.forOptionalAttribute(name)
parser, yielding an XmlTransformer[String] which emits the resulting attribute from those sub-streams.
Type parameters
- N
-
The name type of the attribute to capture. This will generally be
String
but may be any other typeN
that belongs to theAsQName
typeclass.
Value parameters
- name
-
The name of the attribute to capture
Attributes
- Returns
-
An XmlTransformer[String] that emits the given optional attribute from the first element in each matched sub-stream
Consumes each sub-stream with the XmlParser.forText
parser, yielding an XmlTransformer[String] which emits a single concatenated String for each sub-stream.
Consumes each sub-stream with the XmlParser.forText
parser, yielding an XmlTransformer[String] which emits a single concatenated String for each sub-stream.
Attributes
- Returns
-
An XmlTransformer[String] that emits the text from each matched sub-stream