it.haefelinger.flaka
Class Switch.Match

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Sequential
              extended by it.haefelinger.flaka.Switch.Match
All Implemented Interfaces:
Cloneable, TaskContainer
Enclosing class:
Switch

protected static final class Switch.Match
extends Sequential

Case class


Field Summary
 boolean debug
           
 int flags
           
 boolean ispattern
           
 String regexstr
           
 String var
           
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
protected Switch.Match()
           
 
Method Summary
protected  boolean match(Pattern regex, String value)
           
 void setComments(boolean b)
           
 void setDebug(boolean debug)
           
 void setDotAll(boolean b)
           
 void setGlob(String value)
           
 void setIgnoreCase(boolean b)
           
 void setMultiLine(boolean b)
           
 void setPat(String value)
           
 void setRE(String value)
           
 void setUnixLines(boolean b)
           
 void setVar(String s)
           
 boolean tryvalue(String value)
          Try this value against this clause.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Sequential
addTask, execute
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

var

public String var

regexstr

public String regexstr

flags

public int flags

debug

public boolean debug

ispattern

public boolean ispattern
Constructor Detail

Switch.Match

protected Switch.Match()
Method Detail

setDebug

public void setDebug(boolean debug)

setVar

public void setVar(String s)

setRE

public void setRE(String value)

setPat

public void setPat(String value)

setGlob

public void setGlob(String value)

setIgnoreCase

public void setIgnoreCase(boolean b)

setDotAll

public void setDotAll(boolean b)

setUnixLines

public void setUnixLines(boolean b)

setComments

public void setComments(boolean b)

setMultiLine

public void setMultiLine(boolean b)

match

protected boolean match(Pattern regex,
                        String value)

tryvalue

public boolean tryvalue(String value)
Try this value against this clause.