blob: 1d3fbfdc570f12bedd14fce1095d7b86cee5b467 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsp.ui.tests.validation;
import org.eclipse.wst.validation.internal.provisional.core.IValidationContext;
class ValidationContextForTest implements IValidationContext {
private String fURI = null;
public void setURI(String uri) {
fURI = uri;
}
public String[] getURIs() {
if (fURI != null)
return new String[]{fURI};
return new String[0];
}
public Object loadModel(String symbolicName) {
return null;
}
public Object loadModel(String symbolicName, Object[] parms) {
return null;
}
}