01: package net.sf.saxon.expr;
02:
03: import net.sf.saxon.instruct.Executable;
04: import net.sf.saxon.event.LocationProvider;
05:
06: import javax.xml.transform.SourceLocator;
07:
08: /**
09: * A Container is something that can act as the parent of an expression. It is either an
10: * expression that can have subexpressions (which rules out Values), or an object such as a function,
11: * a template, or an attribute set that is not itself an expression but that can contain expressions
12: */
13:
14: public interface Container extends SourceLocator {
15:
16: /**
17: * Get the Executable (representing a complete stylesheet or query) of which this Container forms part
18: */
19:
20: public Executable getExecutable();
21:
22: /**
23: * Get the LocationProvider allowing location identifiers to be resolved.
24: */
25:
26: public LocationProvider getLocationProvider();
27:
28: }
29:
30: //
31: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
32: // you may not use this file except in compliance with the License. You may obtain a copy of the
33: // License at http://www.mozilla.org/MPL/
34: //
35: // Software distributed under the License is distributed on an "AS IS" basis,
36: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
37: // See the License for the specific language governing rights and limitations under the License.
38: //
39: // The Original Code is: all this file.
40: //
41: // The Initial Developer of the Original Code is Michael H. Kay.
42: //
43: // Contributor(s): Michael Kay
44: //
|