Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.context.beanstore;
 
 
 
 public interface NamingScheme {

    
Determine if this identifier has been prefixed

Parameters:
id the id to check
Returns:
true if it has been prefixed, false otherwise
    boolean accept(String id);

    
Remove the prefix from the id

Parameters:
id the prefixed id
Returns:
the id without the prefix
    BeanIdentifier deprefix(String id);

    
Add the prefix to the id

Parameters:
id the id to prefix
Returns:
the prefixed id
    String prefix(BeanIdentifier id);

    
Filter a collection of ids, retaining only those correctly prefixed.

Parameters:
ids the collection of ides to filter
New to GrepCode? Check out our FAQ X