|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.FeatureKeys
public abstract class FeatureKeys
FeatureKeys defines a set of constants, names of Saxon configuration options which can be supplied to the Saxon implementations of the JAXP interfaces TransformerFactory, SchemaFactory, Validator, and ValidationHandler.
Field Summary | |
---|---|
static String |
ALLOW_EXTERNAL_FUNCTIONS
ALLOW_EXTERNAL_FUNCTIONS must be a Boolean; it determines whether calls to external functions are allowed. |
static String |
COLLATION_URI_RESOLVER
COLLATION_URI_RESOLVER must be a CollationURIResolver . |
static String |
COLLATION_URI_RESOLVER_CLASS
COLLATION_URI_RESOLVER_CLASS must be the name of a class that implements the interface CollationURIResolver . |
static String |
COLLECTION_URI_RESOLVER
COLLECTION_URI_RESOLVER must be a CollectionURIResolver . |
static String |
COLLECTION_URI_RESOLVER_CLASS
COLLECTION_URI_RESOLVER must be must be the name of a class that implements the interface CollectionURIResolver . |
static String |
COMPILE_WITH_TRACING
COMPILE_WITH_TRACING must be a Boolean. |
static String |
CONFIGURATION
CONFIGURATION must be an instance of Configuration . |
static String |
DEFAULT_COLLATION
DEFAULT_COLLATION must be a String in the form of an absolute URI. |
static String |
DEFAULT_COLLECTION
DEFAULT_COLLECTION must be a String in the form of an absolute URI. |
static String |
DEFAULT_COUNTRY
DEFAULT_COUNTRY must be a String in the form of an ISO country code. |
static String |
DEFAULT_LANGUAGE
DEFAULT_LANGUAGE must be a String in the form of an ISO language code. |
static String |
DTD_VALIDATION
DTD_VALIDATION must be a Boolean. |
static String |
DTD_VALIDATION_RECOVERABLE
DTD_VALIDATION_RECOVERABLE must be a Boolean. |
static String |
ERROR_LISTENER_CLASS
ERROR_LISTENER_CLASS is the name of the class used to implement the JAXP ErrorListener. |
static String |
EXPAND_ATTRIBUTE_DEFAULTS
EXPAND_ATTRIBUTE_DEFAULTS must be a Boolean; it determines whether fixed and default values defined in a schema or DTD will be expanded. |
static String |
LAZY_CONSTRUCTION_MODE
LAZY_CONSTRUCTION_MODE must be a Boolean; it determines whether temporary trees are constructed lazily. |
static String |
LINE_NUMBERING
LINE_NUMBERING must be a Boolean; it determines whether line and column numbers are maintained for source documents. |
static String |
MESSAGE_EMITTER_CLASS
MESSAGE_EMITTER_CLASS must be the class name of a class that implements net.sf.saxon.event.Receiver. |
static String |
MODULE_URI_RESOLVER
MODULE_URI_RESOLVER must be an instance of ModuleURIResolver . |
static String |
MODULE_URI_RESOLVER_CLASS
MODULE_URI_RESOLVER_CLASS must be the name of a class that implements the interface ModuleURIResolver . |
static String |
NAME_POOL
NAME_POOL must be an instance of net.sf.saxon.om.NamePool |
static String |
OCCURRENCE_LIMITS
OCCURRENCE_LIMITS is a string containing a pair of integers, comma-separated. |
static String |
OPTIMIZATION_LEVEL
OPTIMIZATION_LEVEL must be an integer (represented as a string) in the range 0 to 10 |
static String |
OUTPUT_URI_RESOLVER
OUTPUT_URI_RESOLVER must be an instance of OutputURIResolver . |
static String |
OUTPUT_URI_RESOLVER_CLASS
OUTPUT_URI_RESOLVER_CLASS must be the name of a class that implements the interface OutputURIResolver . |
static String |
PRE_EVALUATE_DOC_FUNCTION
PRE_EVALUATE_DOC_FUNCTION is a boolean. |
static String |
PREFER_JAXP_PARSER
PREFER_JAXP_PARSER is a boolean. |
static String |
RECOGNIZE_URI_QUERY_PARAMETERS
RECOGNIZE_URI_QUERY_PARAMETERS must be a Boolean; it determines whether query parameters (things after a question mark) in a URI passed to the document() or doc() function are specially recognized by the system default URIResolver. |
static String |
RECOVERY_POLICY
RECOVERY_POLICY must be an Integer: one of Configuration.RECOVER_SILENTLY ,
Configuration.RECOVER_WITH_WARNINGS , or Configuration.DO_NOT_RECOVER |
static String |
RECOVERY_POLICY_NAME
RECOVERY_POLICY_NAME must be a string: one of "recoverSilently", "recoverWithWarnings", "doNotRecover" |
static String |
SCHEMA_URI_RESOLVER
SCHEMA_URI_RESOLVER must be an instance of SchemaURIResolver . |
static String |
SCHEMA_URI_RESOLVER_CLASS
SCHEMA_URI_RESOLVER_CLASS must be the name of a class that implements SchemaURIResolver . |
static String |
SCHEMA_VALIDATION
SCHEMA_VALIDATION must be an Integer. |
static String |
SCHEMA_VALIDATION_MODE
SCHEMA_VALIDATION_MODE must be a String: one of "strict", "lax", "preserve", or "skip". |
static String |
SERIALIZER_FACTORY_CLASS
SERIALIZER_FACTORY_CLASS must be the full class name of a class that extends SerializerFactory . |
static String |
SOURCE_PARSER_CLASS
SOURCE_PARSER_CLASS must be the full class name of an XMLReader. |
static String |
SOURCE_RESOLVER_CLASS
SOURCE_RESOLVER_CLASS must be the full class name of a class that extends SourceResolver . |
static String |
STRIP_WHITESPACE
STRIP_WHITESPACE must be a string set to one of the values "all", "none", or "ignorable". |
static String |
STYLE_PARSER_CLASS
STYLE_PARSER_CLASS must be an XMLReader. |
static String |
TIMING
TIMING must be an Boolean; it determines whether basic timing information is output to System.err (This attribute is a bit of a misnomer; it outputs timing information when used from the command line, but also basic tracing information when used from the Java API: for example, names of output files written using xsl:result-document, and names of classes dynamically loaded) |
static String |
TRACE_EXTERNAL_FUNCTIONS
TRACE_EXTERNAL_FUNCTIONS must be a Boolean; it determines whether the loading and binding of extension functions is traced |
static String |
TRACE_LISTENER
TRACE_LISTENER must be an instance of a class that implements TraceListener . |
static String |
TRACE_LISTENER_CLASS
TRACE_LISTENER_CLASS must be the name of a class that implements TraceListener . |
static String |
TRACE_OPTIMIZER_DECISIONS
TRACE_OPTIMIZER_DECISIONS must be a Boolean; it determines whether decisions made by the optimizer are traced |
static String |
TREE_MODEL
TREE_MODEL must be an Integer: Builder.LINKED_TREE ,
Builder.TINY_TREE , or Builder.TINY_TREE_CONDENSED |
static String |
TREE_MODEL_NAME
TREE_MODEL_NAME must be a string: "linkedTree" or "tinyTree" or "tinyTreeCondensed" |
static String |
URI_RESOLVER_CLASS
URI_RESOLVER_CLASS must be the full class name of a class that extends URIResolver . |
static String |
USE_PI_DISABLE_OUTPUT_ESCAPING
USE_PI_DISABLE_OUTPUT_ESCAPING must be a Boolean. |
static String |
USE_TYPED_VALUE_CACHE
USE_TYPED_VALUE_CACHE is a Boolean. |
static String |
USE_XSI_SCHEMA_LOCATION
USE_XSI_SCHEMA_LOCATION must be a Boolean. |
static String |
VALIDATION_WARNINGS
VALIDATION_WARNINGS must be a Boolean. |
static String |
VERSION_WARNING
VERSION_WARNING must be a Boolean. |
static String |
XINCLUDE
XINCLUDE must be a Boolean. |
static String |
XML_VERSION
XML_VERSION is a character string. |
static String |
XQUERY_ALLOW_UPDATE
XQUERY_ALLOW_UPDATE is a boolean. |
static String |
XQUERY_CONSTRUCTION_MODE
XQUERY_CONSTRUCTION_MODE is a string with the value "strip" or "preserve". |
static String |
XQUERY_DEFAULT_ELEMENT_NAMESPACE
XQUERY_DEFAULT_ELEMENT_NAMESPACE is a namespace URI. |
static String |
XQUERY_DEFAULT_FUNCTION_NAMESPACE
XQUERY_DEFAULT_FUNCTION_NAMESPACE is a namespace URI. |
static String |
XQUERY_EMPTY_LEAST
XQUERY_EMPTY_LEAST is boolean. |
static String |
XQUERY_INHERIT_NAMESPACES
XQUERY_INHERIT_NAMESPACES is boolean. |
static String |
XQUERY_PRESERVE_BOUNDARY_SPACE
XQUERY_PRESERVE_BOUNDARY_SPACE is boolean. |
static String |
XQUERY_PRESERVE_NAMESPACES
XQUERY_PRESERVE_NAMESPACES is boolean. |
static String |
XQUERY_REQUIRED_CONTEXT_ITEM_TYPE
XQUERY_REQUIRED_CONTEXT_ITEM_TYPE is a string containing an ItemType, for example document-node() . |
static String |
XQUERY_SCHEMA_AWARE
XQUERY_SCHEMA_AWARE is a boolean. |
static String |
XQUERY_STATIC_ERROR_LISTENER_CLASS
XQUERY_STATIC_ERROR_LISTENER_CLASS is the name of a Java class that implements ErrorListener . |
static String |
XQUERY_VERSION
XQUERY_VERSION is a character string. |
static String |
XSD_VERSION
XSD_VERSION is a character string. |
static String |
XSLT_SCHEMA_AWARE
XSLT_SCHEMA_AWARE is a boolean. |
static String |
XSLT_STATIC_ERROR_LISTENER_CLASS
XSLT_STATIC_ERROR_LISTENER_CLASS must be the name of a class that implements ErrorListener . |
static String |
XSLT_STATIC_URI_RESOLVER_CLASS
XSLT_STATIC_URI_RESOLVER_CLASS must be the name of a class that implements URIResolver . |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ALLOW_EXTERNAL_FUNCTIONS
xsl:result-document
instructionNote that this option does not disable use of the doc()
function or similar
functions to access the filestore of the machine where the transformation or query is running.
That should be done using a user-supplied URIResolver
Note that an ExtensionFunctionCall
is trusted; calls are allowed even if
this configuration option is false. In cases where an IntegratedFunction
is used to load and execute untrusted code, it should check this configuration option before doing so.
public static final String COLLATION_URI_RESOLVER
CollationURIResolver
.
This resolver will be used to resolve collation URIs used in stylesheets compiled or executed under the
control of this TransformerFactory
public static final String COLLATION_URI_RESOLVER_CLASS
CollationURIResolver
. The class will be instantiated, and the instance
will act as the value of the COLLATION_URI_RESOLVER
property.
public static final String COLLECTION_URI_RESOLVER
CollectionURIResolver
.
This resolver will be used to resolve collection URIs used in calls of the collection() function
public static final String COLLECTION_URI_RESOLVER_CLASS
CollectionURIResolver
.
The class will be instantiated, and the instance
will act as the value of the COLLECTION_URI_RESOLVER
property.
public static final String COMPILE_WITH_TRACING
Controller.addTraceListener(net.sf.saxon.trace.TraceListener)
)
public static final String CONFIGURATION
Configuration
. This attribute cannot be set on the
Configuration itself, but it can be set on various JAXP factory objects such as a
TransformerFactory or DocumentBuilderFactory, to ensure that several such factories use the same
configuration. Note that other configuration options are held in the Configuration object, so setting
this attribute will cancel all others that have been set. Also, if two factories share the same
configuration, then setting an attribute on one affects all the others.
public static final String DEFAULT_COLLATION
public static final String DEFAULT_COLLECTION
public static final String DEFAULT_COUNTRY
public static final String DEFAULT_LANGUAGE
public static final String DTD_VALIDATION
public static final String DTD_VALIDATION_RECOVERABLE
public static final String ERROR_LISTENER_CLASS
public static final String EXPAND_ATTRIBUTE_DEFAULTS
public static final String LAZY_CONSTRUCTION_MODE
public static final String LINE_NUMBERING
public static final String MESSAGE_EMITTER_CLASS
public static final String MODULE_URI_RESOLVER
ModuleURIResolver
. This is a user-written
class that takes responsibility for locating XQuery modules.
public static final String MODULE_URI_RESOLVER_CLASS
ModuleURIResolver
. This is a user-written
class that takes responsibility for locating XQuery modules.
public static final String NAME_POOL
public static final String OCCURRENCE_LIMITS
This property applies to Saxon-SA only
public static final String OPTIMIZATION_LEVEL
public static final String OUTPUT_URI_RESOLVER
OutputURIResolver
. This is a
user-written class that takes responsibility for disposing of the result trees produced
using XSLT xsl:result-document instruction
public static final String OUTPUT_URI_RESOLVER_CLASS
OutputURIResolver
. This is a
user-written class that takes responsibility for disposing of the result trees produced
using XSLT xsl:result-document instruction
public static final String PRE_EVALUATE_DOC_FUNCTION
public static final String PREFER_JAXP_PARSER
public static final String RECOGNIZE_URI_QUERY_PARAMETERS
public static final String RECOVERY_POLICY
Configuration.RECOVER_SILENTLY
,
Configuration.RECOVER_WITH_WARNINGS
, or Configuration.DO_NOT_RECOVER
public static final String RECOVERY_POLICY_NAME
public static final String SCHEMA_URI_RESOLVER
SchemaURIResolver
. This is a user-written
class that takes responsibility for locating schema documents.
public static final String SCHEMA_URI_RESOLVER_CLASS
SchemaURIResolver
. This is a user-written
class that takes responsibility for locating schema documents.
public static final String SCHEMA_VALIDATION
Validation.STRICT
, Validation.LAX
,
Validation.PRESERVE
, Validation.SKIP
.
public static final String SCHEMA_VALIDATION_MODE
public static final String SERIALIZER_FACTORY_CLASS
SerializerFactory
. This class is used to customize the creation of a serializer,
for example by adding extra steps to the pipeline to implement user-defined serialization options.
public static final String SOURCE_PARSER_CLASS
public static final String SOURCE_RESOLVER_CLASS
SourceResolver
. This class is used to enable Saxon to handle additional
implementations of Source
beyond the built-in implementations
public static final String STRIP_WHITESPACE
This option also controls stripping of whitespace by a JAXP identity Transformer or identity transformerHandler.
public static final String STYLE_PARSER_CLASS
public static final String TIMING
public static final String TRACE_EXTERNAL_FUNCTIONS
public static final String TRACE_OPTIMIZER_DECISIONS
public static final String TRACE_LISTENER
TraceListener
. Setting this property automatically
sets COMPILE_WITH_TRACING
to true.
public static final String TRACE_LISTENER_CLASS
TraceListener
. A new instance of this class will be created
as the trace listener for each query or transformation run under this Configuration.
Setting this property automatically
sets COMPILE_WITH_TRACING
to true.
public static final String TREE_MODEL
Builder.LINKED_TREE
,
Builder.TINY_TREE
, or Builder.TINY_TREE_CONDENSED
public static final String TREE_MODEL_NAME
public static final String URI_RESOLVER_CLASS
URIResolver
. Setting this property causes the specified class
to be instantiated, and the instance is then registered using Configuration.setURIResolver(javax.xml.transform.URIResolver)
.
This affects the dereferencing of URIs both at compile-time and at run-time.
public static final String USE_PI_DISABLE_OUTPUT_ESCAPING
Result.PI_DISABLE_OUTPUT_ESCAPING
and Result.PI_ENABLE_OUTPUT_ESCAPING
in the input stream as instructions to disable or to re-enable output escaping.
public static final String USE_TYPED_VALUE_CACHE
public static final String USE_XSI_SCHEMA_LOCATION
public static final String VALIDATION_WARNINGS
public static final String VERSION_WARNING
public static final String XINCLUDE
public static final String XML_VERSION
Configuration.setXMLVersion(int)
.
Note that source documents specifying xml version="1.0" or "1.1" are accepted regardless of this setting. The effect of this switch is to change the validation rules for types such as Name and NCName, to change the meaning of \i and \c in regular expressions, and to determine whether the serializer allows XML 1.1 documents to be constructed.
public static final String XQUERY_ALLOW_UPDATE
public static final String XQUERY_CONSTRUCTION_MODE
public static final String XQUERY_DEFAULT_ELEMENT_NAMESPACE
public static final String XQUERY_DEFAULT_FUNCTION_NAMESPACE
public static final String XQUERY_EMPTY_LEAST
public static final String XQUERY_INHERIT_NAMESPACES
public static final String XQUERY_PRESERVE_BOUNDARY_SPACE
public static final String XQUERY_PRESERVE_NAMESPACES
public static final String XQUERY_REQUIRED_CONTEXT_ITEM_TYPE
document-node()
.
It defines the default expected context item type for a query.
public static final String XQUERY_SCHEMA_AWARE
public static final String XQUERY_STATIC_ERROR_LISTENER_CLASS
ErrorListener
. All reports of static errors in a query will go to this
ErrorListener.
public static final String XQUERY_VERSION
public static final String XSD_VERSION
public static final String XSLT_SCHEMA_AWARE
xsl:import-schema
instruction, and not otherwise.
public static final String XSLT_STATIC_ERROR_LISTENER_CLASS
ErrorListener
.
This is an ErrorListener used to handle static errors found when compiling a stylesheet.
public static final String XSLT_STATIC_URI_RESOLVER_CLASS
URIResolver
.
This is a URIResolver used when dereferencing the URIs that appear in the href
attributes of the
xsl:include
and xsl:import
declarations. Note that this defaults to the
setting of the global URI_RESOLVER
property.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |