net.sf.saxon.style

Class XSLOutput

public class XSLOutput extends StyleElement

An xsl:output element in the stylesheet.
Method Summary
Expressioncompile(Executable exec)
protected voidgatherOutputProperties(Properties details, HashMap precedences)
Validate the properties, and return the values as additions to a supplied Properties object.
StructuredQNamegetFormatQName()
Get the name of the xsl:output declaration
voidprepareAttributes()
static StringprepareCharacterMaps(StyleElement element, String useCharacterMaps, Properties details)
Process the use-character-maps attribute
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

gatherOutputProperties

protected void gatherOutputProperties(Properties details, HashMap precedences)
Validate the properties, and return the values as additions to a supplied Properties object.

Parameters: details the Properties object to be populated with property values precedences a HashMap to be populated with information about the precedence of the property values: the key is the property name as a Clark name, the value is a boxed integer giving the property's import precedence

getFormatQName

public StructuredQName getFormatQName()
Get the name of the xsl:output declaration

Returns: the name, as a structured QName; or null for an unnamed output declaration

prepareAttributes

public void prepareAttributes()

prepareCharacterMaps

public static String prepareCharacterMaps(StyleElement element, String useCharacterMaps, Properties details)
Process the use-character-maps attribute

Parameters: element the stylesheet element on which the use-character-maps attribute appears useCharacterMaps the value of the use-character-maps attribute details The existing output properties

Returns: the augmented value of the use-character-maps attribute in Clark notation

Throws: XPathException if the value is invalid

validate

public void validate()