Class ValueOf
java.lang.Object
org.exolab.adaptx.xslt.XSLObject
org.exolab.adaptx.xslt.EmptyXSLObject
org.exolab.adaptx.xslt.ValueOf
Represents the xsl:value-of element.
Handles string expressions
Section 2.7.13.2 of the W3C XSL Working Draft 1.0 (19981216)
- Author:
- Keith Visco
-
Field Summary
Fields inherited from class 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttribute(String name, String value) Sets the attribute with the given name to the given value.Methods inherited from class XSLObject
addNamespaceDecl, appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNamespace, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setNamespace, setTypeName
-
Constructor Details
-
ValueOf
public ValueOf()Creates a new ValueOf
-
-
Method Details
-
setAttribute
Description copied from class:XSLObjectSets the attribute with the given name to the given value.- Overrides:
setAttributein classXSLObject- Parameters:
name- the name of the attribute to setvalue- the value to set the attribute to- Throws:
XSLException- if this XSLObject does not allow attributes with the given name, or if the attribute is read only
-