|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.spieleck.app.jacson.PluginBase de.spieleck.app.jacson.filter.FilterBase de.spieleck.app.jacson.filter.PadFilter
Filter to pad a chunk. That is the chunk gets a prefix and postfix attached.
Field Summary | |
static java.lang.String |
EVAL_INITTIME
|
static java.lang.String |
EVAL_RUNTIME
log4j logger - debugging is lame :-) |
protected boolean |
lazyPostEval
Evaluationtype info of postfix |
protected boolean |
lazyPreEval
Evaluationtype info of prefix |
protected java.lang.String |
post
Argument or value used as padding postfix |
static java.lang.String |
POST_EVAL
|
static java.lang.String |
POST_NODE
|
protected java.lang.String |
pre
Argument or value used as padding prefix |
static java.lang.String |
PRE_EVAL
|
static java.lang.String |
PRE_NODE
|
static java.lang.String |
USEONNULL_NODE
|
protected boolean |
useOnNullChunks
Is the filter to be used on "null"-chunks? |
Fields inherited from class de.spieleck.app.jacson.filter.FilterBase |
drain |
Constructor Summary | |
PadFilter()
Default constructor. |
Method Summary | |
boolean |
accept(ConfigNode node)
Overwritten accept method. |
void |
init(ConfigNode config,
JacsonRegistry registry)
Overwritten init method. |
protected static boolean |
obtainLazyness(ConfigNode config,
java.lang.String name)
|
protected static java.lang.String |
obtainXFix(ConfigNode config,
java.lang.String name,
boolean lazy)
|
void |
putChunk(java.lang.String chunk)
Overwritten putChunk method. |
protected java.lang.String |
tryExpand(java.lang.String val,
boolean lazy)
|
static java.lang.String |
tryExpand(java.lang.String val,
boolean lazy,
JacsonState st)
|
Methods inherited from class de.spieleck.app.jacson.filter.FilterBase |
setDrain |
Methods inherited from class de.spieleck.app.jacson.PluginBase |
getRegReport, getRegState, registerReport, registerState, summary |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.spieleck.app.jacson.JacsonStately |
registerState |
Methods inherited from interface de.spieleck.app.jacson.JacsonReporting |
registerReport, summary |
Field Detail |
public static final java.lang.String EVAL_RUNTIME
public static final java.lang.String EVAL_INITTIME
public static final java.lang.String PRE_EVAL
public static final java.lang.String POST_EVAL
public static final java.lang.String PRE_NODE
public static final java.lang.String POST_NODE
public static final java.lang.String USEONNULL_NODE
protected boolean useOnNullChunks
protected java.lang.String pre
protected java.lang.String post
protected boolean lazyPreEval
protected boolean lazyPostEval
Constructor Detail |
public PadFilter()
Method Detail |
public void init(ConfigNode config, JacsonRegistry registry) throws JacsonConfigException
init
in interface JacsonRegistrable
JacsonConfigException
protected static boolean obtainLazyness(ConfigNode config, java.lang.String name)
protected static java.lang.String obtainXFix(ConfigNode config, java.lang.String name, boolean lazy)
public boolean accept(ConfigNode node)
ConfigUtil.verify()
from init()
)
accept
in interface ConfigVerify.Acceptor
public void putChunk(java.lang.String chunk) throws JacsonException
putChunk
in interface JacsonChunkDrain
JacsonException
protected java.lang.String tryExpand(java.lang.String val, boolean lazy)
public static java.lang.String tryExpand(java.lang.String val, boolean lazy, JacsonState st)
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |