📄 defaulttaglibrary.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: DefaultTagLibrary.java
package org.apache.struts2.views;
import com.opensymphony.xwork2.util.ValueStack;
import java.util.Arrays;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.views.freemarker.tags.StrutsModels;
import org.apache.struts2.views.velocity.components.ActionDirective;
import org.apache.struts2.views.velocity.components.ActionErrorDirective;
import org.apache.struts2.views.velocity.components.ActionMessageDirective;
import org.apache.struts2.views.velocity.components.AnchorDirective;
import org.apache.struts2.views.velocity.components.AutocompleterDirective;
import org.apache.struts2.views.velocity.components.BeanDirective;
import org.apache.struts2.views.velocity.components.CheckBoxDirective;
import org.apache.struts2.views.velocity.components.CheckBoxListDirective;
import org.apache.struts2.views.velocity.components.ComboBoxDirective;
import org.apache.struts2.views.velocity.components.ComponentDirective;
import org.apache.struts2.views.velocity.components.DateDirective;
import org.apache.struts2.views.velocity.components.DateTimePickerDirective;
import org.apache.struts2.views.velocity.components.DivDirective;
import org.apache.struts2.views.velocity.components.DoubleSelectDirective;
import org.apache.struts2.views.velocity.components.FieldErrorDirective;
import org.apache.struts2.views.velocity.components.FileDirective;
import org.apache.struts2.views.velocity.components.FormDirective;
import org.apache.struts2.views.velocity.components.HeadDirective;
import org.apache.struts2.views.velocity.components.HiddenDirective;
import org.apache.struts2.views.velocity.components.I18nDirective;
import org.apache.struts2.views.velocity.components.IncludeDirective;
import org.apache.struts2.views.velocity.components.LabelDirective;
import org.apache.struts2.views.velocity.components.OptionTransferSelectDirective;
import org.apache.struts2.views.velocity.components.ParamDirective;
import org.apache.struts2.views.velocity.components.PasswordDirective;
import org.apache.struts2.views.velocity.components.PropertyDirective;
import org.apache.struts2.views.velocity.components.PushDirective;
import org.apache.struts2.views.velocity.components.RadioDirective;
import org.apache.struts2.views.velocity.components.ResetDirective;
import org.apache.struts2.views.velocity.components.SelectDirective;
import org.apache.struts2.views.velocity.components.SetDirective;
import org.apache.struts2.views.velocity.components.SubmitDirective;
import org.apache.struts2.views.velocity.components.TabbedPanelDirective;
import org.apache.struts2.views.velocity.components.TextAreaDirective;
import org.apache.struts2.views.velocity.components.TextDirective;
import org.apache.struts2.views.velocity.components.TextFieldDirective;
import org.apache.struts2.views.velocity.components.TokenDirective;
import org.apache.struts2.views.velocity.components.TreeDirective;
import org.apache.struts2.views.velocity.components.TreeNodeDirective;
import org.apache.struts2.views.velocity.components.URLDirective;
import org.apache.struts2.views.velocity.components.UpDownSelectDirective;
import org.apache.struts2.views.velocity.components.WebTableDirective;
// Referenced classes of package org.apache.struts2.views:
// TagLibrary
public class DefaultTagLibrary
implements TagLibrary
{
public DefaultTagLibrary()
{
}
public Object getFreemarkerModels(ValueStack stack, HttpServletRequest req, HttpServletResponse res)
{
return new StrutsModels(stack, req, res);
}
public List getVelocityDirectiveClasses()
{
Class directives[] = {
org/apache/struts2/views/velocity/components/ActionDirective, org/apache/struts2/views/velocity/components/BeanDirective, org/apache/struts2/views/velocity/components/CheckBoxDirective, org/apache/struts2/views/velocity/components/CheckBoxListDirective, org/apache/struts2/views/velocity/components/ComboBoxDirective, org/apache/struts2/views/velocity/components/ComponentDirective, org/apache/struts2/views/velocity/components/DateDirective, org/apache/struts2/views/velocity/components/DateTimePickerDirective, org/apache/struts2/views/velocity/components/DivDirective, org/apache/struts2/views/velocity/components/AutocompleterDirective,
org/apache/struts2/views/velocity/components/DoubleSelectDirective, org/apache/struts2/views/velocity/components/FileDirective, org/apache/struts2/views/velocity/components/FormDirective, org/apache/struts2/views/velocity/components/HeadDirective, org/apache/struts2/views/velocity/components/HiddenDirective, org/apache/struts2/views/velocity/components/AnchorDirective, org/apache/struts2/views/velocity/components/I18nDirective, org/apache/struts2/views/velocity/components/IncludeDirective, org/apache/struts2/views/velocity/components/LabelDirective, org/apache/struts2/views/velocity/components/ParamDirective,
org/apache/struts2/views/velocity/components/PasswordDirective, org/apache/struts2/views/velocity/components/PushDirective, org/apache/struts2/views/velocity/components/PropertyDirective, org/apache/struts2/views/velocity/components/RadioDirective, org/apache/struts2/views/velocity/components/SelectDirective, org/apache/struts2/views/velocity/components/SetDirective, org/apache/struts2/views/velocity/components/SubmitDirective, org/apache/struts2/views/velocity/components/ResetDirective, org/apache/struts2/views/velocity/components/TabbedPanelDirective, org/apache/struts2/views/velocity/components/TextAreaDirective,
org/apache/struts2/views/velocity/components/TextDirective, org/apache/struts2/views/velocity/components/TextFieldDirective, org/apache/struts2/views/velocity/components/TokenDirective, org/apache/struts2/views/velocity/components/TreeDirective, org/apache/struts2/views/velocity/components/TreeNodeDirective, org/apache/struts2/views/velocity/components/URLDirective, org/apache/struts2/views/velocity/components/WebTableDirective, org/apache/struts2/views/velocity/components/ActionErrorDirective, org/apache/struts2/views/velocity/components/ActionMessageDirective, org/apache/struts2/views/velocity/components/FieldErrorDirective,
org/apache/struts2/views/velocity/components/OptionTransferSelectDirective, org/apache/struts2/views/velocity/components/UpDownSelectDirective
};
return Arrays.asList(directives);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -