Package de.xima.fc.word
Class AsposeDataAdapter
- java.lang.Object
-
- de.xima.fc.word.AsposeDataAdapter
-
- All Implemented Interfaces:
de.xima.aspose.processor.interfaces.IDataAdapter
,de.xima.aspose.processor.interfaces.IReplacer
- Direct Known Subclasses:
AsposeDataAdapter
public class AsposeDataAdapter extends Object implements de.xima.aspose.processor.interfaces.IDataAdapter, de.xima.aspose.processor.interfaces.IReplacer
-
-
Field Summary
Fields Modifier and Type Field Description static String
MATCHER_DYNAMIC_FIELD_REF
-
Constructor Summary
Constructors Constructor Description AsposeDataAdapter(IBaseWorkflowExecutionContext workflowExecutionContext, IFormDataAdapter fda)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asStringValue(String[] value)
String
asStringValue(List<String[]> value)
HashMap<String,HashMap<String,String>>
getFieldOptions(String identifier, boolean asAlias)
List<String[]>
getFieldValues(String fieldName)
Map<String,List<String[]>>
getFieldValuesMap()
de.xima.aspose.processor.enums.EReplacementInsertionType
getInsertionType(String name)
Map<String,String>
getMetaDataMap()
List<Pattern>
getPatternList()
String[]
getStringsAsVal(String... val)
boolean
hasField(String fieldName)
boolean
isElementLooped(String elementName)
int
loopCount(String elementName)
boolean
matchPlaceholder(String text)
String
replaceValue(String fieldName, de.xima.aspose.processor.interfaces.IDataAdapter dataAdapter)
String
resolveAliasName(String alias)
-
-
-
Field Detail
-
MATCHER_DYNAMIC_FIELD_REF
public static final String MATCHER_DYNAMIC_FIELD_REF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AsposeDataAdapter
public AsposeDataAdapter(IBaseWorkflowExecutionContext workflowExecutionContext, IFormDataAdapter fda)
- Parameters:
workflowExecutionContext
- aIBaseWorkflowExecutionContext
fda
- aIFormDataAdapter
-
-
Method Detail
-
replaceValue
public String replaceValue(String fieldName, de.xima.aspose.processor.interfaces.IDataAdapter dataAdapter)
- Specified by:
replaceValue
in interfacede.xima.aspose.processor.interfaces.IReplacer
-
getInsertionType
public de.xima.aspose.processor.enums.EReplacementInsertionType getInsertionType(String name)
- Specified by:
getInsertionType
in interfacede.xima.aspose.processor.interfaces.IReplacer
-
getPatternList
public List<Pattern> getPatternList()
- Specified by:
getPatternList
in interfacede.xima.aspose.processor.interfaces.IReplacer
-
matchPlaceholder
public boolean matchPlaceholder(String text)
- Specified by:
matchPlaceholder
in interfacede.xima.aspose.processor.interfaces.IReplacer
-
getFieldValues
public List<String[]> getFieldValues(String fieldName)
- Specified by:
getFieldValues
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
hasField
public boolean hasField(String fieldName)
- Specified by:
hasField
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
getFieldValuesMap
public Map<String,List<String[]>> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
isElementLooped
public boolean isElementLooped(String elementName)
- Specified by:
isElementLooped
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
loopCount
public int loopCount(String elementName)
- Specified by:
loopCount
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
getMetaDataMap
public Map<String,String> getMetaDataMap()
- Specified by:
getMetaDataMap
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
resolveAliasName
public String resolveAliasName(String alias)
- Specified by:
resolveAliasName
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
getFieldOptions
public HashMap<String,HashMap<String,String>> getFieldOptions(String identifier, boolean asAlias)
- Specified by:
getFieldOptions
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
asStringValue
public String asStringValue(List<String[]> value)
- Specified by:
asStringValue
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
asStringValue
public String asStringValue(String[] value)
- Specified by:
asStringValue
in interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
-