public Map<String, String> values(Object context) {

		if (this.attributes.isEmpty()) {
			return Collections.emptyMap();
		}
		Map<String, String> map = new HashMap<String, String>();
		for (KAttribute attribute : this.attributes) {
			String value = attribute.value(context);
			if (value != null) {
				map.put(attribute.getName(), value);
			}
		}
		return map;
	}
public Map < String , String > values ( Object context ) { if ( this . attributes . isEmpty ( ) ) { return Collections . emptyMap ( ) ; } Map < String , String > map = new HashMap < String , String > ( ) ; for ( KAttribute attribute : this . attributes ) { String value = attribute . value ( context ) ; if ( value != null ) { map . put ( attribute . getName ( ) , value ) ; } } return map ; }
Get the attribute values

@param context
the context
@return a map of attribute name/value. Empty map if no attributes/