<commit_before>/*
 * Created on 8 Nov 2006
 */
package uk.org.ponder.rsf.builtin;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import uk.org.ponder.conversion.StaticLeafParser;
import uk.org.ponder.messageutil.MessageLocator;
import uk.org.ponder.messageutil.TargettedMessage;
import uk.org.ponder.messageutil.TargettedMessageList;
import uk.org.ponder.rsf.components.UIContainer;
import uk.org.ponder.rsf.components.UIOutput;
import uk.org.ponder.rsf.components.decorators.DecoratorList;
import uk.org.ponder.rsf.components.decorators.UIFreeAttributeDecorator;
import uk.org.ponder.rsf.components.decorators.UIIDStrategyDecorator;
import uk.org.ponder.rsf.content.ContentTypeInfoRegistry;
import uk.org.ponder.rsf.content.ContentTypeReporter;
import uk.org.ponder.rsf.flow.ARIResult;
import uk.org.ponder.rsf.flow.jsfnav.NavigationCase;
import uk.org.ponder.rsf.flow.jsfnav.NavigationCaseReporter;
import uk.org.ponder.rsf.view.ComponentChecker;
import uk.org.ponder.rsf.view.ViewComponentProducer;
import uk.org.ponder.rsf.viewstate.ViewParameters;

public class UVBProducer implements ViewComponentProducer, ContentTypeReporter, 
  NavigationCaseReporter {
  public static final String VIEW_ID = "UVBview";
//  private BeanDestroyer beanDestroyer;
  private StaticLeafParser leafparser;
  private UVBBean uvbbean;
  private TargettedMessageList tml;
  private MessageLocator messageLocator;

  public void setLeafParser(StaticLeafParser leafparser) {
    this.leafparser = leafparser;
  }

  public void setMessageLocator(MessageLocator messageLocator) {
    this.messageLocator = messageLocator;
  }
/**
  public void setBeanDestroyer(BeanDestroyer beanDestroyer) {
    this.beanDestroyer = beanDestroyer;
  }
**/
  public String getViewID() {
    return VIEW_ID;
  }

  public void setUVBBean(UVBBean uvbbean) {
    this.uvbbean = uvbbean;
  }

  public void setTargettedMessageList(TargettedMessageList tml) {
    this.tml = tml;<commit_msg>Public ViewParams added to UVBView<commit_after>/*
 * Created on 8 Nov 2006
 */
package uk.org.ponder.rsf.builtin;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import uk.org.ponder.conversion.StaticLeafParser;
import uk.org.ponder.messageutil.MessageLocator;
import uk.org.ponder.messageutil.TargettedMessage;
import uk.org.ponder.messageutil.TargettedMessageList;
import uk.org.ponder.rsf.components.UIContainer;
import uk.org.ponder.rsf.components.UIOutput;
import uk.org.ponder.rsf.components.decorators.DecoratorList;
import uk.org.ponder.rsf.components.decorators.UIFreeAttributeDecorator;
import uk.org.ponder.rsf.components.decorators.UIIDStrategyDecorator;
import uk.org.ponder.rsf.content.ContentTypeInfoRegistry;
import uk.org.ponder.rsf.content.ContentTypeReporter;
import uk.org.ponder.rsf.flow.ARIResult;
import uk.org.ponder.rsf.flow.jsfnav.NavigationCase;
import uk.org.ponder.rsf.flow.jsfnav.NavigationCaseReporter;
import uk.org.ponder.rsf.view.ComponentChecker;
import uk.org.ponder.rsf.view.ViewComponentProducer;
import uk.org.ponder.rsf.viewstate.SimpleViewParameters;
import uk.org.ponder.rsf.viewstate.ViewParameters;

public class UVBProducer implements ViewComponentProducer, ContentTypeReporter, 
  NavigationCaseReporter {
  public static final String VIEW_ID = "UVBview";
  /** The View Parameters that address this view, held as a static variable for
   * convenience. 
   */
  public static final ViewParameters PARAMS = new SimpleViewParameters(VIEW_ID);
//  private BeanDestroyer beanDestroyer;
  private StaticLeafParser leafparser;
  private UVBBean uvbbean;
  private TargettedMessageList tml;
  private MessageLocator messageLocator;

  public void setLeafParser(StaticLeafParser leafparser) {
    this.leafparser = leafparser;
  }

  public void setMessageLocator(MessageLocator messageLocator) {
    this.messageLocator = messageLocator;
  }
/**
  public void setBeanDestroyer(BeanDestroyer beanDestroyer) {
    this.beanDestroyer = beanDestroyer;
  }
**/
  public String getViewID() {
    return VIEW_ID;
  }

  public void setUVBBean(UVBBean uvbbean) {
    this.uvbbean = uvbbean;
  }

  public void setTargettedMessageList(TargettedMessageList tml) {
    this.tml = tml;
{'fraction_non_alphanumeric': 0.09180327868852459, 'fraction_numerical': 0.00234192037470726, 'mean_word_length': 5.3087149187592315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5136584', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1399, 'n_words': 252}