    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 ('

##

xe_CommentParser()

##

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

##

xe_CommentParser

     public xe_CommentParser()

##

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

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