+package net.jaekl.cfb.xml;
+
+import org.xml.sax.Attributes;
+
+import net.jaekl.qd.xml.ParseResult;
+import net.jaekl.qd.xml.XmlParseException;
+
+public class LocalVariable extends ParseResult {
+
+ static final String TAG = "LocalVariable";
+ static final String[] INTERNAL = { };
+ static final Object[][] EXTERNAL = { };
+
+ static final String NAME = "name";
+ static final String ROLE = "role";
+
+ String m_name;
+ String m_role;
+
+ public LocalVariable() {
+ super(TAG, INTERNAL, EXTERNAL);
+
+ m_name = m_role = null;
+ }
+
+ @Override
+ public void endContents(String uri, String localName, String qName, String chars, Attributes attr)
+ throws XmlParseException
+ {
+ m_name = getRequiredAttr(TAG, attr, NAME);
+ m_role = getRequiredAttr(TAG, attr, ROLE);
+ }
+
+ @Override
+ public void endExternal(String uri, String localName, String qName)
+ throws XmlParseException
+ {
+ // no-op
+ }
+}