org.knime.base.node.preproc.autobinner.pmml
Class PMMLInterval

java.lang.Object
  extended by org.knime.base.node.preproc.autobinner.pmml.PMMLInterval

public final class PMMLInterval
extends Object

Encapsulates a Interval in PMML.

Author:
Heiko Hofer

Nested Class Summary
static class PMMLInterval.Closure
           
 
Constructor Summary
PMMLInterval(double leftMargin, double rightMargin, PMMLInterval.Closure closure)
           
 
Method Summary
 PMMLInterval.Closure getClosure()
           
 double getLeftMargin()
           
 double getRightMargin()
           
(package private)  void writePMML(TransformerHandler handler)
          Writes the PMML to the given handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMMLInterval

public PMMLInterval(double leftMargin,
                    double rightMargin,
                    PMMLInterval.Closure closure)
Parameters:
leftMargin - the left margin
rightMargin - the right margin
closure - whether a margin is part of the interval
Method Detail

getLeftMargin

public double getLeftMargin()
Returns:
the leftMargin

getRightMargin

public double getRightMargin()
Returns:
the rightMargin

getClosure

public PMMLInterval.Closure getClosure()
Returns:
the closure

writePMML

void writePMML(TransformerHandler handler)
         throws SAXException
Writes the PMML to the given handler.

Parameters:
handler - the transformation handler
Throws:
SAXException - if anything goes wrong while serializing the model


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.