com.conradroche.dtd.parser
Interface NotationReader
- All Known Implementing Classes:
- NotationReaderImpl
- public interface NotationReader
Interface for reading Notation declarations.
- Author:
- Conrad Roche
readNotation
public Notation readNotation(DTDData data)
throws DTDSyntaxException
- Read the notation declaration from the data stream.
- Parameters:
data
- The stream from which to read the comment.- Returns:
- The comment.
- Throws:
DTDSyntaxException
- If the Notation
declaration contains a syntax error.
isNotationStart
public boolean isNotationStart(DTDData data)
- Checks if there is a notation declaration at the
current location of the data.
- Parameters:
data
- The data to be parsed.- Returns:
true
if the current location
of the data has a comment; false
otherwise.