cage
Interface EmbeddingTypeFactory
- All Known Implementing Classes:
- CaGeEmbeddingTypeFactory
public interface EmbeddingTypeFactory
Interface that defines a factory for embedding types. These types are used
in the external generator panel for the section "Embed as:". The type string
is used to represent the type in the list. Of course can any generator also
use these factories internally.
getEmbeddingTypes
java.lang.String[] getEmbeddingTypes()
getEmbedderFor
Embedder getEmbedderFor(java.lang.String type)
- Returns a new
Embedder
for the given type or
null if the type is unknown.
- Parameters:
type
- A type token for a certain embedder
- Returns:
- a new
Embedder
or null if the type is unknown