added javadoc and export model type in case there is a need to support
other types of export (not just PMML)