Skip to content

Commit

Permalink
Added Util classes used for building the Xform XML String
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTheBeloved committed Jul 9, 2019
1 parent 3b114b4 commit 3495347
Show file tree
Hide file tree
Showing 3 changed files with 538 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/jmh/java/org/javarosa/benchmarks/utils/builder/Constants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package org.javarosa.benchmarks.utils.builder;

public class Constants {

public static String EMPTY_STRING = "";
public static String DOUBLE_QUOTE = "\"";
public static String SPACE = " ";
public static String OPEN_TOKEN = "<";
public static String CLOSE_TOKEN = ">";
public static String FORWARD_SLASH = "/";
public static String EQUALS = "=";
public static String HTML = "html";
public static String HEAD = "head";
public static String BODY = "body";
public static String TITLE = "title";
public static String MODEL = "model";
public static String INSTANCE = "instance";
public static String BIND = "bind";
public static String NODE_SET = "nodeset";
public static String ITEM_SET = "itemset";
public static String ITEM = "item";
public static String LABEL = "label";
public static String REF = "ref";
public static String HINT = "hint";
public static String VALUE = "value";
public static String UPLOAD = "upload";
public static String RANGE = "range";
public static String ODK_RANK = "odk:rank";
public static String SELECT_MULTIPLE = "select";
public static String SELECT_ONE = "select1";
public static String INPUT_TEXT = "input";
public static String GROUP = "group";
public static String NEW_LINE = System.getProperty("line.separator");
}
Loading

0 comments on commit 3495347

Please sign in to comment.