Package org.apache.myfaces.taglib.html

Source Code of org.apache.myfaces.taglib.html.HtmlOutputLabelTag

// WARNING: This file was automatically generated. Do not edit it directly,
//          or you will lose your changes.

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*   http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied.  See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.myfaces.taglib.html;

import javax.el.ValueExpression;
import javax.faces.component.UIComponent;
import javax.faces.component.UIOutput;
import javax.faces.component.html.HtmlOutputLabel;
import javax.faces.convert.Converter;
import javax.faces.webapp.UIComponentELTag;

/**
* Auto-generated tag class.
*/
public class HtmlOutputLabelTag extends UIComponentELTag
{

  /**
   * Construct an instance of the HtmlOutputLabelTag.
   */
  public HtmlOutputLabelTag()
  {
  }

  public String getComponentType()
  {
    return "javax.faces.HtmlOutputLabel";
  }

  public String getRendererType()
  {
    return "javax.faces.Label";
  }

  private ValueExpression _value;
  public void setValue(ValueExpression value)
  {
    _value = value;
  }

  private ValueExpression _converter;
  public void setConverter(ValueExpression converter)
  {
    _converter = converter;
  }

  private ValueExpression _style;
  public void setStyle(ValueExpression style)
  {
    _style = style;
  }

  private ValueExpression _styleClass;
  public void setStyleClass(ValueExpression styleClass)
  {
    _styleClass = styleClass;
  }

  private ValueExpression _dir;
  public void setDir(ValueExpression dir)
  {
    _dir = dir;
  }

  private ValueExpression _lang;
  public void setLang(ValueExpression lang)
  {
    _lang = lang;
  }

  private ValueExpression _title;
  public void setTitle(ValueExpression title)
  {
    _title = title;
  }

  private ValueExpression _onclick;
  public void setOnclick(ValueExpression onclick)
  {
    _onclick = onclick;
  }

  private ValueExpression _ondblclick;
  public void setOndblclick(ValueExpression ondblclick)
  {
    _ondblclick = ondblclick;
  }

  private ValueExpression _onmousedown;
  public void setOnmousedown(ValueExpression onmousedown)
  {
    _onmousedown = onmousedown;
  }

  private ValueExpression _onmouseup;
  public void setOnmouseup(ValueExpression onmouseup)
  {
    _onmouseup = onmouseup;
  }

  private ValueExpression _onmouseover;
  public void setOnmouseover(ValueExpression onmouseover)
  {
    _onmouseover = onmouseover;
  }

  private ValueExpression _onmousemove;
  public void setOnmousemove(ValueExpression onmousemove)
  {
    _onmousemove = onmousemove;
  }

  private ValueExpression _onmouseout;
  public void setOnmouseout(ValueExpression onmouseout)
  {
    _onmouseout = onmouseout;
  }

  private ValueExpression _onkeypress;
  public void setOnkeypress(ValueExpression onkeypress)
  {
    _onkeypress = onkeypress;
  }

  private ValueExpression _onkeydown;
  public void setOnkeydown(ValueExpression onkeydown)
  {
    _onkeydown = onkeydown;
  }

  private ValueExpression _onkeyup;
  public void setOnkeyup(ValueExpression onkeyup)
  {
    _onkeyup = onkeyup;
  }

  private ValueExpression _onblur;
  public void setOnblur(ValueExpression onblur)
  {
    _onblur = onblur;
  }

  private ValueExpression _onfocus;
  public void setOnfocus(ValueExpression onfocus)
  {
    _onfocus = onfocus;
  }

  private ValueExpression _escape;
  public void setEscape(ValueExpression escape)
  {
    _escape = escape;
  }

  private ValueExpression _accesskey;
  public void setAccesskey(ValueExpression accesskey)
  {
    _accesskey = accesskey;
  }

  private ValueExpression _tabindex;
  public void setTabindex(ValueExpression tabindex)
  {
    _tabindex = tabindex;
  }

  private ValueExpression _for;
  public void setFor(ValueExpression forParam)
  {
    _for = forParam;
  }

  @Override
  protected void setProperties(UIComponent component)
{
  if (!(component instanceof HtmlOutputLabel))
  {
    throw new IllegalArgumentException("Component " + component.getClass().getName() + " is no HtmlOutputLabel");
  }
  HtmlOutputLabel comp = (HtmlOutputLabel)component;

  super.setProperties(component);

  if (_for != null)
  {
    comp.setValueExpression("for", _for);
  }
  if (_onfocus != null)
  {
    comp.setValueExpression("onfocus", _onfocus);
  }
  if (_accesskey != null)
  {
    comp.setValueExpression("accesskey", _accesskey);
  }
  if (_style != null)
  {
    comp.setValueExpression("style", _style);
  }
  if (_escape != null)
  {
    comp.setValueExpression("escape", _escape);
  }
  if (_onclick != null)
  {
    comp.setValueExpression("onclick", _onclick);
  }
  if (_converter != null)
  {
    if (!_converter.isLiteralText())
    {
      comp.setValueExpression("converter", _converter);
    }
    else
    {
      String s = _converter.getExpressionString();
      if (s != null)
      {
        Converter converter = getFacesContext().getApplication().
          createConverter(s);
        comp.setConverter(converter);
      }
    }
  }
  if (_onmouseup != null)
  {
    comp.setValueExpression("onmouseup", _onmouseup);
  }
  if (_onblur != null)
  {
    comp.setValueExpression("onblur", _onblur);
  }
  if (_tabindex != null)
  {
    comp.setValueExpression("tabindex", _tabindex);
  }
  if (_ondblclick != null)
  {
    comp.setValueExpression("ondblclick", _ondblclick);
  }
  if (_onkeyup != null)
  {
    comp.setValueExpression("onkeyup", _onkeyup);
  }
  if (_onkeypress != null)
  {
    comp.setValueExpression("onkeypress", _onkeypress);
  }
  if (_onkeydown != null)
  {
    comp.setValueExpression("onkeydown", _onkeydown);
  }
  if (_onmouseout != null)
  {
    comp.setValueExpression("onmouseout", _onmouseout);
  }
  if (_onmousemove != null)
  {
    comp.setValueExpression("onmousemove", _onmousemove);
  }
  if (_title != null)
  {
    comp.setValueExpression("title", _title);
  }
  if (_onmouseover != null)
  {
    comp.setValueExpression("onmouseover", _onmouseover);
  }
  if (_lang != null)
  {
    comp.setValueExpression("lang", _lang);
  }
  if (_styleClass != null)
  {
    comp.setValueExpression("styleClass", _styleClass);
  }
  if (_dir != null)
  {
    comp.setValueExpression("dir", _dir);
  }
  if (_onmousedown != null)
  {
    comp.setValueExpression("onmousedown", _onmousedown);
  }
  if (_value != null)
  {
    comp.setValueExpression("value", _value);
  }
}

@Override
public void release()
{
  super.release();
  _for = null;
  _onfocus = null;
  _accesskey = null;
  _style = null;
  _escape = null;
  _onclick = null;
  _converter = null;
  _onmouseup = null;
  _onblur = null;
  _tabindex = null;
  _ondblclick = null;
  _onkeyup = null;
  _onkeypress = null;
  _onkeydown = null;
  _onmouseout = null;
  _onmousemove = null;
  _title = null;
  _onmouseover = null;
  _lang = null;
  _styleClass = null;
  _dir = null;
  _onmousedown = null;
  _value = null;
}
}
TOP

Related Classes of org.apache.myfaces.taglib.html.HtmlOutputLabelTag

TOP
Copyright © 2018 www.massapi.com. 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.