com.novell.xsl.parser
Class CommentParser
java.lang.Object
com.novell.xsl.parser.CommentParser
- public class CommentParser
- extends Object
Parser for xsl:comment
element
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 |
CommentParser
public CommentParser()
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