1b5840353SAdam Hornáček /* 2b5840353SAdam Hornáček * CDDL HEADER START 3b5840353SAdam Hornáček * 4b5840353SAdam Hornáček * The contents of this file are subject to the terms of the 5b5840353SAdam Hornáček * Common Development and Distribution License (the "License"). 6b5840353SAdam Hornáček * You may not use this file except in compliance with the License. 7b5840353SAdam Hornáček * 8b5840353SAdam Hornáček * See LICENSE.txt included in this distribution for the specific 9b5840353SAdam Hornáček * language governing permissions and limitations under the License. 10b5840353SAdam Hornáček * 11b5840353SAdam Hornáček * When distributing Covered Code, include this CDDL HEADER in each 12b5840353SAdam Hornáček * file and include the License file at LICENSE.txt. 13b5840353SAdam Hornáček * If applicable, add the following below this CDDL HEADER, with the 14b5840353SAdam Hornáček * fields enclosed by brackets "[]" replaced with your own identifying 15b5840353SAdam Hornáček * information: Portions Copyright [yyyy] [name of copyright owner] 16b5840353SAdam Hornáček * 17b5840353SAdam Hornáček * CDDL HEADER END 18b5840353SAdam Hornáček */ 19b5840353SAdam Hornáček 20b5840353SAdam Hornáček /* 21*5d9f3aa0SAdam Hornáček * Copyright (c) 2017, 2018, Chris Fraire <cfraire@me.com>. 22b5840353SAdam Hornáček */ 239805b761SAdam Hornáček package org.opengrok.indexer.web; 24b5840353SAdam Hornáček 25b5840353SAdam Hornáček /** 26b5840353SAdam Hornáček * Represents a container class for string constants related to production of 27b5840353SAdam Hornáček * HTML. 28b5840353SAdam Hornáček */ 29b5840353SAdam Hornáček public class HtmlConsts { 30b5840353SAdam Hornáček public static final String SPAN_A = "<span class=\"a\">"; 31b5840353SAdam Hornáček public static final String SPAN_B = "<span class=\"b\">"; 32b5840353SAdam Hornáček public static final String SPAN_C = "<span class=\"c\">"; 33b5840353SAdam Hornáček public static final String SPAN_D = "<span class=\"d\">"; 34b5840353SAdam Hornáček public static final String SPAN_N = "<span class=\"n\">"; 35b5840353SAdam Hornáček public static final String SPAN_S = "<span class=\"s\">"; 36b5840353SAdam Hornáček public static final String ZSPAN = "</span>"; 37b5840353SAdam Hornáček 38b5840353SAdam Hornáček public static final String SPAN_FMT = "<span class=\"%s\">"; 39b5840353SAdam Hornáček 40b5840353SAdam Hornáček public static final String AUTHOR_CLASS = "a"; 41b5840353SAdam Hornáček public static final String BOLD_CLASS = "b"; 42b5840353SAdam Hornáček public static final String COMMENT_CLASS = "c"; 43b5840353SAdam Hornáček public static final String DELETED_CLASS = "d"; 44b5840353SAdam Hornáček public static final String MACRO_CLASS = "xm"; 45b5840353SAdam Hornáček public static final String NUMBER_CLASS = "n"; 46b5840353SAdam Hornáček public static final String STRING_CLASS = "s"; 47b5840353SAdam Hornáček 48b5840353SAdam Hornáček public static final String B = "<b>"; 49b5840353SAdam Hornáček public static final String ZB = "</b>"; 50b5840353SAdam Hornáček 51b5840353SAdam Hornáček public static final String BR = "<br/>"; 52b5840353SAdam Hornáček 53b5840353SAdam Hornáček public static final String HELLIP = "…"; 544ce4e2b9SAdam Hornáček 55ff44f24aSAdam Hornáček /** Private to enforce static. */ HtmlConsts()56ff44f24aSAdam Hornáček private HtmlConsts() { 57ff44f24aSAdam Hornáček } 58b5840353SAdam Hornáček } 59