com.novell.xsl.parser
Class CommentParser

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

public class CommentParser
extends Object

Parser for xsl:comment element


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

Constructor Detail

CommentParser

public CommentParser()
Method Detail

parse

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

Parameters:
stylesheetParser - The StylesheetParser for which the element is to be parsed.
element - the element to be parsed
Returns:
the CommentTemplate for the parsed element
Throws:
XSLTParserException - if a fatal error occurs during parsing