KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > text > javadoc > IHtmlTagConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.jdt.internal.ui.text.javadoc;
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 JavaDoc 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 start.
29      * @since 3.3
30      */

31     public static final char HTML_ENTITY_START= '&';
32     /**
33      * Html entity end.
34      * @since 3.3
35      */

36     public static final char HTML_ENTITY_END= ';';
37     
38     /** Html entity codes */
39     public static final String JavaDoc[] HTML_ENTITY_CODES= new String JavaDoc[] { "&lt;", "&gt;", "&nbsp;", "&amp;", "&circ;", "&tilde;", "&quot;" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
40

41     /** Html general tags */
42     public static final String JavaDoc[] HTML_GENERAL_TAGS= new String JavaDoc[] { "a", "b", "blockquote", "br", "code", "dd", "dl", "dt", "em", "hr", "h1", "h2", "h3", "h4", "h5", "h6", "i", "li", "nl", "ol", "p", "pre", "q", "strong", "tbody", "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$ //$NON-NLS-28$ //$NON-NLS-29$ //$NON-NLS-30$
43

44     /** Html tag postfix */
45     public static final char HTML_TAG_POSTFIX= '>';
46
47     /** Html tag prefix */
48     public static final char HTML_TAG_PREFIX= '<';
49 }
50
Popular Tags