|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.Helper
fr.cnes.sitools.common.model.ExtensionModel<E>
fr.cnes.sitools.common.business.AbstractExtension<ConverterParameter>
fr.cnes.sitools.dataset.converter.business.AbstractConverter
fr.cnes.sitools.dataset.converter.business.ConverterChained
public class ConverterChained
A chain of converters
Constructor Summary | |
---|---|
ConverterChained()
Constructor |
|
ConverterChained(java.lang.String n,
java.lang.String d)
Constructor. |
Method Summary | |
---|---|
void |
addConverter(AbstractConverter ac)
Add a converter in the model. |
Record |
getConversionOf(Record rec)
Apply the model to a record. |
java.util.List<AbstractConverter> |
getConverters()
Returns the list of converters. |
java.lang.String |
getModelName()
Get the model name. |
Validator<AbstractConverter> |
getValidator()
Get the Validator on a |
Methods inherited from class fr.cnes.sitools.dataset.converter.business.AbstractConverter |
---|
addParam, getInOutParam, getInParam, getInternParam, getOutParam |
Methods inherited from class fr.cnes.sitools.common.business.AbstractExtension |
---|
getContext, setContext |
Methods inherited from class fr.cnes.sitools.common.model.ExtensionModel |
---|
getClassAuthor, getClassName, getClassOwner, getClassVersion, getDescription, getDescriptionAction, getId, getName, getParametersMap, setClassAuthor, setClassName, setClassOwner, setClassVersion, setDescription, setDescriptionAction, setId, setName, setParametersMap |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterChained(java.lang.String n, java.lang.String d)
n
- the name of the modeld
- the description of the modelpublic ConverterChained()
Method Detail |
---|
public final java.lang.String getModelName()
public final java.util.List<AbstractConverter> getConverters()
public final void addConverter(AbstractConverter ac)
ac
- the converter to addpublic final Record getConversionOf(Record rec)
getConversionOf
in class AbstractConverter
rec
- initial record
public Validator<AbstractConverter> getValidator()
Validable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |