Interface NamingScheme

    • Method Detail

      • accept

        boolean accept​(String id)
        Determine if this identifier has been prefixed
        Parameters:
        id - the id to check
        Returns:
        true if it has been prefixed, false otherwise
      • deprefix

        org.jboss.weld.serialization.spi.BeanIdentifier deprefix​(String id)
        Remove the prefix from the id
        Parameters:
        id - the prefixed id
        Returns:
        the id without the prefix
      • prefix

        String prefix​(org.jboss.weld.serialization.spi.BeanIdentifier id)
        Add the prefix to the id
        Parameters:
        id - the id to prefix
        Returns:
        the prefixed id
      • filterIds

        Collection<String> filterIds​(Iterator<String> ids)
        Filter ids and retain only those correctly prefixed.
        Parameters:
        ids - the identifiers to filter