private String getStringValue(NamedNodeMap attributes, String name) throws SAXException { String val= getStringValue(attributes, name, null); if (val == null) throw new SAXException(TextTemplateMessages.getString("TemplateReaderWriter.error.missing_attribute")); //$NON-NLS-1$ return val; }
continue; String id= getStringValue(attributes, ID_ATTRIBUTE, null); if (id != null && ids.contains(id)) { String PLUGIN_ID= "org.eclipse.jface.text"; //$NON-NLS-1$ String name= getStringValue(attributes, NAME_ATTRIBUTE); name= translateString(name, bundle); String description= getStringValue(attributes, DESCRIPTION_ATTRIBUTE, ""); //$NON-NLS-1$ description= translateString(description, bundle); String context= getStringValue(attributes, CONTEXT_ATTRIBUTE);