com.conradroche.matra.parser
Class AttlistReaderImpl

java.lang.Object
  |
  +--com.conradroche.matra.parser.AttlistReaderImpl
All Implemented Interfaces:
AttlistReader

public class AttlistReaderImpl
extends java.lang.Object
implements AttlistReader

Class for reading an attribute list declaration.

Author:
Conrad Roche

Constructor Summary
AttlistReaderImpl()
          AttlistReaderImpl Constructor.
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttlistReaderImpl

public AttlistReaderImpl()
AttlistReaderImpl Constructor.
Method Detail

readAttlist

public AttlistDecl readAttlist(DTDData data)
                        throws DTDSyntaxException
Read the Attribute list declaration from the data stream.
Specified by:
readAttlist in interface AttlistReader
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.
See Also:
AttlistReader.readAttlist(com.conradroche.matra.data.DTDData)

isAttlistStart

public boolean isAttlistStart(DTDData data)
Checks if there is an attribute list declaration at the current location of the data.
Specified by:
isAttlistStart in interface AttlistReader
Parameters:
data - The data to be parsed.
Returns:
true if the current location of the data has an attrubute list declaration; false otherwise.
See Also:
AttlistReader.isAttlistStart(com.conradroche.matra.data.DTDData)