diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/AbstractSymbolContextResolver.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/AbstractSymbolContextResolver.java | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/AbstractSymbolContextResolver.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/AbstractSymbolContextResolver.java deleted file mode 100644 index aa766a770..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/resolver/AbstractSymbolContextResolver.java +++ /dev/null @@ -1,53 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2008 Oracle 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: - * Oracle Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.jsf.designtime.resolver; - -import org.eclipse.jst.jsf.context.IModelContext; -import org.eclipse.jst.jsf.context.symbol.IMethodSymbol; -import org.eclipse.jst.jsf.context.symbol.IObjectSymbol; -import org.eclipse.jst.jsf.context.symbol.ISymbol; - - -/** - * An abstract that should sub-classed by clients wishing to implement - * the ISymbolContextResolver interface - * - * @author cbateman - * - */ -public abstract class AbstractSymbolContextResolver implements ISymbolContextResolver -{ - public abstract ISymbol[] getAllVariables(); - - public abstract IMethodSymbol getMethod(IObjectSymbol base, Object methodName); - - public abstract ISymbol[] getMethods(IObjectSymbol base); - - public abstract ISymbol[] getProperties(ISymbol symbol); - - public abstract ISymbol getProperty(ISymbol symbol, Object propertyName); - - public abstract ISymbol getVariable(String name); - - public abstract boolean canResolveContext(IModelContext modelContext); - - /** - * Default implementation - * - * We should avoid returning true unless we are positive that changing - * to this context won't change the way symbols are resolved. - */ - public boolean hasSameResolution(IModelContext modelContext) - { - return false; - } - -} |