All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.podio.item.map.converter.TextConverterProvider Maven / Gradle / Ivy

package com.podio.item.map.converter;

import java.lang.reflect.AnnotatedElement;

import com.podio.app.ApplicationField;
import com.podio.app.ApplicationFieldType;

public class TextConverterProvider implements FieldConverterProvider {

	@Override
	public boolean isSupported(ApplicationFieldType fieldType) {
		return fieldType == ApplicationFieldType.TEXT
				|| fieldType == ApplicationFieldType.LOCATION;
	}

	@Override
	public FieldConverter getConverter(ApplicationField field,
			AnnotatedElement element) {
		return new TextConverter();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy