blob: 7cd8679a5f0bde0be962e82762f19765a6979773 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 Jesper Moller, 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:
* Jesper Moller - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.xml.xpath2.api;
import javax.xml.namespace.QName;
import org.eclipse.wst.xml.xpath2.api.typesystem.ItemType;
/**
* @since 2.0
*/
public interface StaticVariableResolver {
/**
* Is the variable present in the current context.
*
* @param name Variable name
* @return Availability of the variable
*/
boolean isVariablePresent(QName name);
/**
* @param name
* @return
*/
ItemType getVariableType(QName name);
}