X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=source%2Fmir%2Fgenerator%2Ftal%2FTALTemplateParser.java;h=9c06c61bde7e8523b16071fbaa1a7f4b1bd3d6d4;hb=HEAD;hp=ff1596f5a693a89734449ff72eede756850a93f1;hpb=63e0ee1fb8038eb6d8f0190cf38c3b3ab2727216;p=mir.git diff --git a/source/mir/generator/tal/TALTemplateParser.java b/source/mir/generator/tal/TALTemplateParser.java index ff1596f5..9c06c61b 100755 --- a/source/mir/generator/tal/TALTemplateParser.java +++ b/source/mir/generator/tal/TALTemplateParser.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2001, 2002 The Mir-coders group + * Copyright (C) 2005 The Mir-coders group * * This file is part of Mir. * @@ -18,12 +18,9 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * In addition, as a special exception, The Mir-coders gives permission to link - * the code of this program with any library licensed under the Apache Software License, - * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library - * (or with modified versions of the above that use the same license as the above), - * and distribute linked combinations including the two. You must obey the - * GNU General Public License in all respects for all of the code used other than - * the above mentioned libraries. If you modify this file, you may extend this + * the code of this program with any library licensed under the Apache Software License. + * You must obey the GNU General Public License in all respects for all of the code used + * other than the above mentioned libraries. If you modify this file, you may extend this * exception to your version of the file, but you are not obligated to do so. * If you do not wish to do so, delete this exception statement from your version. */ @@ -37,16 +34,16 @@ import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringReader; +import java.util.HashMap; import java.util.Iterator; import java.util.Map; -import java.util.HashMap; import mir.generator.tal.interfaces.TALExpressionParser; import mir.generator.tal.template.CompositeTemplateNode; import mir.generator.tal.template.PlainTextTemplateNode; import mir.generator.tal.template.Template; -import mir.generator.tal.template.TemplateNodeLibrary; import mir.generator.tal.template.TemplateNode; +import mir.generator.tal.template.TemplateNodeLibrary; import mir.generator.tal.template.TemplateNodeLibraryRegistry; import mir.util.HTMLRoutines; import mir.util.xml.SectionHandler; @@ -167,7 +164,7 @@ public class TALTemplateParser { } return new TALHandler(parser, templateContext); - }; + } public void endElement(mir.util.xml.SectionHandler aHandler) throws XMLParserExc { if (library == null) { @@ -188,7 +185,7 @@ public class TALTemplateParser { tag = null; attributes = null; } - }; + } protected void appendSubNode(TemplateNode aNode) { flushData();