|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.conradroche.matra.parser.CommentReaderImpl
Class to read the comment text.
Constructor Summary | |
CommentReaderImpl()
CommentReaderImpl Constructor. |
Method Summary | |
boolean |
isCommentStart(DTDData data)
Checks if there is a comment at the beginning of the data. |
Comment |
readComment(DTDData data)
Read the comment from the data stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommentReaderImpl()
Method Detail |
public Comment readComment(DTDData data) throws DTDSyntaxException
readComment
in interface CommentReader
data
- The stream from which to read the comment.DTDSyntaxException
- If the comment
contains a syntax error.public boolean isCommentStart(DTDData data)
isCommentStart
in interface CommentReader
data
- The data to be parsed.true
if the current location
of the data has a comment; false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |