com.conradroche.matra.parser
Class AttlistReaderImpl
java.lang.Object
|
+--com.conradroche.matra.parser.AttlistReaderImpl
- All Implemented Interfaces:
- AttlistReader
- public class AttlistReaderImpl
- extends Object
- implements AttlistReader
Class for reading an attribute
list declaration.
- Author:
- Conrad Roche
AttlistReaderImpl
public AttlistReaderImpl()
- AttlistReaderImpl Constructor.
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)