com.novell.xsl.parser
Class IfParser
java.lang.Object
com.novell.xsl.parser.IfParser
- public class IfParser
- extends Object
Parser for xsl:if
element
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfParser
public IfParser()
parse
public static Template parse(StylesheetParser stylesheetParser,
Element element)
throws XSLTParserException
- Parses the specified
xsl:if
element and returns the result
as an IfTemplate
object.
- Parameters:
stylesheetParser
- The StylesheetParser
for which the element is to be parsed.element
- the xsl:if
element to be parsed
- Returns:
- the
IfTemplate
object for the parsed
element, or null
if one could not be
created because of a non-fatal error
- Throws:
XSLTParserException
- if a fatal error occurs during parsing