286N/A/*
286N/A * reserved comment block
286N/A * DO NOT REMOVE OR ALTER!
286N/A */
286N/A/*
286N/A * Copyright 1999-2004 The Apache Software Foundation.
286N/A *
286N/A * Licensed under the Apache License, Version 2.0 (the "License");
286N/A * you may not use this file except in compliance with the License.
286N/A * You may obtain a copy of the License at
286N/A *
286N/A * http://www.apache.org/licenses/LICENSE-2.0
286N/A *
286N/A * Unless required by applicable law or agreed to in writing, software
286N/A * distributed under the License is distributed on an "AS IS" BASIS,
286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
286N/A * See the License for the specific language governing permissions and
286N/A * limitations under the License.
286N/A */
286N/A/*
286N/A * $Id: ExtensionsProvider.java,v 1.1.2.1 2005/08/01 01:30:08 jeffsuttor Exp $
286N/A */
286N/Apackage com.sun.org.apache.xpath.internal;
286N/A
286N/Aimport java.util.Vector;
286N/A
286N/Aimport com.sun.org.apache.xpath.internal.functions.FuncExtFunction;
286N/A
286N/A/**
286N/A * Interface that XPath objects can call to obtain access to an
286N/A * ExtensionsTable.
286N/A *
286N/A */
286N/Apublic interface ExtensionsProvider
286N/A{
286N/A /**
286N/A * Is the extension function available?
286N/A */
286N/A
286N/A public boolean functionAvailable(String ns, String funcName)
286N/A throws javax.xml.transform.TransformerException;
286N/A
286N/A /**
286N/A * Is the extension element available?
286N/A */
286N/A public boolean elementAvailable(String ns, String elemName)
286N/A throws javax.xml.transform.TransformerException;
286N/A
286N/A /**
286N/A * Execute the extension function.
286N/A */
286N/A public Object extFunction(String ns, String funcName,
286N/A Vector argVec, Object methodKey)
286N/A throws javax.xml.transform.TransformerException;
286N/A
286N/A /**
286N/A * Execute the extension function.
286N/A */
286N/A public Object extFunction(FuncExtFunction extFunction,
286N/A Vector argVec)
286N/A throws javax.xml.transform.TransformerException;
286N/A}