Package de.xima.fc.transform.xml
Class FDToXmlTransformer
- java.lang.Object
 - 
- de.xima.fc.transform.xml.FDToXmlTransformer
 
 
- 
@Deprecated public class FDToXmlTransformer extends Object
Deprecated.useFdToXmlBuilderClass to transform form data into an XML file 
- 
- 
Constructor Summary
Constructors Constructor Description FDToXmlTransformer()Deprecated. 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RootFdXmlcreateForPostfach(UserContext uc, List<String> vl, XfcSession xfcSesssion, de.xima.cmn.criteria.QueryCriteriaManager qcm, Benutzer user)static RootFdXmlcreateForProjektPostfach(List<ExtendedEntityModel<Vorgang>> processes, XfcSession sess)Deprecated.static RootFdXmlcreateForSingleVorgang(Vorgang process, IFormDataAdapter formData, IXForm xform)static RootFdXmlcreateForSingleVorgang(Map<String,List<String[]>> dataMap, Vorgang process, IXForm xform)static ProcessFdXmlcreateProcess(Vorgang process)Deprecated.public access will be removedstatic voidfillFieldsList(Map<String,List<String[]>> dataMap, IXForm xform, IXFormRenderConfig config, ArrayList<FieldFdXml> fields, FormVersion formVersion, boolean skipNotExistingValues)Deprecated.public access will be removedstatic voidfillFormRoot(RootFdXml formRoot)Deprecated.-RootFdXmlwill is filled on instantiationstatic voidwriteHTMLFile(File inputFile, File outputFile, String title)Deprecated.static voidwriteXMLFile(RootFdXml formRoot, File outputFile)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
writeHTMLFile
@Deprecated public static void writeHTMLFile(File inputFile, File outputFile, String title) throws Exception
Deprecated.Method to convert an XML input file to an HTML output file.- Parameters:
 inputFile- the XML input fileoutputFile- the HTML output file- Throws:
 Exception- on errors while writing or reading the files- See Also:
 HTMLUtils.writeXMLFileToTidyHTMLFile(File, File, String)
 
- 
writeXMLFile
@Deprecated public static void writeXMLFile(RootFdXml formRoot, File outputFile) throws Exception
Deprecated.Method to export anRootFdXmlto an output file 
- 
createForPostfach
@Deprecated public static RootFdXml createForPostfach(UserContext uc, List<String> vl, XfcSession xfcSesssion, de.xima.cmn.criteria.QueryCriteriaManager qcm, Benutzer user) throws IOException, com.alibaba.fastjson.JSONException, InterruptedException
Deprecated.- Parameters:
 uc- theUserContextvl- the List ofVorgang.getId()sxfcSesssion- theXfcSessionqcm- theQueryCriteriaManageruser- theBenutzer- Returns:
 RootFdXml- Throws:
 IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the formInterruptedException- on errors
 
- 
createForProjektPostfach
@Deprecated public static RootFdXml createForProjektPostfach(List<ExtendedEntityModel<Vorgang>> processes, XfcSession sess) throws IOException, com.alibaba.fastjson.JSONException
Deprecated.- Parameters:
 processes-ListofExtendedEntityModels ofVorgangto exportsess-XfcSession- Returns:
 RootFdXml- Throws:
 IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the form
 
- 
createForSingleVorgang
@Deprecated public static RootFdXml createForSingleVorgang(Vorgang process, IFormDataAdapter formData, IXForm xform) throws IOException, com.alibaba.fastjson.JSONException
- Parameters:
 process- theVorgangto exportformData- theIFormDataAdapterwith the data to exportxform- theIXForm- Returns:
 RootFdXml- Throws:
 IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the form
 
- 
createForSingleVorgang
@Deprecated public static RootFdXml createForSingleVorgang(Map<String,List<String[]>> dataMap, Vorgang process, IXForm xform) throws IOException, com.alibaba.fastjson.JSONException
- Parameters:
 dataMap-Mapof input-dataprocess- theVorgangto exportxform- theIXForm- Returns:
 RootFdXml- Throws:
 IOException- on errors while i/o operationscom.alibaba.fastjson.JSONException- on errors while loading the form
 
- 
fillFieldsList
@Deprecated public static void fillFieldsList(Map<String,List<String[]>> dataMap, IXForm xform, IXFormRenderConfig config, ArrayList<FieldFdXml> fields, FormVersion formVersion, boolean skipNotExistingValues)
Deprecated.public access will be removed- Parameters:
 dataMap- theMapof data to exportxform- theIXFormconfig- theIXFormRenderConfigfields- theListof fields to exportformVersion- theFormVersionto exportskipNotExistingValues-Booleanof not existing values should be skipped
 
- 
createProcess
@Deprecated public static ProcessFdXml createProcess(Vorgang process)
Deprecated.public access will be removed- Parameters:
 process- the process to create theProcessFdXml- Returns:
 - the created 
ProcessFdXml 
 
- 
fillFormRoot
@Deprecated public static void fillFormRoot(RootFdXml formRoot)
Deprecated.-RootFdXmlwill is filled on instantiation- Parameters:
 formRoot- theRootFdXmlto fill
 
 - 
 
 -