X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=config%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fconfig%2FRouterConfig.java;h=57ddae740cc78a438190733c9242ca550b9f27ed;hb=13b475f8216ad5d74d64df4122ea6812554f7a14;hp=db69d743feedd1d96f70a7a03bdb2eb5da65bba4;hpb=5b4ee8d862b98d127abb04c646017c184d005838;p=xmlrouter diff --git a/config/src/main/java/org/wamblee/xmlrouter/config/RouterConfig.java b/config/src/main/java/org/wamblee/xmlrouter/config/RouterConfig.java index db69d74..57ddae7 100644 --- a/config/src/main/java/org/wamblee/xmlrouter/config/RouterConfig.java +++ b/config/src/main/java/org/wamblee/xmlrouter/config/RouterConfig.java @@ -15,10 +15,6 @@ */ package org.wamblee.xmlrouter.config; -import java.util.Collection; - -import org.wamblee.xmlrouter.common.Id; - /** * Configuration API for the XML router. * @@ -26,33 +22,18 @@ import org.wamblee.xmlrouter.common.Id; */ public interface RouterConfig { - // Documents - - Id addDocumentType(DocumentType aType); - - void removeDocumentType(Id aId); - - Collection> getDocumentTypes(); - - DocumentType getDocumentType(Id aId); - - // Transformations - - Id addTransformation(Transformation aTransformation); - - void removeTransformation(Id aId); - - Collection> getTransformations(); - - Transformation getTransformation(Id aId); - - // Filters - - Id addFilter(Filter aFilter); - - void removeFilter(Id aId); + /** + * @return Document types. + */ + Config documentTypeConfig(); - Collection> getFilters(); + /** + * @return Transformations. + */ + Config transformationConfig(); - Filter getFilter(Id aId); + /** + * @return Filters. + */ + Config filterConfig(); }