if (outputs != null) { for (Output output : outputs) { String refs = output.getReference(); if (refs != null) { String ref;
Output output = compositeOutputs.get(childOuputName); if (output != null) { String childOuputRef = output.getReference(); if (childOuputRef != null && childOuputRef.length() > childOuputName.length()) { childOuputRef = childOuputRef.substring(childOuputName.length());
Map<String, Object> result = new HashMap<String, Object>(11); for (Output output : outputs) { String refs = output.getReference(); if (refs != null) { String ref;
public static List<Output> getLocalizedOutputs(TranslationProvider i18nProvider, List<Output> outputs, Bundle bundle, String uid, Locale locale) { List<Output> loutputs = new ArrayList<Output>(); if (outputs != null) { for (Output output : outputs) { String outputName = output.getName(); String olabel = ModuleTypeI18nUtil.getOutputLabel(i18nProvider, bundle, uid, outputName, output.getLabel(), locale); String odescription = ModuleTypeI18nUtil.getOutputDescription(i18nProvider, bundle, uid, outputName, output.getDescription(), locale); loutputs.add(new Output(outputName, output.getType(), olabel, odescription, output.getTags(), output.getReference(), output.getDefaultValue())); } } return loutputs; }