com.regnosys.rosetta.translate.basic.BooleanParseHandler Maven / Gradle / Ivy
package com.regnosys.rosetta.translate.basic;
public class BooleanParseHandler extends BasicParseHandler {
public BooleanParseHandler(boolean allowsMultiple, boolean isCondition, boolean removeHtml) {
super(allowsMultiple, isCondition, removeHtml);
}
public BooleanParseHandler(boolean allowsMultiple, boolean isCondition, boolean removeHtml, String patternMatch, String patternReplace) {
super(allowsMultiple, isCondition, removeHtml, patternMatch, patternReplace);
}
@Override
public String toString() {
return "Boolean";
}
@Override
protected Boolean convert(String value) {
return Boolean.valueOf(value);
}
}