KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > icl > saxon > FeatureKeys


1 package com.icl.saxon;
2
3
4 /**
5   * FeatureKeys defines a set of constants, names of Saxon configuration
6   * options which can be supplied to the TransformerFactoryImpl interface
7   *
8   * @author Michael H. Kay (mhkay@iclway.co.uk)
9   */

10
11  
12 public class FeatureKeys {
13
14     /**
15     * ALLOW_EXTERNAL_FUNCTIONS must be a Boolean()
16     */

17
18     public final static String JavaDoc ALLOW_EXTERNAL_FUNCTIONS =
19             "http://icl.com/saxon/feature/allow-external-functions";
20
21
22     /**
23     * TIMING must be an Boolean()
24     */

25
26     public final static String JavaDoc TIMING =
27             "http://icl.com/saxon/feature/timing";
28
29     /**
30     * TREE_MODEL must be an Integer(): Builder.STANDARD_TREE or Builder.TINY_TREE
31     */

32
33     public final static String JavaDoc TREE_MODEL =
34             "http://icl.com/saxon/feature/treeModel";
35     
36     /**
37     * TRACE_LISTENER must be a class that implements com.icl.saxon.trace.TraceListener
38     */

39     
40     public final static String JavaDoc TRACE_LISTENER =
41             "http://icl.com/saxon/feature/traceListener";
42
43     /**
44     * LINE_NUMBERING must be a Boolean()
45     */

46     
47     public final static String JavaDoc LINE_NUMBERING =
48             "http://icl.com/saxon/feature/linenumbering";
49     
50     /**
51     * RECOVERY_POLICY must be an Integer: Controller.RECOVER_SILENTLY,
52     * Controller.RECOVER_WITH_WARNINGS, or Controller.DO_NOT_RECOVER
53     */

54     
55     public final static String JavaDoc RECOVERY_POLICY =
56             "http://icl.com/saxon/feature/recoveryPolicy";
57
58     /**
59     * MESSAGE_EMITTER_CLASS must be the class name of an Emitter
60     */

61     
62     public final static String JavaDoc MESSAGE_EMITTER_CLASS =
63             "http://icl.com/saxon/feature/messageEmitterClass";
64
65     /**
66     * SOURCE_PARSER_CLASS must be the full class name of an XMLReader
67     */

68
69     public final static String JavaDoc SOURCE_PARSER_CLASS =
70             "http://icl.com/saxon/feature/sourceParserClass";
71
72     /**
73     * STYLE_PARSER_CLASS must be the full class name of an XMLReader
74     */

75
76     public final static String JavaDoc STYLE_PARSER_CLASS =
77             "http://icl.com/saxon/feature/styleParserClass";
78
79
80 }
81
82 //
83
// The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
84
// you may not use this file except in compliance with the License. You may obtain a copy of the
85
// License at http://www.mozilla.org/MPL/
86
//
87
// Software distributed under the License is distributed on an "AS IS" basis,
88
// WITHOUT WARRANTY OF ANY KIND, either express or implied.
89
// See the License for the specific language governing rights and limitations under the License.
90
//
91
// The Original Code is: all this file, other than fragments copied from the SAX distribution
92
// made available by David Megginson, and the line marked PB-SYNC.
93
//
94
// The Initial Developer of the Original Code is
95
// Michael Kay of International Computers Limited (mhkay@iclway.co.uk).
96
//
97
// The line marked PB-SYNC is by Peter Bryant (pbryant@bigfoot.com). All Rights Reserved.
98
//
99
// Contributor(s): Michael Kay, Peter Bryant, David Megginson
100
//
101
Popular Tags