--- /dev/null
+package mir.util.xml;\r
+\r
+/**\r
+ *\r
+ * <p>Title: </p>\r
+ * <p>Description: </p>\r
+ * <p>Copyright: Copyright (c) 2003</p>\r
+ * <p>Company: </p>\r
+ * @author not attributable\r
+ * @version 1.0\r
+ */\r
+\r
+public abstract class AbstractSectionHandler implements SectionHandler {\r
+ public void extra(String anExtraData) throws XMLParserExc, XMLParserFailure {\r
+ }\r
+\r
+ public SectionHandler startElement(XMLName aTag, java.util.Map anAttributes) throws XMLParserExc{\r
+ return startElement(aTag.getLocalName(), XMLReaderTool.convertXMLAttributeMap(anAttributes));\r
+ };\r
+\r
+ public SectionHandler startElement(String aLocalName, java.util.Map anAttributes) throws XMLParserExc{\r
+ return new AbstractSectionHandler() {};\r
+ };\r
+\r
+ public void endElement(SectionHandler aHandler) throws XMLParserExc{\r
+ };\r
+\r
+ public void startSection() throws XMLParserExc{\r
+ }\r
+\r
+ public void finishSection() throws XMLParserExc{\r
+ }\r
+\r
+ public void characters(String aCharacters) throws XMLParserExc{\r
+ if ( aCharacters.trim().length() > 0) {\r
+ throw new XMLParserExc("Text not allowed");\r
+ }\r
+ }\r
+}\r