2 * Copyright (c) 2002-2004 Widespace, OU 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
9 * Igor Malinin - initial contribution
11 * $Id: IXMLSyntaxConstants.java,v 1.2 2006-10-21 23:14:13 pombredanne Exp $
14 package net.sourceforge.phpeclipse.xml.ui.text;
17 * @author Igor Malinin
19 public interface IXMLSyntaxConstants {
22 * Note: This constant is for internal use only. Clients should not use this
23 * constant. The prefix all color constants start with.
25 String PREFIX = "xml_"; //$NON-NLS-1$
27 /** The style key for XML text. */
28 String XML_DEFAULT = PREFIX + "text"; //$NON-NLS-1$
30 /** The style key for XML tag names. */
31 String XML_TAG = PREFIX + "tag"; //$NON-NLS-1$
33 /** The style key for XML attribute names. */
34 String XML_ATT_NAME = PREFIX + "attribute"; //$NON-NLS-1$
36 /** The style key for XML attribute values. */
37 String XML_ATT_VALUE = PREFIX + "string"; //$NON-NLS-1$
39 /** The style key for XML entities. */
40 String XML_ENTITY = PREFIX + "entity"; //$NON-NLS-1$
42 /** The style key for XML processing instructions. */
43 String XML_PI = PREFIX + "processing_instruction"; //$NON-NLS-1$
45 /** The style key for XML CDATA sections. */
46 String XML_CDATA = PREFIX + "cdata"; //$NON-NLS-1$
48 /** The style key for XML comments. */
49 String XML_COMMENT = PREFIX + "comment"; //$NON-NLS-1$
51 /** The style key for XML declaration. */
52 String XML_DECL = PREFIX + "declaration"; //$NON-NLS-1$
54 /** The style key for external DTD conditional sections. */
55 String DTD_CONDITIONAL = PREFIX + "conditional"; //$NON-NLS-1$
57 /** The style key for SMARTY tag names. */
58 String XML_SMARTY = PREFIX + "smarty"; //$NON-NLS-1$