- 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;
- }
-