All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.kvisco.xsl.XSLIf

com.kvisco.xsl.XSLObject
   |
   +----com.kvisco.xsl.XSLIf

public class XSLIf
extends XSLObject
implements Conditional
Represents an XSLIf Object (xsl:if)

Author:
Keith Visco

Constructor Index

 o XSLIf(XSLStylesheet)
Creates a new XSLIf object

Method Index

 o evaluate(Node, ProcessorState)
 o getBooleanExpr()
Returns the BooleanExpr of this XSL conditional
 o setAttribute(String, String)
Sets the attribute with the given name to the given value.
 o setBooleanExpr(BooleanExpr)

Constructors

 o XSLIf
 public XSLIf(XSLStylesheet parentStylesheet)
Creates a new XSLIf object

Methods

 o getBooleanExpr
 public BooleanExpr getBooleanExpr() throws InvalidExprException
Returns the BooleanExpr of this XSL conditional

Returns:
the BooleanExpr of this XSL conditional
 o evaluate
 public BooleanResult evaluate(Node context,
                               ProcessorState ps) throws InvalidExprException
 o setAttribute
 public void setAttribute(String name,
                          String value) throws XSLException
Sets the attribute with the given name to the given value.

Parameters:
name - the name of the attribute to set
value - the value to set the attribute to
Overrides:
setAttribute in class XSLObject
 o setBooleanExpr
 public void setBooleanExpr(BooleanExpr booleanExpr)

All Packages  Class Hierarchy  This Package  Previous  Next  Index