public interface NamingScheme
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String id)
Determine if this identifier has been prefixed
|
java.util.Collection<BeanIdentifier> |
deprefix(java.util.Collection<java.lang.String> ids) |
BeanIdentifier |
deprefix(java.lang.String id)
Remove the prefix from the id
|
java.util.Collection<java.lang.String> |
filterIds(java.util.Collection<java.lang.String> ids)
Filter a collection of ids, retaining only those correctly prefixed.
|
java.lang.String |
prefix(BeanIdentifier id)
Add the prefix to the id
|
java.util.Collection<java.lang.String> |
prefix(java.util.Collection<BeanIdentifier> ids) |
boolean accept(java.lang.String id)
id - the id to checkBeanIdentifier deprefix(java.lang.String id)
id - the prefixed idjava.lang.String prefix(BeanIdentifier id)
id - the id to prefixjava.util.Collection<java.lang.String> filterIds(java.util.Collection<java.lang.String> ids)
ids - the collection of ides to filterjava.util.Collection<BeanIdentifier> deprefix(java.util.Collection<java.lang.String> ids)
java.util.Collection<java.lang.String> prefix(java.util.Collection<BeanIdentifier> ids)
Copyright © 2014. All Rights Reserved.