本文整理汇总了Java中net.ssehub.easy.varModel.model.values.StringValue.getValue方法的典型用法代码示例。如果您正苦于以下问题:Java StringValue.getValue方法的具体用法?Java StringValue.getValue怎么用?Java StringValue.getValue使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.ssehub.easy.varModel.model.values.StringValue
的用法示例。
在下文中一共展示了StringValue.getValue方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
String val = value.getValue();
val = DroolsVisitor.processStringEscapeSequences(val);
if (this.visitingNonNested) {
if (visitingConatinerValue) {
this.value += "\"" + val + "\"";
} else {
this.declaration += " = " + "\"" + val + "\"";
}
} else if (visitingNested) {
if (visitingConatinerValue) {
this.value += "\"" + val + "\"";
} else {
this.compDeclaration += " = " + "\"" + val + "\"";
}
} else if (visitingConfiguration) {
this.value += "(\"" + val + "\")";
}
}
示例2: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
String val = value.getValue();
if (null != val) {
appendOutput(QUOTES);
appendOutput(StringEscapeUtils.escapeJava(val));
appendOutput(QUOTES);
}
}
示例3: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
String val = value.getValue();
val = DroolsVisitor.processStringEscapeSequences(val);
rule += "\"" + val + "\"";
compoundInitValue += "\"" + val + "\"";
}
示例4: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
String val = value.getValue();
// val = val.replace("\\", "\\" + "\\");
// val = val.replace("\"", "\\\"");
val = DroolsVisitor.processStringEscapeSequences(val);
if (modificationConstraint) {
modification += "\"" + val + "\"";
} else {
constraint += "\"" + val + "\"";
}
}
示例5: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
String val = value.getValue();
val = DroolsVisitor.processStringEscapeSequences(val);
constraint += "\"" + val + "\"";
}
示例6: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
String val = value.getValue();
// val = val.replace("\\", "\\" + "\\");
// val = val.replace("\"", "\\\"");
val = DroolsVisitor.processStringEscapeSequences(val);
constraint += "\"" + val + "\"";
}
示例7: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
result = value.getValue();
}
示例8: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
stringValue = value.getValue();
this.value = stringValue;
}
示例9: visitStringValue
import net.ssehub.easy.varModel.model.values.StringValue; //导入方法依赖的package包/类
@Override
public void visitStringValue(StringValue value) {
constraint += "\"" + value.getValue() + "\"";
}