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; |