use of org.apache.tapestry5.internal.KeyValue in project tapestry-5 by apache.
the class ComponentWorker method addParameters.
private void addParameters(MutableEmbeddedComponentModel embedded, String[] parameters) {
for (String parameter : parameters) {
KeyValue kv = TapestryInternalUtils.parseKeyValue(parameter);
embedded.addParameter(kv.getKey(), kv.getValue());
}
}
use of org.apache.tapestry5.internal.KeyValue in project tapestry-5 by apache.
the class MetaAnnotationExtractor method extractMetaData.
public void extractMetaData(MutableComponentModel model, Meta annotation) {
for (String meta : annotation.value()) {
KeyValue kv = TapestryInternalUtils.parseKeyValue(meta);
model.setMeta(kv.getKey(), kv.getValue());
}
}
Aggregations