📄 planbuilder.java
字号:
package edu.ou.kmi.buddyspace.plugins.plans.xml;
import java.io.Serializable;
import java.util.*;
import org.jabber.jabberbeans.util.*;
import org.jabber.jabberbeans.*;
import org.jabber.jabberbeans.Extension.*;
import org.xml.sax.AttributeList;
import org.xml.sax.helpers.AttributeListImpl;
/*
* An <code>PlanBuilder</code> is used to generate a Plan
* object.
*/
public class PlanBuilder implements ExtensionBuilder
{
/** contents */
private String plan;
/*
* Construct a new <code>PlanBuilder</code> object
*/
public PlanBuilder()
{reset();}
/** reset this builder to a default state, for reuse */
public void reset()
{
plan = null;
}
/* returns the plan */
public String getPlan() {
return plan;
}
/* sets plan */
public void setPlan(String plan) {
this.plan = plan;
}
/*
* Build a <code>Plan</code> based on the current builder
* state.
*
* @return <code>Plan</code> based on the current builder
* state.
*/
public Extension build() throws InstantiationException
{return new Plan(this);}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -