All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xe.xe_CommentParser

java.lang.Object
   |
   +----xe.xe_Parser
           |
           +----xe.xe_CommentParser

public class xe_CommentParser
extends xe_Parser
Parser for an XML comment, assuming the beginning ('


Constructor Index

 o xe_CommentParser()

Method Index

 o checkIllegalContent(String)
If the InputComment contains '--' (which it shouldn't!), report an error.
 o parse()
Parse the body of an XML comment, putting the result in a newly-created comment entity.

Constructors

 o xe_CommentParser
 public xe_CommentParser()

Methods

 o parse
 public xg_Node parse() throws xm_ParseException, IOException
Parse the body of an XML comment, putting the result in a newly-created comment entity.

Returns:
The parsed comment entity
Throws: xm_ParseException
XML wellformedness error
Throws: IOException
Error reading from source reader
Overrides:
parse in class xe_Parser
 o checkIllegalContent
 public void checkIllegalContent(String InputCommentString) throws IOException
If the InputComment contains '--' (which it shouldn't!), report an error. The severity of the error depends on how strictly we are currently applying XML syntax.

Parameters:
InputComment - The comment itself
Returns:
The parsed comment entity

All Packages  Class Hierarchy  This Package  Previous  Next  Index