de.spieleck.app.jacson.select
Class TokenSelect
java.lang.Object
de.spieleck.app.jacson.select.TokenSelect
- All Implemented Interfaces:
- ConfigVerify.Acceptor, JacsonRegistrable, JacsonSelect
- public class TokenSelect
- extends java.lang.Object
- implements JacsonSelect, ConfigVerify.Acceptor
Select ranges delimited by two delimiters. Delimiters can
be chosen. They default "@" on boths ends, which resembles
what the Ant people call a token.
- Author:
- fsn
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT_NODE
public static final java.lang.String LEFT_NODE
- See Also:
- Constant Field Values
RIGHT_NODE
public static final java.lang.String RIGHT_NODE
- See Also:
- Constant Field Values
DEFAULT_DELIMITER
public static final java.lang.String DEFAULT_DELIMITER
- See Also:
- Constant Field Values
leftDelim
protected java.lang.String leftDelim
rightDelim
protected java.lang.String rightDelim
curChunk
protected java.lang.String curChunk
lastMatch
protected int lastMatch
result
protected SimpleResult result
TokenSelect
public TokenSelect()
init
public void init(ConfigNode config,
JacsonRegistry registry)
throws JacsonConfigException
- Specified by:
init
in interface JacsonRegistrable
- Throws:
JacsonConfigException
accept
public boolean accept(ConfigNode cn)
- 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
Copyleft 2002 spieleck.de.