Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlauzond2005-03-30 13:55:13 +0000
committerlauzond2005-03-30 13:55:13 +0000
commit7c3b0f4a2b3f07949311a6f3d41d14b28457b770 (patch)
tree0ec4993f7b0c956e0f196ccc65dbd1bcf2afb9e0 /bundles/org.eclipse.wst.wsi/wsicore/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java
parent5c21ad324b8386a3d7609119fdaad54070f81b0b (diff)
downloadwebtools.webservices-7c3b0f4a2b3f07949311a6f3d41d14b28457b770.tar.gz
webtools.webservices-7c3b0f4a2b3f07949311a6f3d41d14b28457b770.tar.xz
webtools.webservices-7c3b0f4a2b3f07949311a6f3d41d14b28457b770.zip
Initial compilation of WSVT code base
Diffstat (limited to 'bundles/org.eclipse.wst.wsi/wsicore/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java')
-rw-r--r--bundles/org.eclipse.wst.wsi/wsicore/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/bundles/org.eclipse.wst.wsi/wsicore/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java b/bundles/org.eclipse.wst.wsi/wsicore/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java
new file mode 100644
index 000000000..e661c1020
--- /dev/null
+++ b/bundles/org.eclipse.wst.wsi/wsicore/org/eclipse/wst/wsi/internal/core/profile/validator/BaseValidator.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2002-2005 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 - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.wst.wsi.internal.core.profile.validator;
+
+import org.eclipse.wst.wsi.internal.core.WSIException;
+
+import org.w3c.dom.Document;
+
+/**
+ * The base interface for the profile validator.
+ *
+ * @version 1.0.1
+ * @author Peter Brittenham (peterbr@us.ibm.com)
+ */
+public interface BaseValidator
+{
+ /**
+ * Set all test assertions for an artifact to missingInput.
+ * @throws WSIException if there is any problems while processing.
+ */
+ public void setAllMissingInput() throws WSIException;
+
+ /**
+ * Cleanup after processing all of the test assertions for an artifact.
+ * @throws WSIException if there is any problems during cleanup.
+ */
+ public void cleanup() throws WSIException;
+
+ /**
+ * Parse XML document and validate with a schema document.
+ * @param urlString XML document location.
+ * @param baseURI a base url to assist in locating the XML document.
+ * @param schema the related XML schema.
+ * @return XML document.
+ * @throws WSIException if there are any problems while parsing or
+ * validating the XML document.
+ */
+ public Document parseXMLDocumentURL(
+ String urlString,
+ String baseURI,
+ String schema)
+ throws WSIException;
+}

Back to the top