01: package net.sf.saxon.style;
02:
03: import net.sf.saxon.expr.StaticContext;
04: import net.sf.saxon.trans.XPathException;
05:
06: /**
07: * Extends the standard XPath static context with information that is available for
08: * XPath expressions invoked from XSLT
09: */
10:
11: public interface XSLTStaticContext extends StaticContext {
12:
13: /**
14: * Determine if an extension element is available
15: * @throws net.sf.saxon.trans.XPathException if the name is invalid or the prefix is not declared
16: */
17:
18: public boolean isElementAvailable(String qname)
19: throws XPathException;
20: }
21:
22: //
23: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
24: // you may not use this file except in compliance with the License. You may obtain a copy of the
25: // License at http://www.mozilla.org/MPL/
26: //
27: // Software distributed under the License is distributed on an "AS IS" basis,
28: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
29: // See the License for the specific language governing rights and limitations under the License.
30: //
31: // The Original Code is: all this file.
32: //
33: // The Initial Developer of the Original Code is Michael H. Kay
34: //
35: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
36: //
37: // Contributor(s): none.
38: //
|