org.knime.base.node.preproc.regexsplit
Class RegexSplitSettings

java.lang.Object
  extended by org.knime.base.node.preproc.regexsplit.RegexSplitSettings

final class RegexSplitSettings
extends Object

Settings object for the regex split node model.

Author:
Bernd Wiswedel, University of Konstanz

Constructor Summary
RegexSplitSettings()
           
 
Method Summary
(package private)  Pattern compile()
          Compiles the pattern with the current settings.
(package private)  String getColumn()
           
(package private)  String getPattern()
           
(package private)  boolean isCanonEQ()
           
(package private)  boolean isCaseInsensitive()
           
(package private)  boolean isComments()
           
(package private)  boolean isDotAll()
           
(package private)  boolean isLiteral()
           
(package private)  boolean isMultiLine()
           
(package private)  boolean isUniCodeCase()
           
(package private)  boolean isUnixLines()
           
(package private)  void loadSettingsInDialog(NodeSettingsRO settings, DataTableSpec spec)
          Load model for dialog.
(package private)  void loadSettingsInModel(NodeSettingsRO settings)
          Load method for NodeModel.
(package private)  void saveSettingsTo(NodeSettingsWO settings)
          Saves parameters to argument settings.
(package private)  void setCanonEQ(boolean isCanonEQ)
           
(package private)  void setCaseInsensitive(boolean isCaseInsensitive)
           
(package private)  void setColumn(String column)
           
(package private)  void setComments(boolean isComments)
           
(package private)  void setDotAll(boolean isDotAll)
           
(package private)  void setLiteral(boolean isLiteral)
           
(package private)  void setMultiLine(boolean isMultiLine)
           
(package private)  void setPattern(String pattern)
           
(package private)  void setUniCodeCase(boolean isUniCodeCase)
           
(package private)  void setUnixLines(boolean isUnixLines)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexSplitSettings

RegexSplitSettings()
Method Detail

loadSettingsInModel

void loadSettingsInModel(NodeSettingsRO settings)
                   throws InvalidSettingsException
Load method for NodeModel.

Parameters:
settings - To load from.
Throws:
InvalidSettingsException - If settings invalid.

loadSettingsInDialog

void loadSettingsInDialog(NodeSettingsRO settings,
                          DataTableSpec spec)
                    throws NotConfigurableException
Load model for dialog.

Parameters:
settings - To load from.
spec - Input spec
Throws:
NotConfigurableException - If no matching col found

saveSettingsTo

void saveSettingsTo(NodeSettingsWO settings)
Saves parameters to argument settings.

Parameters:
settings - To save to.

compile

Pattern compile()
          throws InvalidSettingsException
Compiles the pattern with the current settings.

Returns:
The pattern object
Throws:
InvalidSettingsException - If the pattern can't be compiled.

getColumn

String getColumn()
Returns:
the column

setColumn

void setColumn(String column)
Parameters:
column - the column to set

getPattern

String getPattern()
Returns:
the pattern

setPattern

void setPattern(String pattern)
Parameters:
pattern - the pattern to set

isUnixLines

boolean isUnixLines()
Returns:
the isUnixLines

setUnixLines

void setUnixLines(boolean isUnixLines)
Parameters:
isUnixLines - the isUnixLines to set

isCaseInsensitive

boolean isCaseInsensitive()
Returns:
the isCaseInsensitive

setCaseInsensitive

void setCaseInsensitive(boolean isCaseInsensitive)
Parameters:
isCaseInsensitive - the isCaseInsensitive to set

isComments

boolean isComments()
Returns:
the isComments

setComments

void setComments(boolean isComments)
Parameters:
isComments - the isComments to set

isMultiLine

boolean isMultiLine()
Returns:
the isMultiLine

setMultiLine

void setMultiLine(boolean isMultiLine)
Parameters:
isMultiLine - the isMultiLine to set

isLiteral

boolean isLiteral()
Returns:
the isLiteral

setLiteral

void setLiteral(boolean isLiteral)
Parameters:
isLiteral - the isLiteral to set

isDotAll

boolean isDotAll()
Returns:
the isDotAll

setDotAll

void setDotAll(boolean isDotAll)
Parameters:
isDotAll - the isDotAll to set

isUniCodeCase

boolean isUniCodeCase()
Returns:
the isUniCodeCase

setUniCodeCase

void setUniCodeCase(boolean isUniCodeCase)
Parameters:
isUniCodeCase - the isUniCodeCase to set

isCanonEQ

boolean isCanonEQ()
Returns:
the isCanonEQ

setCanonEQ

void setCanonEQ(boolean isCanonEQ)
Parameters:
isCanonEQ - the isCanonEQ to set


Copyright, 2003 - 2010. 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.