blob: 772788071e3f506b238c938f6afa072c0e4a6b18 [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.core.tests.validation;
import org.eclipse.wst.validation.internal.provisional.core.IValidationContext;
public class ValidationContextForTest implements IValidationContext {
private String[] fURIs = null;
public void setURI(String uri) {
String[] uris = null;
if (uri != null)
uris = new String[]{uri};
setURIs(uris);
}
public void setURIs(String[] uris) {
fURIs = uris;
}
public String[] getURIs() {
if (fURIs != null)
return fURIs;
return new String[0];
}
public Object loadModel(String symbolicName) {
return null;
}
public Object loadModel(String symbolicName, Object[] parms) {
return null;
}
}