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

org.xwiki.xml.html.HTMLConstants Maven / Gradle / Ivy

/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.xwiki.xml.html;

/**
 * HTML Constants.
 *
 * @version $Id: 4cadee7c30e1dd532236650c4e3219479ddee7b5 $
 * @since 1.6M2
 */
public interface HTMLConstants
{
    /**
     * White space characters.
     * 
    *
  • {@code \u0020} - Ascii space.
  • *
  • {@code \u0009} - Ascii tab.
  • *
  • {@code \u000C} - Ascii form feed.
  • *
  • {@code \u200B} - Zero width space.
  • *
  • {@code \u000A} - New line.
  • *
  • {@code \u000D} - Carriage return.
  • *
*/ String WHITE_SPACE_CHARS = "\u0020\u0009\u000C\u200B\n\r"; /** * HTML <html@gt; tag name. */ String TAG_HTML = "html"; /** * HTML <head@gt; tag name. */ String TAG_HEAD = "head"; /** * HTML <body@gt; tag name. */ String TAG_BODY = "body"; /** * HTML <style> tag name. */ String TAG_STYLE = "style"; /** * HTML <script> tag name. */ String TAG_SCRIPT = "script"; /** * HTML <a> tag name. */ String TAG_A = "a"; /** * HTML <del> tag name. */ String TAG_DEL = "del"; /** * HTML <i> tag name. */ String TAG_I = "i"; /** * HTML <em> tag name. */ String TAG_EM = "em"; /** * HTML <dfn> tag name. */ String TAG_DFN = "dfn"; /** * HTML <code> tag name. */ String TAG_CODE = "code"; /** * HTML <samp> tag name. */ String TAG_SAMP = "samp"; /** * HTML <kbd> tag name. */ String TAG_KBD = "kbd"; /** * HTML <var> tag name. */ String TAG_VAR = "var"; /** * HTML <cite> tag name. */ String TAG_CITE = "cite"; /** * HTML <abbr> tag name. */ String TAG_ABBR = "abbr"; /** * HTML <acronym> tag name. */ String TAG_ACRONYM = "acronym"; /** * HTML <address> tag name. */ String TAG_ADDRESS = "address"; /** * HTML <blockquote> tag name. */ String TAG_BLOCKQUOTE = "blockquote"; /** * HTML <q> tag name. */ String TAG_Q = "q"; /** * HTML <pre> tag name. */ String TAG_PRE = "pre"; /** * HTML <u> tag name. */ String TAG_U = "u"; /** * HTML <s> tag name. */ String TAG_S = "s"; /** * HTML <strike> tag name. */ String TAG_STRIKE = "strike"; /** * HTML <ins> tag name. */ String TAG_INS = "ins"; /** * HTML <b> tag name. */ String TAG_B = "b"; /** * HTML <strong> tag name. */ String TAG_STRONG = "strong"; /** * HTML <tt> tag name. * @since 14.0RC1 */ String TAG_TT = "tt"; /** * HTML <p> tag name. */ String TAG_P = "p"; /** * HTML <div> tag name. */ String TAG_DIV = "div"; /** * HTML <span> tag name. */ String TAG_SPAN = "span"; /** * HTML <center> tag name. */ String TAG_CENTER = "center"; /** * HTML <font> tag name. */ String TAG_FONT = "font"; /** * HTML <h1> tag name. */ String TAG_H1 = "h1"; /** * HTML <h2> tag name. */ String TAG_H2 = "h2"; /** * HTML <h3> tag name. */ String TAG_H3 = "h3"; /** * HTML <h4> tag name. */ String TAG_H4 = "h4"; /** * HTML <h5> tag name. */ String TAG_H5 = "h5"; /** * HTML <h6> tag name. */ String TAG_H6 = "h6"; /** * HTML <br> tag name. */ String TAG_BR = "br"; /** * HTML <ul> tag name. */ String TAG_UL = "ul"; /** * HTML <ol> tag name. */ String TAG_OL = "ol"; /** * HTML <li> tag name. */ String TAG_LI = "li"; /** * HTML <img> tag name. */ String TAG_IMG = "img"; /** * HTML <table> tag name. */ String TAG_TABLE = "table"; /** * HTML <tr> tag name. */ String TAG_TR = "tr"; /** * HTML <td> tag name. */ String TAG_TD = "td"; /** * HTML <th> tag name. */ String TAG_TH = "th"; /** * HTML <fieldset> tag name. */ String TAG_FIELDSET = "fieldset"; /** * HTML <form> tag name. */ String TAG_FORM = "form"; /** * HTML <hr> tag name. */ String TAG_HR = "hr"; /** * HTML <noscript> tag name. */ String TAG_NOSCRIPT = "noscript"; /** * HTML <dl> tag name. */ String TAG_DL = "dl"; /** * HTML <article> tag. * @since 14.0RC1 */ String TAG_ARTICLE = "article"; /** * HTML <aside> tag. * @since 14.0RC1 */ String TAG_ASIDE = "aside"; /** * HTML <details> tag. * @since 14.0RC1 */ String TAG_DETAILS = "details"; /** * HTML <figure> tag. * @since 14.0RC1 */ String TAG_FIGURE = "figure"; /** * HTML <figcaption> tag. * @since 14.0RC1 */ String TAG_FIGCAPTION = "figcaption"; /** * HTML <footer> tag. * @since 14.0RC1 */ String TAG_FOOTER = "footer"; /** * HTML <header> tag. * @since 14.0RC1 */ String TAG_HEADER = "header"; /** * HTML <hgroup> tag. * @since 14.0RC1 */ String TAG_HGROUP = "hgroup"; /** * HTML <main> tag. * @since 14.0RC1 */ String TAG_MAIN = "main"; /** * HTML <menu> tag. * @since 14.0RC1 */ String TAG_MENU = "menu"; /** * HTML <nav> tag. * @since 14.0RC1 */ String TAG_NAV = "nav"; /** * HTML <section> tag. * @since 14.0RC1 */ String TAG_SECTION = "section"; /** * HTML <template> tag. * @since 14.0RC1 */ String TAG_TEMPLATE = "template"; /** * HTML <svg> tag. * @since 14.0RC1 */ String TAG_SVG = "svg"; /** * HTML <data> tag. * @since 14.10.9 * @since 15.3 */ String TAG_DATA = "data"; /** * HTML <embed> tag. * @since 14.10.9 * @since 15.3 */ String TAG_EMBED = "embed"; /** * HTML <math> tag. * @since 14.10.9 * @since 15.3 */ String TAG_MATH = "math"; /** * HTML id attribute name. */ String ATTRIBUTE_ID = "id"; /** * HTML name attribute name. */ String ATTRIBUTE_NAME = "name"; /** * HTML src attribute name. */ String ATTRIBUTE_SRC = "src"; /** * HTML alt attribute name. */ String ATTRIBUTE_ALT = "alt"; /** * HTML href attribute name. */ String ATTRIBUTE_HREF = "href"; /** * HTML style attribute name. */ String ATTRIBUTE_STYLE = TAG_STYLE; /** * HTML class attribute name. */ String ATTRIBUTE_CLASS = "class"; /** * HTML align attribute name. */ String ATTRIBUTE_ALIGN = "align"; /** * HTML rowspan table attribute. */ String ATTRIBUTE_ROWSPAN = "rowspan"; /** * HTML font color attribute. */ String ATTRIBUTE_FONTCOLOR = "color"; /** * HTML font face attribute. */ String ATTRIBUTE_FONTFACE = "face"; /** * HTML font size attribute. */ String ATTRIBUTE_FONTSIZE = "size"; /** * HTML target attribute. */ String ATTRIBUTE_TARGET = "target"; /** * HTML rel attribute. */ String ATTRIBUTE_REL = "rel"; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy