jpaoletti.jpm.converter.ExternalConverters Maven / Gradle / Ivy
The newest version!
package jpaoletti.jpm.converter;
import java.util.List;
import jpaoletti.jpm.core.PMCoreObject;
import jpaoletti.jpm.core.PresentationManager;
/**
* Collection of external converters
*
* @author jpaoletti
*/
public class ExternalConverters extends PMCoreObject {
private List converters;
private PresentationManager pm;
public ExternalConverters(PresentationManager pm) {
this.pm = pm;
}
public ConverterWrapper getWrapper(String id) {
for (ConverterWrapper cw : converters) {
if (cw.getId().equalsIgnoreCase(id)) {
return cw;
}
}
return null;
}
public List getConverters() {
return converters;
}
public void setConverters(List converters) {
this.converters = converters;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy