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 StringMATCHER_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 StringasStringValue(String[] value)StringasStringValue(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.EReplacementInsertionTypegetInsertionType(String name)Map<String,String>getMetaDataMap()List<Pattern>getPatternList()String[]getStringsAsVal(String... val)booleanhasField(String fieldName)booleanisElementLooped(String elementName)intloopCount(String elementName)booleanmatchPlaceholder(String text)StringreplaceValue(String fieldName, de.xima.aspose.processor.interfaces.IDataAdapter dataAdapter)StringresolveAliasName(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- aIBaseWorkflowExecutionContextfda- aIFormDataAdapter
-
-
Method Detail
-
replaceValue
public String replaceValue(String fieldName, de.xima.aspose.processor.interfaces.IDataAdapter dataAdapter)
- Specified by:
replaceValuein interfacede.xima.aspose.processor.interfaces.IReplacer
-
getInsertionType
public de.xima.aspose.processor.enums.EReplacementInsertionType getInsertionType(String name)
- Specified by:
getInsertionTypein interfacede.xima.aspose.processor.interfaces.IReplacer
-
getPatternList
public List<Pattern> getPatternList()
- Specified by:
getPatternListin interfacede.xima.aspose.processor.interfaces.IReplacer
-
matchPlaceholder
public boolean matchPlaceholder(String text)
- Specified by:
matchPlaceholderin interfacede.xima.aspose.processor.interfaces.IReplacer
-
getFieldValues
public List<String[]> getFieldValues(String fieldName)
- Specified by:
getFieldValuesin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
hasField
public boolean hasField(String fieldName)
- Specified by:
hasFieldin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
getFieldValuesMap
public Map<String,List<String[]>> getFieldValuesMap()
- Specified by:
getFieldValuesMapin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
isElementLooped
public boolean isElementLooped(String elementName)
- Specified by:
isElementLoopedin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
loopCount
public int loopCount(String elementName)
- Specified by:
loopCountin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
getMetaDataMap
public Map<String,String> getMetaDataMap()
- Specified by:
getMetaDataMapin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
resolveAliasName
public String resolveAliasName(String alias)
- Specified by:
resolveAliasNamein interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
getFieldOptions
public HashMap<String,HashMap<String,String>> getFieldOptions(String identifier, boolean asAlias)
- Specified by:
getFieldOptionsin interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
asStringValue
public String asStringValue(List<String[]> value)
- Specified by:
asStringValuein interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
asStringValue
public String asStringValue(String[] value)
- Specified by:
asStringValuein interfacede.xima.aspose.processor.interfaces.IDataAdapter
-
-