01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.ui.text.javadoc;
11:
12: /**
13: * Html tag constants.
14: *
15: * @since 3.0
16: */
17: public interface IHtmlTagConstants {
18:
19: /** Html tag close prefix */
20: public static final String HTML_CLOSE_PREFIX = "</"; //$NON-NLS-1$
21:
22: /** Html entity characters */
23: public static final char[] HTML_ENTITY_CHARACTERS = new char[] {
24: '<', '>', ' ', '&', '^', '~', '\"' };
25:
26: /**
27: * Html entity start.
28: * @since 3.3
29: */
30: public static final char HTML_ENTITY_START = '&';
31: /**
32: * Html entity end.
33: * @since 3.3
34: */
35: public static final char HTML_ENTITY_END = ';';
36:
37: /** Html entity codes */
38: public static final String[] HTML_ENTITY_CODES = new String[] {
39: "<", ">", " ", "&", "ˆ", "˜", """ }; //$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[] HTML_GENERAL_TAGS = new String[] {
43: "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$
44:
45: /** Html tag postfix */
46: public static final char HTML_TAG_POSTFIX = '>';
47:
48: /** Html tag prefix */
49: public static final char HTML_TAG_PREFIX = '<';
50: }
|