| /******************************************************************************* |
| * 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.ui.ant; |
| |
| import org.apache.tools.ant.Task; |
| |
| /** |
| * The URIResolver task allows specifying an extension URI resolver with |
| * the WSDLValidate Ant task. |
| */ |
| public class URIResolver extends Task |
| { |
| private String clazz = null; |
| |
| /** |
| * Set the class name of the extension URI resolver. |
| * |
| * @param clazz The class name of the extension URI resolver. |
| */ |
| public void setClassName(String clazz) |
| { |
| this.clazz = clazz; |
| } |
| |
| /** |
| * Get the class name of the extension URI resolver. |
| * |
| * @return The class name of the extension URI resolver. |
| */ |
| public String getClassName() |
| { |
| return clazz; |
| } |
| } |