Modifier and Type | Field and Description |
---|---|
protected Placeholder |
AbstractLocation.placeholder
占位符类对象
|
Modifier and Type | Method and Description |
---|---|
Placeholder |
ReadLocation.getPlaceholder()
该方法用于返回占位符类对象
|
Placeholder |
AbstractLocation.getPlaceholder() |
Modifier and Type | Field and Description |
---|---|
protected Placeholder |
AbstractSikuliLocation.placeholder
占位符类对象
|
Modifier and Type | Field and Description |
---|---|
protected Placeholder |
AbstractCaseTemplet.placeholder
存储xml文件中所有的占位符
|
Modifier and Type | Method and Description |
---|---|
Placeholder |
AbstractCaseTemplet.getPlaceholder()
该方法用于返回当前存储的占位符类对象
|
Placeholder |
CaseData.getPlaceholder()
该方法用于返回模板的占位符类对象
|
Modifier and Type | Method and Description |
---|---|
Placeholder |
Placeholder.addPlaceholder(Placeholder placeholder,
boolean isRepeatSkip)
该方法用于根据已有的占位符类对象,将其替换词语和替换公式复制到当前类对象中
|
Placeholder |
Placeholder.addReplaceFunction(Map<String,DataFunction> functionMap,
boolean isRepeatSkip)
该方法用于添加待替换的词语及相应的替换方法集合
|
Placeholder |
Placeholder.addReplaceFunction(String regex,
DataFunction function)
用于添加待替换的词语及相应的替换方法
|
Placeholder |
Placeholder.addReplaceWord(Map<String,String> wordMap,
boolean isRepeatSkip)
该方法用于添加一组待替换的词语及相应的替换内容
|
Placeholder |
Placeholder.addReplaceWord(String word,
String replaceWord)
该方法用于添加待替换的词语及相应的替换内容
|
Placeholder |
Placeholder.setPlaceholderSign(String startSign,
String endSign)
该方法用于设置占位符的起始与结束标志
|
Placeholder |
Placeholder.setReplaceDepth(int count)
该方法用于设置替换占位符的深度(替换次数),避免嵌套替换占位符导致死循环
|
Modifier and Type | Method and Description |
---|---|
Placeholder |
Placeholder.addPlaceholder(Placeholder placeholder,
boolean isRepeatSkip)
该方法用于根据已有的占位符类对象,将其替换词语和替换公式复制到当前类对象中
|
Constructor and Description |
---|
Placeholder(Placeholder placeholder)
根据已有的占位符对象,构造新的占位符类对象
|
Modifier and Type | Field and Description |
---|---|
protected Placeholder |
WriteTempletFile.placeholder
占位符类对象
|
Modifier and Type | Method and Description |
---|---|
Placeholder |
WriteTempletFile.getPlaceholder()
该方法用于返回当前存储的占位符类对象,若修改了占位符类对象的内容,
需要通过
WriteTempletFile.setPlaceholder(Placeholder) 方法对重新生成的占位符类对象进行整体设置 |
Modifier and Type | Method and Description |
---|---|
T |
WriteTempletFile.addContent(String field,
int index,
Placeholder placeholder,
String... contents)
根据传入的字段信息,将指定的内容插入到用例相应字段的指定下标下,并且可传入临时的占位符类对象,对文本中的占位符进行替换,且不影响已添加的替换词语
|
T |
WriteTempletFile.addContent(String field,
Placeholder placeholder,
String... contents)
根据传入的字段信息,将指定的内容插入到用例相应字段的末尾,并且可传入临时的占位符类对象,对文本中的占位符进行替换,且不影响已添加的替换词语
|
void |
WriteTempletFile.setPlaceholder(Placeholder placeholder)
该方法用于设置自定义的占位符类对象
|
Modifier and Type | Method and Description |
---|---|
T |
WriteExcelTempletFile.addContent(String field,
int index,
Placeholder placeholder,
String... contents) |
Copyright © 2024. All rights reserved.