KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sf > saxon > style > SaxonCallTemplate


1 package net.sf.saxon.style;
2
3
4 /**
5 * A saxon:call-template element in the stylesheet. This differs from the standard
6  * xsl:call-template in that the template name can be specified as an attribute
7  * value template
8 */

9
10 public class SaxonCallTemplate extends XSLCallTemplate {
11
12     /**
13      * Determine whether the called template name can be specified as an AVT
14      */

15
16     protected boolean allowAVT() {
17         return true;
18     }
19
20     /**
21     * Determine whether this type of element is allowed to contain an xsl:fallback
22     * instruction
23     */

24
25     public boolean mayContainFallback() {
26         return true;
27     }
28
29 }
30
31 //
32
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
33
// you may not use this file except in compliance with the License. You may obtain a copy of the
34
// License at http://www.mozilla.org/MPL/
35
//
36
// Software distributed under the License is distributed on an "AS IS" basis,
37
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
38
// See the License for the specific language governing rights and limitations under the License.
39
//
40
// The Original Code is: all this file.
41
//
42
// The Initial Developer of the Original Code is Michael H. Kay.
43
//
44
// Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
45
//
46
// Contributor(s): none.
47
//
48
Popular Tags