📄 modeldrivenannotationaction.java
字号:
/* * Copyright (c) 2002-2006 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2;/** * ModelDrivenAnnotationAction * * @author Jason Carreira * @author Rainer Hermanns * Created Apr 8, 2003 6:27:29 PM */public class ModelDrivenAnnotationAction extends ActionSupport implements ModelDriven { private String foo; private AnnotatedTestBean model = new AnnotatedTestBean(); public void setFoo(String foo) { this.foo = foo; } public String getFoo() { return foo; } /** * @return the model to be pushed onto the ValueStack after the Action itself */ public Object getModel() { return model; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -