com.tensegrity.generic.persistence
Interface Reader

All Known Implementing Classes:
XMLReader, XMLStreamReader

public interface Reader

The Reader interface defines an object that is able to read information from a data source and create an AttributeList from that information.

Version:
$Id: Reader.java,v 1.10 2005/04/19 12:01:52 MichaelKegel Exp $
Author:
MichaelKegel

Method Summary
 AttributeList read()
          This method reads the information available in the data source and returns them in form of an AttributeList.
 

Method Detail

read

public AttributeList read()
                   throws ReadException
This method reads the information available in the data source and returns them in form of an AttributeList.

Returns:
AttributeList with the read information.
Throws:
ReadException - is thrown whenever an error occurs while reading the information
XMLParseException - thrown if the an error occurs during the processing of XML data.
See Also:
AttributeList


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.