net.sf.saxon.style

Class XSLOutput

public class XSLOutput extends StyleElement

An xsl:output element in the stylesheet.
Method Summary
voidcheckAndPut(String property, String value, Properties props, HashMap precedences)
Add an output property to the list of properties after checking that it is consistent with other properties
Expressioncompile(Executable exec)
protected voidgatherOutputProperties(Properties details, HashMap precedences)
Validate the properties, and return the values as additions to a supplied Properties object.
intgetOutputFingerprint()
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

checkAndPut

public void checkAndPut(String property, String value, Properties props, HashMap precedences)
Add an output property to the list of properties after checking that it is consistent with other properties

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.

getOutputFingerprint

public int getOutputFingerprint()
Get the name of the xsl:output declaration

Returns: the name, as a namepool fingerprint; or -1 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: 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()