1 /***************************************************************************** 2 * Copyright (c) 2000, 2003 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Common Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/cpl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *****************************************************************************/ 11 12 package net.sourceforge.phpdt.internal.ui.text.phpdoc; 13 14 /** 15 * Html tag constants. 16 * 17 * @since 3.0 18 */ 19 public interface IHtmlTagConstants { 20 21 /** Html tag close prefix */ 22 public static final String HTML_CLOSE_PREFIX = "</"; //$NON-NLS-1$ 23 24 /** Html entity characters */ 25 public static final char[] HTML_ENTITY_CHARACTERS = new char[] { '<', '>', 26 ' ', '&', '^', '~', '\"' }; 27 28 /** Html entity codes */ 29 public static final String[] HTML_ENTITY_CODES = new String[] { 30 "<", ">", " ", "&", "ˆ", "˜", """ }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ 31 32 /** Html general tags */ 33 public static final String[] HTML_GENERAL_TAGS = new String[] { 34 "b", "blockquote", "br", "code", "dd", "dl", "dt", "em", "hr", "h1", "h2", "h3", "h4", "h5", "h6", "i", "li", "nl", "ol", "p", "pre", "q", "td", "th", "tr", "tt", "ul" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$ //$NON-NLS-8$ //$NON-NLS-9$ //$NON-NLS-10$ //$NON-NLS-11$ //$NON-NLS-12$ //$NON-NLS-13$ //$NON-NLS-14$ //$NON-NLS-15$ //$NON-NLS-16$ //$NON-NLS-17$ //$NON-NLS-18$ //$NON-NLS-19$ //$NON-NLS-20$ //$NON-NLS-21$ //$NON-NLS-22$ //$NON-NLS-23$ //$NON-NLS-24$ //$NON-NLS-25$ //$NON-NLS-26$ //$NON-NLS-27$ 35 36 /** Html tag postfix */ 37 public static final char HTML_TAG_POSTFIX = '>'; 38 39 /** Html tag prefix */ 40 public static final char HTML_TAG_PREFIX = '<'; 41 } 42