|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.event.SaxonOutputKeys
public class SaxonOutputKeys
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
Field Summary | |
---|---|
static String |
BYTE_ORDER_MARK
byte-order-mark = yes|no. |
static String |
CHARACTER_REPRESENTATION
representation = rep1[;rep2]. |
static String |
ESCAPE_URI_ATTRIBUTES
escape-uri-attributes = "yes" | "no". |
static String |
IMPLICIT_RESULT_DOCUMENT
Property used internally to identify the XSLT implicit result document |
static String |
INCLUDE_CONTENT_TYPE
include-content-type = "yes" | "no". |
static String |
INDENT_SPACES
saxon:indentSpaces = integer. |
static String |
NEXT_IN_CHAIN
saxon:next-in-chain = URI. |
static String |
NEXT_IN_CHAIN_BASE_URI
|
static String |
NORMALIZATION_FORM
normalization-form = NFC|NFD|NFKC|NFKD|non. |
static String |
REQUIRE_WELL_FORMED
saxon:require-well-formed = yes|no. |
static String |
SAXON_XQUERY_METHOD
String constant representing the saxon:xquery output method name |
static String |
STYLESHEET_VERSION
stylesheet-version. |
static String |
SUPPLY_SOURCE_LOCATOR
supply-source-locator = yes|no. |
static String |
SUPPRESS_INDENTATION
saxon:suppress-indentation = list of element names |
static String |
UNDECLARE_PREFIXES
undeclare-prefixes = "yes" | "no". |
static String |
USE_CHARACTER_MAPS
use-character-map = list-of-qnames. |
static String |
WRAP
wrap="yes"|"no". |
Method Summary | |
---|---|
static void |
checkOutputProperty(String key,
String value,
NameChecker checker)
Check that a supplied output property is valid. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SAXON_XQUERY_METHOD
public static final String INDENT_SPACES
Defines the number of spaces used for indentation of output
public static final String SUPPRESS_INDENTATION
public static final String STYLESHEET_VERSION
public static final String USE_CHARACTER_MAPS
Defines the character maps used in this output definition. The QNames are represented in Clark notation as {uri}local-name.
public static final String INCLUDE_CONTENT_TYPE
Indicates whether the META tag is to be added to HTML output
public static final String UNDECLARE_PREFIXES
Indicates XML 1.1 namespace undeclarations are to be output when required
public static final String ESCAPE_URI_ATTRIBUTES
Indicates whether HTML attributes of type URI are to be URI-escaped
public static final String CHARACTER_REPRESENTATION
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.
public static final String NEXT_IN_CHAIN
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.
public static final String NEXT_IN_CHAIN_BASE_URI
public static final String BYTE_ORDER_MARK
Indicates whether UTF-8/UTF-16 output is to start with a byte order mark. Values are "yes" or "no", default is "no"
public static final String NORMALIZATION_FORM
Indicates that a given Unicode normalization form (or no normalization) is required.
public static final String SUPPLY_SOURCE_LOCATOR
If set to "yes", and the output is being sent to a SAXResult (or to a user-supplied content handler), indicates that the SAX Locator made available to the ContentHandler will contain information about the location of the context node in the source document as well as the location in the stylesheet or query.
public static final String REQUIRE_WELL_FORMED
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".
public static final String WRAP
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.
public static final String IMPLICIT_RESULT_DOCUMENT
Method Detail |
---|
public static void checkOutputProperty(String key, String value, NameChecker checker) throws XPathException
key
- the name of the propertyvalue
- the value of the property. This may be set to null, in which case no validation takes place.
The value must be in JAXP format, that is, with lexical QNames expanded to Clark nameschecker
- the NameChecker to be used for validating QNames
XPathException
- if the property name or value is invalid
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |