pagemixer.filter
Class BasketEntryIterationFilter.EntryNameL18NText
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.SequenceDataInsetFilter
|
+--jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside
|
+--pagemixer.filter.BasketEntryIterationFilter.EntryNameL18NText
- All Implemented Interfaces:
- jp.ne.dti.lares.foozy.pagemixer.mixer.Consumer, LocaleConstants
- Enclosing class:
- BasketEntryIterationFilter
- public static class BasketEntryIterationFilter.EntryNameL18NText
- extends jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside
- implements LocaleConstants
Filter to inset basket entry name text in token sequence.
This filter finds token sequence between
'<span class="Shop-Basket-EntryName">' and '</span>',
then insets localized entry name as HTML safe text inside it.
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter |
jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextInside, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.HTMLSafeTextWhole, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside, jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Whole |
Inner classes inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.Filter |
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory |
Method Summary |
protected void |
insetData(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context,
java.lang.Object data)
Inset localized name of shopping basket entry. |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter.Inside |
onFirst, onLast |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter |
getData |
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceEditFilter |
afterLast, beforeFirst, consume, flush, onInside |
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 |
BasketEntryIterationFilter.EntryNameL18NText
public BasketEntryIterationFilter.EntryNameL18NText(java.lang.Object keyEntry,
java.lang.Object keyLocale)
insetData
protected void insetData(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context,
java.lang.Object data)
- Inset localized name of shopping basket entry.
This filter does:
- looks locale up by key specified at construction time
- gets localized name of basket entry,
- create new token having HTML-Safe-d text, then
- passes it to connected consumer.
- Overrides:
insetData
in class jp.ne.dti.lares.foozy.pagemixer.mixer.SequenceDataInsetFilter