Package org.apache.myfaces.taglib.html

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

// 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.MethodExpression;
import javax.el.ValueExpression;
import javax.faces.component.UICommand;
import javax.faces.component.UIComponent;
import javax.faces.component.html.HtmlCommandLink;
import javax.faces.event.MethodExpressionActionListener;
import javax.faces.webapp.UIComponentELTag;

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

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

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

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

  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 _accesskey;
  public void setAccesskey(ValueExpression accesskey)
  {
    _accesskey = accesskey;
  }

  private ValueExpression _charset;
  public void setCharset(ValueExpression charset)
  {
    _charset = charset;
  }

  private ValueExpression _coords;
  public void setCoords(ValueExpression coords)
  {
    _coords = coords;
  }

  private ValueExpression _hreflang;
  public void setHreflang(ValueExpression hreflang)
  {
    _hreflang = hreflang;
  }

  private ValueExpression _disabled;
  public void setDisabled(ValueExpression disabled)
  {
    _disabled = disabled;
  }

  private ValueExpression _rel;
  public void setRel(ValueExpression rel)
  {
    _rel = rel;
  }

  private ValueExpression _rev;
  public void setRev(ValueExpression rev)
  {
    _rev = rev;
  }

  private ValueExpression _shape;
  public void setShape(ValueExpression shape)
  {
    _shape = shape;
  }

  private ValueExpression _target;
  public void setTarget(ValueExpression target)
  {
    _target = target;
  }

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

  private ValueExpression _type;
  public void setType(ValueExpression type)
  {
    _type = type;
  }

  private ValueExpression _immediate;
  public void setImmediate(ValueExpression immediate)
  {
    _immediate = immediate;
  }

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

  private MethodExpression _actionExpression;
  public void setAction(MethodExpression actionExpression)
  {
    _actionExpression = actionExpression;
  }

  private MethodExpression _actionListener;
  public void setActionListener(MethodExpression actionListener)
  {
    _actionListener = actionListener;
  }

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

  super.setProperties(component);

  if (_accesskey != null)
  {
    comp.setValueExpression("accesskey", _accesskey);
  }
  if (_onmousedown != null)
  {
    comp.setValueExpression("onmousedown", _onmousedown);
  }
  if (_hreflang != null)
  {
    comp.setValueExpression("hreflang", _hreflang);
  }
  if (_rev != null)
  {
    comp.setValueExpression("rev", _rev);
  }
  if (_onfocus != null)
  {
    comp.setValueExpression("onfocus", _onfocus);
  }
  if (_value != null)
  {
    comp.setValueExpression("value", _value);
  }
  if (_coords != null)
  {
    comp.setValueExpression("coords", _coords);
  }
  if (_onmousemove != null)
  {
    comp.setValueExpression("onmousemove", _onmousemove);
  }
  if (_ondblclick != null)
  {
    comp.setValueExpression("ondblclick", _ondblclick);
  }
  if (_styleClass != null)
  {
    comp.setValueExpression("styleClass", _styleClass);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
  if (_actionExpression != null)
  {
    comp.setActionExpression(_actionExpression);
  }
  if (_onmouseover != null)
  {
    comp.setValueExpression("onmouseover", _onmouseover);
  }
  if (_disabled != null)
  {
    comp.setValueExpression("disabled", _disabled);
  }
  if (_onkeydown != null)
  {
    comp.setValueExpression("onkeydown", _onkeydown);
  }
  if (_immediate != null)
  {
    comp.setValueExpression("immediate", _immediate);
  }
  if (_tabindex != null)
  {
    comp.setValueExpression("tabindex", _tabindex);
  }
  if (_onmouseup != null)
  {
    comp.setValueExpression("onmouseup", _onmouseup);
  }
  if (_lang != null)
  {
    comp.setValueExpression("lang", _lang);
  }
  if (_rel != null)
  {
    comp.setValueExpression("rel", _rel);
  }
  if (_onblur != null)
  {
    comp.setValueExpression("onblur", _onblur);
  }
  if (_charset != null)
  {
    comp.setValueExpression("charset", _charset);
  }
  if (_onkeypress != null)
  {
    comp.setValueExpression("onkeypress", _onkeypress);
  }
  if (_dir != null)
  {
    comp.setValueExpression("dir", _dir);
  }
  if (_title != null)
  {
    comp.setValueExpression("title", _title);
  }
  if (_shape != null)
  {
    comp.setValueExpression("shape", _shape);
  }
  if (_onmouseout != null)
  {
    comp.setValueExpression("onmouseout", _onmouseout);
  }
  if (_onclick != null)
  {
    comp.setValueExpression("onclick", _onclick);
  }
  if (_type != null)
  {
    comp.setValueExpression("type", _type);
  }
  if (_target != null)
  {
    comp.setValueExpression("target", _target);
  }
  if (_onkeyup != null)
  {
    comp.setValueExpression("onkeyup", _onkeyup);
  }
  if (_style != null)
  {
    comp.setValueExpression("style", _style);
  }
}

@Override
public void release()
{
  super.release();
  _accesskey = null;
  _onmousedown = null;
  _hreflang = null;
  _rev = null;
  _onfocus = null;
  _value = null;
  _coords = null;
  _onmousemove = null;
  _ondblclick = null;
  _styleClass = null;
  _actionListener = null;
  _actionExpression = null;
  _onmouseover = null;
  _disabled = null;
  _onkeydown = null;
  _immediate = null;
  _tabindex = null;
  _onmouseup = null;
  _lang = null;
  _rel = null;
  _onblur = null;
  _charset = null;
  _onkeypress = null;
  _dir = null;
  _title = null;
  _shape = null;
  _onmouseout = null;
  _onclick = null;
  _type = null;
  _target = null;
  _onkeyup = null;
  _style = null;
}
}
TOP

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

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.