Package eu.planets_project.pp.plato.services.characterisation

Examples of eu.planets_project.pp.plato.services.characterisation.FormatHit


     * Sets the format of SampleObject {@link #identifiedRecord} to the currently selected format
     * of all {@link #possibleFormats}.
     */
    public void changeFormat(){
        if ((selectedFormat.getValue() != null) && (identifiedRecord != null)) {
            FormatHit hit = possibleFormats.get(selectedFormat.getValue());
            if (hit != null) {
                identifiedRecord.getFormatInfo().assignValues(hit.getFormat());
                identifiedRecord.touch();
//                FacesContext context = FacesContext.getCurrentInstance();
//                context.renderResponse();
                log.warn("format changed to: "+selectedFormat.getValue());
            }
View Full Code Here

TOP

Related Classes of eu.planets_project.pp.plato.services.characterisation.FormatHit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.