com.servingxml.components.recordmapping
Class GenerateValue

java.lang.Object
  extended by com.servingxml.components.recordmapping.GenerateValue
All Implemented Interfaces:
MapXml

public class GenerateValue
extends java.lang.Object
implements MapXml

A command for inserting an element mapped from a flat file into an XML stream.


Constructor Summary
GenerateValue(Stringable[] stringFactories, MapXml children)
           
 
Method Summary
 void addToAttributes(ServiceContext context, Flow flow, Record variables, org.xml.sax.helpers.AttributesImpl attributes)
           
 void groupStarted(ServiceContext context, Flow flow, Record previousRecord, Record nextRecord, ExtendedContentHandler handler, Record variables)
           
 void groupStopped(ServiceContext context, Flow flow, ExtendedContentHandler handler)
           
 boolean isGrouping()
           
 void writeRecord(ServiceContext context, Flow flow, Record previousRecord, Record nextRecord, ExtendedContentHandler handler, GroupState groupListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateValue

public GenerateValue(Stringable[] stringFactories,
                     MapXml children)
Method Detail

writeRecord

public void writeRecord(ServiceContext context,
                        Flow flow,
                        Record previousRecord,
                        Record nextRecord,
                        ExtendedContentHandler handler,
                        GroupState groupListener)
Specified by:
writeRecord in interface MapXml

groupStarted

public void groupStarted(ServiceContext context,
                         Flow flow,
                         Record previousRecord,
                         Record nextRecord,
                         ExtendedContentHandler handler,
                         Record variables)
Specified by:
groupStarted in interface MapXml

groupStopped

public void groupStopped(ServiceContext context,
                         Flow flow,
                         ExtendedContentHandler handler)
Specified by:
groupStopped in interface MapXml

addToAttributes

public void addToAttributes(ServiceContext context,
                            Flow flow,
                            Record variables,
                            org.xml.sax.helpers.AttributesImpl attributes)
Specified by:
addToAttributes in interface MapXml

isGrouping

public boolean isGrouping()
Specified by:
isGrouping in interface MapXml