PageMixer demonstration with Servlet

pagemixer.filter
Class NotYetLoginFilter.TrimError

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
        |
        +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
              |
              +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter
                    |
                    +--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter.Whole
                          |
                          +--pagemixer.filter.NotYetLoginFilter.TrimError
All Implemented Interfaces:
jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer
Enclosing class:
NotYetLoginFilter

public static class NotYetLoginFilter.TrimError
extends jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter.Whole

Filter to trim error message part.

This filter tirms token sequence between '<span>' and '</span>' having specified 'class' attribute value, if given context does not have value identified by same name in request attribute class.


Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter
jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter.Inside, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter.Strategy, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter.Whole
 
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory
 
Fields inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter
DEFAULT
 
Constructor Summary
NotYetLoginFilter.TrimError(java.lang.String attrValue)
          Constructor.
 
Method Summary
protected  boolean shouldTrim(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
           
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter.Whole
getStrategy
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter
beforeFirst, onFirst, onInside, onLast
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
afterLast, consume, flush
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
addCleanup, clear, connectTo, getConsumer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotYetLoginFilter.TrimError

public NotYetLoginFilter.TrimError(java.lang.String attrValue)
Constructor.
Method Detail

shouldTrim

protected boolean shouldTrim(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
Overrides:
shouldTrim in class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceTrimFilter

PageMixer demonstration with Servlet