public abstract class ForwardingNamingScheme extends Object implements NamingScheme
| Constructor and Description |
|---|
ForwardingNamingScheme() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String id)
Determine if this identifier has been prefixed
|
protected abstract NamingScheme |
delegate() |
Collection<String> |
deprefix(Collection<String> ids) |
String |
deprefix(String id)
Remove the prefix from the id
|
boolean |
equals(Object obj) |
Collection<String> |
filterIds(Collection<String> ids)
Filter a collection of ids, retaining only those correctly prefixed.
|
int |
hashCode() |
Collection<String> |
prefix(Collection<String> ids) |
String |
prefix(String id)
Add the prefix to the id
|
String |
toString() |
protected abstract NamingScheme delegate()
public boolean accept(String id)
NamingSchemeaccept in interface NamingSchemeid - the id to checkpublic String deprefix(String id)
NamingSchemedeprefix in interface NamingSchemeid - the prefixed idpublic String prefix(String id)
NamingSchemeprefix in interface NamingSchemeid - the id to prefixpublic Collection<String> filterIds(Collection<String> ids)
NamingSchemefilterIds in interface NamingSchemeids - the collection of ides to filterpublic Collection<String> deprefix(Collection<String> ids)
deprefix in interface NamingSchemepublic Collection<String> prefix(Collection<String> ids)
prefix in interface NamingSchemeCopyright © 2013 Seam Framework. All Rights Reserved.