Package org.hotrod.dynamicsql.segments
Class ListFormatterConsumer
- java.lang.Object
-
- org.hotrod.dynamicsql.segments.ListFormatterConsumer
-
- All Implemented Interfaces:
AutoCloseable,StaticSegmentConsumer
public class ListFormatterConsumer extends Object implements StaticSegmentConsumer, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description ListFormatterConsumer(StaticSegmentConsumer parentConsumer, ListProcessor processor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidconsume(String literal)voidconsume(ParameterInstance s)voidstartNextEntry()
-
-
-
Constructor Detail
-
ListFormatterConsumer
public ListFormatterConsumer(StaticSegmentConsumer parentConsumer, ListProcessor processor)
-
-
Method Detail
-
startNextEntry
public void startNextEntry()
- Specified by:
startNextEntryin interfaceStaticSegmentConsumer
-
consume
public void consume(String literal)
- Specified by:
consumein interfaceStaticSegmentConsumer
-
consume
public void consume(ParameterInstance s)
- Specified by:
consumein interfaceStaticSegmentConsumer
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-