de.scheisseichfindemalkeinen.settings.options
Class RegexReplacePipeline

java.lang.Object
  extended by de.scheisseichfindemalkeinen.settings.options.RegexReplacePipeline

public class RegexReplacePipeline
extends java.lang.Object

RulePipeline


Constructor Summary
RegexReplacePipeline(java.lang.String title)
          Constructor
RegexReplacePipeline(java.lang.String title, org.jdom.Element e)
          Constructor
 
Method Summary
 void addRegExp(RegexReplaceRegExp rre)
          Adds a RuleRegExp to the pipeline
 RegexReplaceRegExp getRegexp(int index)
          Returns the RuleRegExp
 java.util.Vector<RegexReplaceRegExp> getRegexps()
          Returns all RuleRegExps
 java.lang.String getReplacedFilename(java.lang.String input)
          Returns the filename after replacement
 java.lang.String getReplacedPageTitle(java.lang.String input)
          Returns the page-title after replacement
 org.jdom.Element getXmlElement()
          Returns the Element for creating the XML-File
 void removeRegExp(int index)
          Removes a RuleRegExp from the pipeline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexReplacePipeline

public RegexReplacePipeline(java.lang.String title)
Constructor

Parameters:
title - Title

RegexReplacePipeline

public RegexReplacePipeline(java.lang.String title,
                            org.jdom.Element e)
Constructor

Parameters:
title - Title
e - Element
Method Detail

getXmlElement

public org.jdom.Element getXmlElement()
Returns the Element for creating the XML-File

Returns:
Element

getReplacedPageTitle

public java.lang.String getReplacedPageTitle(java.lang.String input)
Returns the page-title after replacement

Parameters:
input - Input
Returns:
Replaced Page-Title

getReplacedFilename

public java.lang.String getReplacedFilename(java.lang.String input)
Returns the filename after replacement

Parameters:
input - Input
Returns:
Replaced Filename

getRegexps

public java.util.Vector<RegexReplaceRegExp> getRegexps()
Returns all RuleRegExps

Returns:
RuleRegExps

getRegexp

public RegexReplaceRegExp getRegexp(int index)
Returns the RuleRegExp

Parameters:
index - Index in the array
Returns:
RuleRegExp

addRegExp

public void addRegExp(RegexReplaceRegExp rre)
Adds a RuleRegExp to the pipeline

Parameters:
rre - RuleRegExp

removeRegExp

public void removeRegExp(int index)
Removes a RuleRegExp from the pipeline

Parameters:
index - Index in the array