Java Doc for SaxonOutputKeys.java in » XML » saxonb » net » sf » saxon » event » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Provides string constants that can be used to set
output properties for a Transformer, or to retrieve
output properties from a Transformer or Templates object.
These keys are private Saxon keys that supplement the standard keys
defined in javax.xml.transform.OutputKeys. As well as Saxon extension
attributes, the list includes new attributes defined in XSLT 2.0 which
are not yet supported in JAXP
This property is only available in the XQuery API.
Method Summary
final public static void
checkOutputProperty(String key, String value, NameChecker checker) Check that a supplied output property is valid.
Parameters: key - the name of the property Parameters: value - the value of the property.
Indicates whether UTF-8/UTF-16 output is to start with a byte order mark. Values are "yes" or "no",
default is "no"
CHARACTER_REPRESENTATION
final public static String CHARACTER_REPRESENTATION(Code)
representation = rep1[;rep2].
Indicates the preferred way of representing non-ASCII characters in HTML
and XML output. rep1 is for characters in the range 128-256, rep2 for those
above 256.
ESCAPE_URI_ATTRIBUTES
final public static String ESCAPE_URI_ATTRIBUTES(Code)
escape-uri-attributes = "yes" | "no". This attribute is defined in XSLT 2.0
Indicates whether HTML attributes of type URI are to be URI-escaped
INCLUDE_CONTENT_TYPE
final public static String INCLUDE_CONTENT_TYPE(Code)
include-content-type = "yes" | "no". This attribute is defined in XSLT 2.0
Indicates whether the META tag is to be added to HTML output
Indicates that the output is to be piped into another XSLT stylesheet
to perform another transformation. The auxiliary property NEXT_IN_CHAIN_BASE_URI
records the base URI of the stylesheet element where this attribute was found.
NEXT_IN_CHAIN_BASE_URI
final public static String NEXT_IN_CHAIN_BASE_URI(Code)
NORMALIZATION_FORM
final public static String NORMALIZATION_FORM(Code)
normalization-form = NFC|NFD|NFKC|NFKD|non.
Indicates that a given Unicode normalization form (or no normalization) is required.
REQUIRE_WELL_FORMED
final public static String REQUIRE_WELL_FORMED(Code)
saxon:require-well-formed = yes|no.
Indicates whether a user-supplied ContentHandler requires the stream of SAX events to be
well-formed (that is, to have a single element node and no text nodes as children of the root).
The default is "no".
STYLESHEET_VERSION
final public static String STYLESHEET_VERSION(Code)
stylesheet-version. This serialization parameter is set automatically by the XSLT processor
to the value of the version attribute on the principal stylesheet module.
UNDECLARE_PREFIXES
final public static String UNDECLARE_PREFIXES(Code)
undeclare-prefixes = "yes" | "no". This attribute is defined in XSLT 2.0
Indicates XML 1.1 namespace undeclarations are to be output when required
USE_CHARACTER_MAPS
final public static String USE_CHARACTER_MAPS(Code)
use-character-map = list-of-qnames.
Defines the character maps used in this output definition. The QNames
are represented in Clark notation as {uri}local-name.
This property is only available in the XQuery API. The value "yes" indicates that the result
sequence produced by the query is to be wrapped, that is, each item in the result is represented
as a separate element. This format allows any sequence to be represented as an XML document,
including for example sequences consisting of parentless attribute nodes.
Check that a supplied output property is valid.
Parameters: key - the name of the property Parameters: value - the value of the property. This may be set to null, in which case Parameters: checker -