org.pmml4s.xml

Type members

Classlikes

Builder of Anomaly Detection Model

Builder of Anomaly Detection Model

Builder of Association model

Builder of Association model

object AttrTags

Base class of model builder

Base class of model builder

Companion:
object
object Builder
Companion:
class

Builder of Clustering model

Builder of Clustering model

Provides utilities to parse these common elements.

Provides utilities to parse these common elements.

trait ElemBuilder[T]
object ElemTags

Contains all XML tags defined in PMML 4.3 schema.

Contains all XML tags defined in PMML 4.3 schema.

case class EvComment(text: String) extends XMLEvent

A comment was encountered

A comment was encountered

Value parameters:
text

the text of the comment

case class EvElemEnd(pre: String, label: String) extends XMLEvent

An Element's end tag was encountered.

An Element's end tag was encountered.

Value parameters:
label

the name of the element, not including the prefix

pre

prefix, if any, on the element. This is the xs in <xs:string>foo</xs:string>.

case class EvElemStart(pre: String, label: String, attrs: XmlAttrs, scope: NamespaceBinding) extends XMLEvent

An Element's start tag was encountered.

An Element's start tag was encountered.

Value parameters:
attrs

any attributes on the element

label

the name of the element, not including the prefix

pre

prefix, if any, on the element. This is the xs in <xs:string>foo</xs:string>.

case class EvEntityRef(entity: String) extends XMLEvent

An entity reference was encountered.

An entity reference was encountered.

Value parameters:
entity

the name of the entity, e.g. gt when encountering the entity &gt;

case class EvProcInstr(target: String, text: String) extends XMLEvent

A processing instruction was encountered.

A processing instruction was encountered.

Value parameters:
target

the "PITarget" of the processing instruction. For the instruction <?foo bar="baz"?>, the target would be foo

text

the remainder of the instruction. For the instruction <?foo bar="baz"?>, the text would be bar="baz"

See also:
case class EvText(text: String) extends XMLEvent

A text node was encountered.

A text node was encountered.

Value parameters:
text

the text that was found

Builder of General Regression Model

Builder of General Regression Model

class JIteratorWrapper[A](val underlying: Iterator[A]) extends Iterator[A] with Serializable

Builder of Mining Model

Builder of Mining Model

Base builder of PMML model

Base builder of PMML model

Companion:
object
Companion:
class

Builder of Naive Bayes Model

Builder of Naive Bayes Model

case class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding)

The class NamespaceBinding represents namespace bindings and scopes.

The class NamespaceBinding represents namespace bindings and scopes.

Builder of Nearest Neighbor model.

Builder of Nearest Neighbor model.

Builder of Neural Network model.

Builder of Neural Network model.

Builder of Regression model.

Builder of Regression model.

Builder of Rule Set model.

Builder of Rule Set model.

Builder of Scorecard model

Builder of Scorecard model

class SourceWrapper(src: Source) extends Reader

Builder of Support Vector Machine model

Builder of Support Vector Machine model

Builder of transformations

Builder of transformations

Builder of Tree model

Builder of Tree model

object ValTags
trait XMLEvent

Borrow codes from scala.xml.pull, and reimplement based on javax.xml.stream.XMLEventReader

Borrow codes from scala.xml.pull, and reimplement based on javax.xml.stream.XMLEventReader

class XMLEventReader(src: Source) extends Iterator[XMLEvent]

Main entry point into creating an event-based XML parser. Treating this as a scala.collection.Iterator will provide access to the generated events.

Main entry point into creating an event-based XML parser. Treating this as a scala.collection.Iterator will provide access to the generated events.

Value parameters:
src

A scala.io.Source for XML data to parse

case class XmlAttrs(attrs: Map[String, String])
Companion:
object
object XmlAttrs
Companion:
class
trait XmlBase
trait XmlRead[T]
trait XmlUtils extends XmlBase
trait XmlWrite