Bug 221521 [Markers] New markers API needs to be pared down
We have too much API in some of the new classes and they can be moved to internals
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerEntry.java
if (attributeCache.containsKey(attribute)) {
			Object cached = attributeCache.get(attribute);
			if (cached == null)
				return defaultValue;
			value = ((Integer) cached).intValue();
		} else {
			value = marker.getAttribute(attribute, defaultValue);
			attributeCache.put(attribute, new Integer(value));
		}
		return value;
	}
	 /**
	 * Get the String value of the attribute in the enclosed marker.
	 * 
	 * @param attribute
	 * @param defaultValue
	 *            the defaultValue if the value is not set
	 * @return String
	 */
	public String getAttributeValue(String attribute, String defaultValue) {
		String value;
		if (attributeCache.containsKey(attribute)) {
			Object cached = attributeCache.get(attribute);
			if (cached == null)
				return defaultValue;
			value = (String) cached;
		} else {
			value = marker.getAttribute(attribute, defaultValue);
			attributeCache.put(attribute, value);
		}