public interface IPluginSource
Modifier and Type | Method and Description |
---|---|
void |
addKnownGramar(String id)
Tells the receiver that a pattern with the specified ID exists and is retrievable.
|
IGramar |
getGramar(String gramarId)
Return an IGramar with the given id
A gramar is a collection of text templates and a property file.
|
ITemplatingExtension |
getTemplatingExtension(String extensionId)
Return the templating extension with the given id
|
IGramar[] |
gramars()
Return an array of available IPatterns.
|
String[] |
list()
Return an array of String id's for the available IGramars.
|
String[] list()
IGramar[] gramars()
IGramar getGramar(String gramarId) throws NoSuchGramarException, InvalidGramarException
ITemplatingExtension getTemplatingExtension(String extensionId) throws NoSuchTemplatingExtensionException, InvalidTemplateExtensionException
void addKnownGramar(String id) throws NoSuchGramarException, InvalidGramarException
id
- InvalidGramarException
NoSuchGramarException
Copyright © 2015. All rights reserved.