Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
public class CBX_Sample {
    public String testBuildXML(int valString info) {
        StringBuffer sb = new StringBuffer();
        sb.append("<sample>");
        sb.append("<test name='" + val + "'>" + info + "</test>");
        sb.append("</sample>");
        return sb.toString();
    }
}
New to GrepCode? Check out our FAQ X