|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.delivery.ContentHandlerConfigMapTable<T>
public class ContentHandlerConfigMapTable<T extends ContentHandler>
Simple table for storing ContentHandlerConfigMap lists against a selector string.
| Constructor Summary | |
|---|---|
ContentHandlerConfigMapTable()
|
|
| Method Summary | |
|---|---|
void |
addMapping(String selector,
SmooksResourceConfiguration resourceConfig,
T deliveryUnit)
Add a delivery unit mapping for the specified selector. |
int |
getCount()
Get the total number of mappings on this table. |
List<ContentHandlerConfigMap<T>> |
getMappings(String selector)
Get the ContentHandlerConfigMap list for the supplied selector string. |
List<ContentHandlerConfigMap<T>> |
getMappings(String[] selectors)
Get the combined ContentHandlerConfigMap list for the supplied list of selector strings. |
Map<String,List<ContentHandlerConfigMap<T>>> |
getTable()
|
boolean |
isEmpty()
Is the table empty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentHandlerConfigMapTable()
| Method Detail |
|---|
public void addMapping(String selector,
SmooksResourceConfiguration resourceConfig,
T deliveryUnit)
selector - The resource/delivery-unit selector.resourceConfig - Resource configuration.deliveryUnit - The delivery unit.public Map<String,List<ContentHandlerConfigMap<T>>> getTable()
public List<ContentHandlerConfigMap<T>> getMappings(String selector)
ContentHandlerConfigMap list for the supplied selector string.
selector - The lookup selector.
ContentHandlerConfigMap instances, or null if there are none.public List<ContentHandlerConfigMap<T>> getMappings(String[] selectors)
ContentHandlerConfigMap list for the supplied list of selector strings.
selectors - The lookup selectors.
ContentHandlerConfigMap list for the supplied list of selector strings,
or an empty list if there are none.public boolean isEmpty()
public int getCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||