Class ServerInfo
- java.lang.Object
-
- org.bedework.webdav.servlet.shared.serverInfo.ServerInfo
-
public class ServerInfo extends Object
Class to represent server info- Author:
- Mike Douglass douglm
-
-
Constructor Summary
Constructors Constructor Description ServerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddApplication(Application val)voidaddFeature(Feature val)List<Application>getApplications()StringgetToken()voidsetApplications(List<Application> val)voidsetToken(String val)StringtoXml()voidtoXml(org.bedework.util.xml.XmlEmit xml)
-
-
-
Method Detail
-
setToken
public void setToken(String val)
- Parameters:
val- token
-
getToken
public String getToken()
- Returns:
- current token
-
addFeature
public void addFeature(Feature val)
-
setApplications
public void setApplications(List<Application> val)
-
getApplications
public List<Application> getApplications()
-
addApplication
public void addApplication(Application val)
-
toXml
public String toXml()
- Returns:
- XML version of server info
-
toXml
public void toXml(org.bedework.util.xml.XmlEmit xml)
- Parameters:
xml- emitter
-
-