diff options
Diffstat (limited to 'bundles/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java')
-rw-r--r-- | bundles/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/bundles/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java b/bundles/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java deleted file mode 100644 index c724460f8..000000000 --- a/bundles/org.eclipse.wst.wsdl.validation/src/wsdlvalidate/org/eclipse/wst/wsdl/validation/internal/wsdl11/IWSDL11ValidationInfo.java +++ /dev/null @@ -1,114 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 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 - *******************************************************************************/ - -package org.eclipse.wst.wsdl.validation.internal.wsdl11; - -import java.util.Hashtable; - -import org.apache.xerces.xs.XSModel; -import org.eclipse.wst.wsdl.validation.internal.resolver.IURIResolver; - -/** - * An interface for WSDL 1.1 validation information. Uses an existing - * validation info object and provides methods to set and retrieve - * schemas and convenience methods for setting errors with objects. - */ -public interface IWSDL11ValidationInfo -{ - /** - * Returns the URI of the file being validated. - * - * @return The URI of the file being validated. - */ - public String getFileURI(); - - /** - * Add a schema to the list of schemas available for this WSDL document. - * - * @param xsModel The schema to add to the list. - */ - public void addSchema(XSModel xsModel); - - /** - * Get an array of all the schemas available for this WSDL document. - * - * @return An array of all the schemas available for this WSDL document. - */ - public XSModel[] getSchemas(); - - /** - * Clear all the stored schemas. - */ - public void clearSchemas(); - - /** - * Set the element locations hashtable. - * - * @param elementLocations The hashtable to set with the element locations. - */ - public void setElementLocations(Hashtable elementLocations); - - /** - * Convenience method for extensibly validators to add error messages. - * - * @param message The error to add. - * @param element The object to add the error for. - */ - public void addError(String message, Object element); - - /** - * Convenience method for extensibly validators to add error messages. - * - * @param message The error to add. - * @param element The object to add the error for. - * @param errorKey The error key for this message - * @param messageArguments The strings used to create the message. - */ - public void addError(String message, Object element, String errorKey, Object[] messageArguments); - - /** - * Add an error message at the given line and column. - * - * @param message The error to add. - * @param line The line location of the error. - * @param column The column location of the error. - * @param uri The uri of the file containing the error. - */ - public void addError(String message, int line, int column, String uri); - - /** - * Convenience method for extensibly validators to add warning messages. - * - * @param message The warning to add. - * @param element The object to add the warning for. - */ - public void addWarning(String message, Object element); - - /** - * Add a warning message at the given line and column. - * - * @param message The warning to add. - * @param line The line location of the warning. - * @param column The column location of the warning. - * @param uri The uri of the file containing the warning. - */ - public void addWarning(String message, int line, int column, String uri); - - /** - * Get the URI resolver in use for this validation. The URI resolver - * returned is actually a URI resolver handler that will - * iterate through all of the registered URI resolvers. - * - * @return The URI resolver handler. - */ - public IURIResolver getURIResolver(); -} - |