com.icl.saxon.output

Class SaxonOutputKeys

public class SaxonOutputKeys extends Object

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
Field Summary
static StringCHARACTER_REPRESENTATION
representation = rep1[;rep2].
static StringINDENT_SPACES
indentSpaces = integer.
static StringNEXT_IN_CHAIN
saxon:next-in-chain = URI.
static StringNEXT_IN_CHAIN_BASE_URI
static StringOMIT_META_TAG
include-html-meta-tag = "yes" | "no".
static StringREQUIRE_WELL_FORMED
saxon:require-well-formed = yes|no.
Method Summary
static booleanisValidOutputKey(String key)
Check that a supplied output key is valid

Field Detail

CHARACTER_REPRESENTATION

public static final String CHARACTER_REPRESENTATION
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.

INDENT_SPACES

public static final String INDENT_SPACES
indentSpaces = integer.

Defines the number of spaces used for indentation of output

NEXT_IN_CHAIN

public static final String NEXT_IN_CHAIN
saxon:next-in-chain = URI.

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

public static final String NEXT_IN_CHAIN_BASE_URI

OMIT_META_TAG

public static final String OMIT_META_TAG
include-html-meta-tag = "yes" | "no".

Indicates whether the META tag is to be added to HTML output

REQUIRE_WELL_FORMED

public static final String REQUIRE_WELL_FORMED
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".

Method Detail

isValidOutputKey

public static final boolean isValidOutputKey(String key)
Check that a supplied output key is valid