/* (non-Javadoc) * @see IMarkerDelta#getAttribute(String, boolean) */ public boolean getAttribute(String attributeName, boolean defaultValue) { Object value = info.getAttribute(attributeName); if (value instanceof Boolean) return ((Boolean) value).booleanValue(); return defaultValue; }
/* (non-Javadoc) * @see IMarkerDelta#getAttribute(String, int) */ public int getAttribute(String attributeName, int defaultValue) { Object value = info.getAttribute(attributeName); if (value instanceof Integer) return ((Integer) value).intValue(); return defaultValue; }
/* (non-Javadoc) * @see IMarkerDelta#getAttribute(String, String) */ public String getAttribute(String attributeName, String defaultValue) { Object value = info.getAttribute(attributeName); if (value instanceof String) return (String) value; return defaultValue; }
/* (non-Javadoc) * @see IMarkerDelta#getAttribute(String) */ public Object getAttribute(String attributeName) { return info.getAttribute(attributeName); }