com.conradroche.dtd.parser
Interface EntityDeclReader
- All Known Implementing Classes:
- EntityDeclReaderImpl
- public interface EntityDeclReader
Interface for reading entity declarations.
- Author:
- Conrad Roche
readEntityDecl
public Entity readEntityDecl(DTDData data)
throws DTDSyntaxException
- Read the entity declarations from
the data stream.
- Parameters:
data
- The stream from which to
read the entity declaration.- Returns:
- The entity declaration.
- Throws:
DTDSyntaxException
- If the Entity
declaration contains a syntax
error.
isEntityDeclStart
public boolean isEntityDeclStart(DTDData data)
- Checks if there is an entity 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 an entity declaration;
false
otherwise.