PageMixer demonstration with Struts

pagemixer.filter
Class AppErrorsInsetFilter.Trim

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
        |
        +--jp.ne.dti.lares.foozy.pagemixer.mixer.TrimFilter
              |
              +--pagemixer.filter.AppErrorsInsetFilter.Trim
All Implemented Interfaces:
jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer
Enclosing class:
AppErrorsInsetFilter

public static class AppErrorsInsetFilter.Trim
extends jp.ne.dti.lares.foozy.pagemixer.mixer.TrimFilter

Trim whole "errors block" if no error information is stored.

This finds error information out by KEY_APPLICATION_ERROR.

Since:
PageMixer 3.1

Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory
 
Constructor Summary
AppErrorsInsetFilter.Trim()
          Constructor.
 
Method Summary
protected  boolean shouldTrim(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
          Return true if error information is not found.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.TrimFilter
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

AppErrorsInsetFilter.Trim

public AppErrorsInsetFilter.Trim()
Constructor.
Method Detail

shouldTrim

protected boolean shouldTrim(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
Return true if error information is not found.
Overrides:
shouldTrim in class jp.ne.dti.lares.foozy.pagemixer.mixer.TrimFilter

PageMixer demonstration with Struts