amywu | ecebb04 | 2007-04-10 20:07:35 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2005, 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 | *******************************************************************************/ |
pavery | 7ff6bd2 | 2006-02-15 22:26:48 +0000 | [diff] [blame] | 11 | package org.eclipse.wst.xml.core.internal.provisional.text; |
| 12 | |
| 13 | |
| 14 | |
| 15 | /** |
| 16 | * This interface is not intended to be implemented. |
| 17 | * It defines the partition types for XML. |
| 18 | * Clients should reference the partition type Strings defined here directly. |
| 19 | * |
| 20 | * @deprecated use org.eclipse.wst.xml.core.text |
| 21 | */ |
| 22 | public interface IXMLPartitions { |
| 23 | |
| 24 | String XML_DEFAULT = "org.eclipse.wst.xml.XML_DEFAULT"; //$NON-NLS-1$ |
| 25 | String XML_CDATA = "org.eclipse.wst.xml.XML_CDATA"; //$NON-NLS-1$ |
| 26 | String XML_PI = "org.eclipse.wst.xml.XML_PI"; //$NON-NLS-1$ |
| 27 | String XML_DECLARATION = "org.eclipse.wst.xml.XML_DECL"; //$NON-NLS-1$ |
| 28 | String XML_COMMENT = "org.eclipse.wst.xml.XML_COMMENT"; //$NON-NLS-1$ |
| 29 | |
| 30 | /* |
| 31 | * This value is used as a prefix to any unknown processing instructions |
| 32 | * we find. The processor target name is converted to uppercase and |
| 33 | * appended to the prefix to create a unique partition type. |
| 34 | */ |
| 35 | String PROCESSING_INSTRUCTION_PREFIX = "org.eclipse.wst.xml.PROCESSING_INSTRUCTION:"; //$NON-NLS-1$ |
| 36 | |
| 37 | /** |
| 38 | * Should match |
| 39 | * org.eclipse.wst.sse.core.dtd.partitioning.StructuredTextPartitionerForDTD.ST_DTD_SUBSET |
| 40 | */ |
| 41 | String DTD_SUBSET = "org.eclipse.wst.xml.dtd.internal_subset"; //$NON-NLS-1$ |
| 42 | } |