package net.jaekl.cfb.xml;
-import org.xml.sax.Attributes;
-
-import net.jaekl.qd.xml.MissingAttributeException;
import net.jaekl.qd.xml.ParseResult;
import net.jaekl.qd.xml.XmlParseException;
+import org.xml.sax.Attributes;
+
public class SourceLine extends ParseResult {
- static final String ROOT_TAG = "SourceLine";
+ static final String TAG = "SourceLine";
static final String[] INTERNAL = { };
static final Object[][] EXTERNAL = { };
int m_end;
public SourceLine() {
- super(ROOT_TAG, INTERNAL, EXTERNAL);
+ super(TAG, INTERNAL, EXTERNAL);
m_className = null;
m_start = m_end = (-1);
}
m_end = Integer.parseInt(scratch);
}
- String getRequiredAttr(String tagName, Attributes attr, String attrName)
- throws MissingAttributeException
- {
- String result = attr.getValue(attrName);
- if (null == result) {
- throw new MissingAttributeException(tagName, attrName);
- }
- return result;
- }
-
@Override
public void endExternal(String uri, String localName, String qName)
throws XmlParseException
{
// no-op
}
-
}