Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'json/bundles/org.eclipse.wst.json.core/src/org/eclipse/wst/json/core/schema/catalog/ICatalogEntry.java')
-rw-r--r--json/bundles/org.eclipse.wst.json.core/src/org/eclipse/wst/json/core/schema/catalog/ICatalogEntry.java67
1 files changed, 67 insertions, 0 deletions
diff --git a/json/bundles/org.eclipse.wst.json.core/src/org/eclipse/wst/json/core/schema/catalog/ICatalogEntry.java b/json/bundles/org.eclipse.wst.json.core/src/org/eclipse/wst/json/core/schema/catalog/ICatalogEntry.java
new file mode 100644
index 0000000000..b692ff36e9
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.core/src/org/eclipse/wst/json/core/schema/catalog/ICatalogEntry.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2002, 2010 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Jens Lukowski/Innoopract - initial renaming/restructuring
+ * Angelo Zerr <angelo.zerr@gmail.com> - copied from org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEntry
+ * modified in order to process JSON Objects.
+ *******************************************************************************/
+package org.eclipse.wst.json.core.schema.catalog;
+
+/**
+ *
+ * <p>
+ * This interface is not intended to be implemented by clients.
+ * </p>
+ *
+ */
+public interface ICatalogEntry extends ICatalogElement
+{
+
+ /** The Schema Catalog Entry type. */
+ public static final int ENTRY_TYPE_SCHEMA = 2;
+
+ /** Attribute name for Web address of catalog entry */
+ public static final String ATTR_WEB_URL = "webURL"; //$NON-NLS-1$
+
+ /**
+ *
+ * @param entryType
+ */
+ public void setEntryType(int entryType);
+
+ /**
+ *
+ * @return
+ */
+ public int getEntryType();
+
+ /**
+ *
+ * @param key
+ */
+ public void setKey(String key);
+
+ /**
+ *
+ * @return
+ */
+ public String getKey();
+
+ /**
+ *
+ * @return
+ */
+ public String getURI();
+
+ /**
+ *
+ * @param uri
+ */
+ public void setURI(String uri);
+}

Back to the top