Changes between Version 22 and Version 23 of ApertureDataSource


Ignore:
Timestamp:
Oct 14, 2005, 9:59:10 AM (21 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ApertureDataSource

    v22 v23  
    33== Java Interface ==
    44Probably equal to source:trunk/gnowsis/src/org/gnowsis/data/datasource/DataSource.java
     5
     6Changelog:
     7
     8 * removed setConfigAttribute and writeConfigAttributes: the choice to store DataSource configuration and the way to do that is probably an application decision. This functionality should be moved to a utility class.
    59
    610{{{
    … …  
    1216  */
    1317public interface DataSource {
    14  
    1518
    1619        /**
    … …  
    6568         */
    6669        public void setName(String name);
    67 
    68         /**
    69          * Set a configuration attribute supported by the specific datasource
    70          * implementation class. Unknown elements and incorrectly encoded attributes
    71          * end element text are silently ignored.
    72          *
    73          * @param attributeName The XML element name used to identify the configuration attribute.
    74          * @param atts The element's attributes, encoded as a Map of key-value-pairs.
    75          * @param text the element's textual contents.
    76          */
    77         public void setConfigAttribute(String attributeName, Map<String, String> atts, String text);
    78 
    79         /**
    80          * Writes all config attributes of the datasource to a given XML writer.
    81          *
    82          * @param xmlWriter the XMLWriter to which the config attributes will be written.
    83          * @throws IOException passed on by the XMLWriter.
    84          */
    85         public void writeConfigAttributes(XmlWriter xmlWriter) throws IOException;
    8670}
    8771}}}