m_start = m_end = (-1);
}
+ public String getClassName() { return m_className; }
+ public int getStart() { return m_start; }
+ public int getEnd() { return m_end; }
+
@Override
public void handleMainAttributes(Attributes attr) throws MissingAttributeException {
String scratch;
m_className = getRequiredAttr(TAG, attr, ATTR_CLASS_NAME);
- scratch = getRequiredAttr(TAG, attr, ATTR_START);
+ scratch = getOptionalAttr(attr, ATTR_START, "-1");
m_start = Integer.parseInt(scratch);
- scratch = getRequiredAttr(TAG, attr, ATTR_END);
+ scratch = getOptionalAttr(attr, ATTR_END, "-1");
m_end = Integer.parseInt(scratch);
}