org.exolab.adaptx.xslt
Class XSLOtherwise

java.lang.Object
  extended by org.exolab.adaptx.xslt.XSLObject
      extended by org.exolab.adaptx.xslt.XSLOtherwise
All Implemented Interfaces:
Conditional

public class XSLOtherwise
extends XSLObject
implements Conditional

Represents an XSLOtherwise Object (xsl:otherwise)

Version:
$Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Author:
Keith Visco

Field Summary
 
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
XSLOtherwise()
          Creates a new XSLOtherwise object
 
Method Summary
 BooleanResult evaluate(XPathContext context)
          Evaluates this Conditional using the given XPathContext.
 
Methods inherited from class org.exolab.adaptx.xslt.XSLObject
addNamespaceDecl, appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNamespace, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setAttribute, setNamespace, setTypeName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSLOtherwise

public XSLOtherwise()
Creates a new XSLOtherwise object

Method Detail

evaluate

public BooleanResult evaluate(XPathContext context)
                       throws XPathException
Evaluates this Conditional using the given XPathContext.

Specified by:
evaluate in interface Conditional
Parameters:
context - the XPathContext to evaluate this conditional with.
Returns:
the resulting BooleanResult
Throws:
XPathException