Mercurial > projects > dwt-addons
comparison dwtx/jface/text/templates/TemplateContext.d @ 141:ea8dd2e11034
instanceof and throws
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 21:25:28 +0200 |
parents | 51e6e63f930e |
children | 02cd5f1224d3 |
comparison
equal
deleted
inserted
replaced
140:26688fec6d23 | 141:ea8dd2e11034 |
---|---|
124 * @param template the template to evaluate | 124 * @param template the template to evaluate |
125 * @return returns the buffer with the evaluated template or <code>null</code> if the buffer could not be created | 125 * @return returns the buffer with the evaluated template or <code>null</code> if the buffer could not be created |
126 * @throws BadLocationException if evaluation fails due to concurrently changed documents etc. | 126 * @throws BadLocationException if evaluation fails due to concurrently changed documents etc. |
127 * @throws TemplateException if the template specification is not valid | 127 * @throws TemplateException if the template specification is not valid |
128 */ | 128 */ |
129 public abstract TemplateBuffer evaluate(Template template) throws BadLocationException, TemplateException; | 129 public abstract TemplateBuffer evaluate(Template template); |
130 | 130 |
131 /** | 131 /** |
132 * Tests if the specified template can be evaluated in this context. | 132 * Tests if the specified template can be evaluated in this context. |
133 * <p>Examples are templates defined for a different context (e.g. a javadoc | 133 * <p>Examples are templates defined for a different context (e.g. a javadoc |
134 * template cannot be evaluated in Java context).</p> | 134 * template cannot be evaluated in Java context).</p> |