All Downloads are FREE. Search and download functionalities are using the official Maven repository.

simplexml.utils.Constants Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package simplexml.utils;

public enum Constants {;

    public static final char
        CHAR_FORWARD_SLASH = '/',
        CHAR_SPACE = ' ',
        CHAR_EQUALS = '=',
        CHAR_LESS_THAN = '<',
        CHAR_GREATER_THAN = '>',
        CHAR_QUESTION_MARK = '?',
        CHAR_SINGLE_QUOTE = '\'',
        CHAR_DOUBLE_QUOTE = '"',
        CHAR_AMPERSAND = '&';

    public static final char
        XML_TAG_START = CHAR_LESS_THAN,
        XML_TAG_END = CHAR_GREATER_THAN,
        XML_SELF_CLOSING = CHAR_FORWARD_SLASH,
        XML_PROLOG = CHAR_QUESTION_MARK;

    public static final String
        EMPTY = "",
        SPACE = " ",
        INDENT = "  ",
        LESS_THAN = "<",
        GREATER_THAN = ">",
        AMPERSAND = "&",
        EQUALS = "=",
        HASH = "#",
        SEMICOLON = ";",
        DOUBLE_QUOTE = "\"",
        FORWARD_SLASH = "/",
        NEW_LINE = "\n";

    public static final String
        ENCODED_LESS_THAN = "<",
        ENCODED_GREATER_THAN = ">",
        ENCODED_SINGLE_QUOTE = "'",
        ENCODED_DOUBLE_QUOTE = """,
        ENCODED_AMPERSAND = "&",
        ENCODED_UTF8 = "&#";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy