home *** CD-ROM | disk | FTP | other *** search
- package allaire.util.template;
-
- import java.net.MalformedURLException;
- import java.net.URL;
-
- class IncludeElement extends TemplateTagElement {
- private static final String TEMPLATE = "TEMPLATE";
-
- public void process(TemplateOutput var1) throws TemplateException {
- String var2 = ((TemplateTagElement)this).getAttributes().getRequired("TEMPLATE");
- URL var3 = ((TemplateElement)this).getParser().getBaseIncludeURL();
- Object var4 = null;
-
- try {
- var6 = new URL(var3, var2);
- } catch (MalformedURLException var5) {
- throw new TemplateException(1002, "Invalid URL specified for TEMPLATE attribute in " + ((TemplateTagElement)this).getTagName() + " tag (" + var2 + ").");
- }
-
- ((TemplateElement)this).getParser().parse(var6, var1);
- }
- }
-