net.sf.saxon.style

Class XSLText

public class XSLText extends XSLStringConstructor

Handler for xsl:text elements in stylesheet.
Method Summary
Expressioncompile(Executable exec)
protected StringgetErrorCodeForSelectPlusContent()
Get the error code to be returned when the element has a select attribute but is not empty.
protected ItemTypegetReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).
voidprepareAttributes()
voidvalidate()

Method Detail

compile

public Expression compile(Executable exec)

getErrorCodeForSelectPlusContent

protected String getErrorCodeForSelectPlusContent()
Get the error code to be returned when the element has a select attribute but is not empty.

Returns: the error code defined for this condition, for this particular instruction

getReturnedItemType

protected ItemType getReturnedItemType()
Determine the type of item returned by this instruction (only relevant if it is an instruction).

Returns: the item type returned

prepareAttributes

public void prepareAttributes()

validate

public void validate()