if (key.endsWith(":")) {
String directiveName = key.substring(0, key.length() - 1);
builder.addDirective(directiveName, attrib.getValue());
} else {
// TODO
Type type = attribs.getType(key);
Object value = attribs.getTyped(key);
builder.addAttribute(key, value);
}
}
}