com.novell.xsl.parser
Class OtherwiseParser

java.lang.Object
  extended bycom.novell.xsl.parser.OtherwiseParser

public class OtherwiseParser
extends Object

Parser for xsl:otherwise element


Constructor Summary
OtherwiseParser()
           
 
Method Summary
static Template parse(StylesheetParser stylesheetParser, Element element)
          Parses the specified xsl:otherwise element and returns the result as an OtherwiseTemplate object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherwiseParser

public OtherwiseParser()
Method Detail

parse

public static Template parse(StylesheetParser stylesheetParser,
                             Element element)
                      throws XSLTParserException
Parses the specified xsl:otherwise element and returns the result as an OtherwiseTemplate object.

Parameters:
stylesheetParser - The StylesheetParser for which the element is to be parsed.
element - the xsl:otherwise element to be parsed
Returns:
the OtherwiseTemplate 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