Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpavery2006-02-15 22:26:48 +0000
committerpavery2006-02-15 22:26:48 +0000
commit7ff6bd2d9e87b8a305fb2c996c8350cc3051e601 (patch)
tree139c568afc8090db42e994c217c275589a69e4fc /bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/provisional/text/IXMLPartitions.java
parent3f79184e8608c5659ee5bc4817421278991e5505 (diff)
downloadwebtools.sourceediting-7ff6bd2d9e87b8a305fb2c996c8350cc3051e601.tar.gz
webtools.sourceediting-7ff6bd2d9e87b8a305fb2c996c8350cc3051e601.tar.xz
webtools.sourceediting-7ff6bd2d9e87b8a305fb2c996c8350cc3051e601.zip
replacing and deprecating partition types (to be removed 1.5)
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/provisional/text/IXMLPartitions.java')
-rw-r--r--bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/provisional/text/IXMLPartitions.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/provisional/text/IXMLPartitions.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/provisional/text/IXMLPartitions.java
new file mode 100644
index 0000000000..0ac81bf407
--- /dev/null
+++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/provisional/text/IXMLPartitions.java
@@ -0,0 +1,32 @@
+package org.eclipse.wst.xml.core.internal.provisional.text;
+
+
+
+/**
+ * This interface is not intended to be implemented.
+ * It defines the partition types for XML.
+ * Clients should reference the partition type Strings defined here directly.
+ *
+ * @deprecated use org.eclipse.wst.xml.core.text
+ */
+public interface IXMLPartitions {
+
+ String XML_DEFAULT = "org.eclipse.wst.xml.XML_DEFAULT"; //$NON-NLS-1$
+ String XML_CDATA = "org.eclipse.wst.xml.XML_CDATA"; //$NON-NLS-1$
+ String XML_PI = "org.eclipse.wst.xml.XML_PI"; //$NON-NLS-1$
+ String XML_DECLARATION = "org.eclipse.wst.xml.XML_DECL"; //$NON-NLS-1$
+ String XML_COMMENT = "org.eclipse.wst.xml.XML_COMMENT"; //$NON-NLS-1$
+
+ /*
+ * This value is used as a prefix to any unknown processing instructions
+ * we find. The processor target name is converted to uppercase and
+ * appended to the prefix to create a unique partition type.
+ */
+ String PROCESSING_INSTRUCTION_PREFIX = "org.eclipse.wst.xml.PROCESSING_INSTRUCTION:"; //$NON-NLS-1$
+
+ /**
+ * Should match
+ * org.eclipse.wst.sse.core.dtd.partitioning.StructuredTextPartitionerForDTD.ST_DTD_SUBSET
+ */
+ String DTD_SUBSET = "org.eclipse.wst.xml.dtd.internal_subset"; //$NON-NLS-1$
+}

Back to the top