net.jangaroo.extxml.util
Class Rule<State>
java.lang.Object
net.jangaroo.extxml.util.Rule<State>
public abstract class Rule<State>
- extends Object
A Rule defines a regular expression (Pattern) and code to be executed
when a line matches that pattern. The code will be invoked with the current State.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rule
public Rule(String pattern)
createMatcher
public Matcher createMatcher(String line)
matched
public abstract void matched(State state,
List<String> groups)
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.