📄 pubsubcreatebuilder.java
字号:
package edu.ou.kmi.buddyspace.plugins.pubsub.xml;
/*
* PubsubCreateBuilder.java
*
* Project: BuddySpace
* (C) Copyright Knowledge Media Institute 2003
*
*
* Created on 8 October 2003, 13:25
*/
import org.jabber.jabberbeans.util.*;
import org.jabber.jabberbeans.*;
import org.jabber.jabberbeans.Extension.*;
/**
* <code>PubsubCreateBuilder</code> is used to construct PubsubCreate objects
*
* @author Jiri Komzak, Knowledge Media Institute, Open University, United Kingdom
*/
public class PubsubCreateBuilder
{
/** Node name */
private String node;
/*
* Construct a new <code>PubsubCreateBuilder</code> object
*/
public PubsubCreateBuilder()
{reset();}
/** reset this builder to a default state, for reuse */
public void reset() {
node = null;
}
/* returns the node name */
public String getNode() {
return node;
}
/* sets node name */
public void setNode(String newNode) {
this.node = newNode;
}
/*
* Build a <code>PubsubCreate</code> based on the current builder
* state.
*
* @return <code>PubsubCreate</code> based on the current builder
* state.
*/
public XMLData build() throws InstantiationException
{return new PubsubCreate(this);}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -