Jacson

de.spieleck.app.jacson.select
Class RegExpGroupSelect

java.lang.Object
  extended byde.spieleck.app.jacson.select.RegExpGroupSelect
All Implemented Interfaces:
ConfigVerify.Acceptor, JacsonRegistrable, JacsonSelect

public class RegExpGroupSelect
extends java.lang.Object
implements JacsonSelect, ConfigVerify.Acceptor

Select all the groups in the matching regexp.

Author:
fsn

Field Summary
protected  java.lang.String curChunk
           
protected  org.apache.oro.text.regex.MatchResult match
           
protected  int matchCount
           
protected  org.apache.oro.text.regex.Pattern pattern
          oro-Regexp-Pattern
protected  org.apache.oro.text.regex.PatternMatcherInput pmi
           
protected  SimpleResult result
           
protected  RegExpUtil rutil
           
 
Constructor Summary
RegExpGroupSelect()
           
 
Method Summary
 boolean accept(ConfigNode node)
           
 SelectionResult getNextSelection()
           
 void init(ConfigNode config, JacsonRegistry registry)
           
 void setChunk(java.lang.String chunk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

protected org.apache.oro.text.regex.Pattern pattern
oro-Regexp-Pattern


rutil

protected RegExpUtil rutil

curChunk

protected java.lang.String curChunk

result

protected SimpleResult result

match

protected org.apache.oro.text.regex.MatchResult match

matchCount

protected int matchCount

pmi

protected org.apache.oro.text.regex.PatternMatcherInput pmi
Constructor Detail

RegExpGroupSelect

public RegExpGroupSelect()
Method Detail

init

public void init(ConfigNode config,
                 JacsonRegistry registry)
          throws JacsonConfigException
Specified by:
init in interface JacsonRegistrable
Throws:
JacsonConfigException

accept

public boolean accept(ConfigNode node)
Specified by:
accept in interface ConfigVerify.Acceptor

setChunk

public void setChunk(java.lang.String chunk)
Specified by:
setChunk in interface JacsonSelect

getNextSelection

public SelectionResult getNextSelection()
Specified by:
getNextSelection in interface JacsonSelect

Spieleck

Copyleft 2002 spieleck.de.