*/
package org.wamblee.xmlrouter.config;
-
/**
* Configuration API for the XML router.
*
* @author Erik Brakkee
*/
-public interface RouterConfig {
-
- // Documents
-
- Config<DocumentType> getDocumentTypeConfig();
-
- // Transformations
-
- Config<Transformation> getTransformationConfig();
-
- // Filters
-
- Config<Filter> getFilterConfig();
+public interface RouterConfig extends Identifiable<RouterConfig> {
+
+ /**
+ * @return Document types.
+ */
+ Config<DocumentType> documentTypeConfig();
+
+ /**
+ * @return Transformations.
+ */
+ Config<Transformation> transformationConfig();
+
+ /**
+ * @return Filters.
+ */
+ Config<Filter> filterConfig();
}