PageMixer demonstration with Servlet

pagemixer.filter
Class LocaleIterationFilter

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.SequenceDataIterationFilter
                    |
                    +--pagemixer.filter.LocaleIterationFilter
All Implemented Interfaces:
jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer, LocaleConstants, LocaleKeys

public class LocaleIterationFilter
extends jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataIterationFilter
implements LocaleKeys

Filter to inset "locale" selectior.

This filter finds token sequence between '<span class="Locale-Entry">' and '</span>', then passes it to filter pipeline consiting of below filters.

See main(java.lang.String[]) to use as stand-alone application.


Inner Class Summary
static class LocaleIterationFilter.LocaleNameAttr
          Filter to inset language part of lcoale into '<a clas="Locale">' as part of query string.
static class LocaleIterationFilter.LocaleNameText
          Filter to inset lcoale name text between '<span clas="Locale">' and '</span>'.
 
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 interface common.LocaleKeys
KEY_LOCALE_ENTRY, KEY_LOCALE_ENTRY_PROVIDER, KEY_PARAM_LOCALE, KEY_SESSION_LOCALE
 
Fields inherited from interface common.LocaleConstants
CLASS_LOCALE, CLASS_LOCALE_ENTRY, PARAM_LOCALE, REQUEST_LOCALE_ENTRY, REQUEST_LOCALE_ENTRY_PROVIDER, SESSION_LOCALE
 
Constructor Summary
LocaleIterationFilter()
           
 
Method Summary
static void main(java.lang.String[] args)
          Invoke as stand-alone application.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataIterationFilter
add, afterLast, beforeFirst, getDataProvider, getIterator, onFirst, onInside, onLast, push
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter
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

LocaleIterationFilter

public LocaleIterationFilter()
Method Detail

main

public static void main(java.lang.String[] args)
Invoke as stand-alone application.
USAGE:java pagemixer.filter.LocaleIterationFilter InputFilename

Please see description of pagemixer.filter about class path requirement to execute this class.


PageMixer demonstration with Servlet