com.conradroche.dtd.parser
Interface AttlistReader

All Known Implementing Classes:
AttlistReaderImpl

public interface AttlistReader

Interface for reading an attribute list declaration.

Author:
Conrad Roche

Method Summary
 boolean isAttlistStart(DTDData data)
          Checks if there is an attribute list declaration at the current location of the data.
 AttlistDecl readAttlist(DTDData data)
          Read the Attribute list declaration from the data stream.
 

Method Detail

readAttlist

public AttlistDecl readAttlist(DTDData data)
                        throws DTDSyntaxException
Read the Attribute list declaration from the data stream.
Parameters:
data - The stream from which to read the Attribute list declaration.
Returns:
The Attribute list.
Throws:
DTDSyntaxException - If the attribute list declaration contains a syntax error.

isAttlistStart

public boolean isAttlistStart(DTDData data)
Checks if there is an attribute list 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 attrubute list declaration; false otherwise.