-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Util classes used for building the Xform XML String
- Loading branch information
1 parent
3b114b4
commit 3495347
Showing
3 changed files
with
538 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/jmh/java/org/javarosa/benchmarks/utils/builder/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); | ||
} |
Oops, something went wrong.