org.exolab.adaptx.xslt

Class XSLScript


public class XSLScript
extends XSLText

This class represents a xsl:script element. This is currently proprietary to XSLP and not included in the latest W3 XSL Working Draft (19981216)
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:51 $
Author:
Keith Visco

Field Summary

String
ECMASCRIPT

Fields inherited from class org.exolab.adaptx.xslt.XSLObject

APPLY_IMPORTS, APPLY_TEMPLATES, ARG, ATTRIBUTE, ATTRIBUTE_SET, CALL_TEMPLATE, CDATA, CHOOSE, COMMENT, CONTENTS, COPY, COPY_OF, ELEMENT, ENTITY_REF, FOR_EACH, FUNCTIONS, ID, IF, IMPORT, INCLUDE, KEY, LITERAL, LOCALE, MESSAGE, NUMBER, OTHERWISE, OUTPUT, PARAM, PI, PRESERVE_SPACE, SCRIPT, SORT, STRIP_SPACE, STYLESHEET, TEMPLATE, TEXT, VALUE_OF, VARIABLE, WHEN, WITH_PARAM

Constructor Summary

XSLScript()
Creates a new XSLScript
XSLScript(String data)
Creates a new XSLScript

Method Summary

String
getLanguage()
Returns the scripting Language for this XSLScript
String
getScriptNameSpace()
Returns the Namespace for this xsl:script
void
setLanguage(String lang)

Methods inherited from class org.exolab.adaptx.xslt.XSLText

appendText, appendText, disableOutputEscaping, getText, setAttribute, setText, setText

Methods inherited from class org.exolab.adaptx.xslt.XSLObject

appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setAttribute, setTypeName

Field Details

ECMASCRIPT

public final String ECMASCRIPT

Constructor Details

XSLScript

public XSLScript()
Creates a new XSLScript

XSLScript

public XSLScript(String data)
Creates a new XSLScript
Parameters:
data - the default data for this XSLScript

Method Details

getLanguage

public String getLanguage()
Returns the scripting Language for this XSLScript
Returns:
the scripting Language for this XSLScript

getScriptNameSpace

public String getScriptNameSpace()
Returns the Namespace for this xsl:script
Returns:
the Namespace for this xsl:script

setLanguage

public void setLanguage(String lang)