|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.Advertisement
net.jxta.document.ExtendableAdvertisement
net.jxta.protocol.ConfigParams
net.jxta.impl.protocol.PlatformConfig
This type of advertisement is generated by configuration and serves to pass to all services their optional user-driven configuration. Some of which may be published as part of the above process. A PlatformConfig is not itself published.
Nested Class Summary | |
static class |
PlatformConfig.Instantiator
Instantiator for PlatformConfig |
Field Summary |
Fields inherited from class net.jxta.protocol.ConfigParams |
modCount |
Constructor Summary | |
(package private) |
PlatformConfig()
Use the Instantiator through the factory |
(package private) |
PlatformConfig(Element root)
Use the Instantiator through the factory |
Method Summary | |
Object |
clone()
Make a safe clone of this PlatformConfig. |
static String |
getAdvertisementType()
returns the advertisement type |
String |
getAdvType()
|
String |
getDebugLevel()
returns the debugLevel |
StructuredDocument |
getDesc()
returns the description |
String |
getDescription()
returns the description |
Document |
getDocument(MimeMediaType encodeAs)
|
ID |
getID()
Returns a unique ID for that peer X group intersection. |
String[] |
getIndexFields()
|
String |
getName()
returns the name of the peer. |
PeerID |
getPeerID()
Returns the id of the peer. |
protected boolean |
handleElement(Element raw)
|
void |
setDebugLevel(String debugLevel)
sets the debugLevel |
void |
setDesc(Element desc)
sets the description |
void |
setDescription(String description)
sets the description |
void |
setName(String name)
sets the name of the peer. |
void |
setPeerID(PeerID pid)
Sets the id of the peer. |
Methods inherited from class net.jxta.protocol.ConfigParams |
addDocumentElements, getBaseAdvType, getModCount, getServiceParam, getServiceParamsEntrySet, incModCount, putServiceParam, removeServiceParam |
Methods inherited from class net.jxta.document.Advertisement |
toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
PlatformConfig()
PlatformConfig(Element root)
Method Detail |
public Object clone()
public static String getAdvertisementType()
public String getAdvType()
public String getName()
public void setName(String name)
name
- name of the peer.public PeerID getPeerID()
public void setPeerID(PeerID pid)
pid
- the id of this peer.public ID getID()
public String getDescription()
public void setDescription(String description)
description
- the descriptionpublic StructuredDocument getDesc()
public void setDesc(Element desc)
desc
- the descriptionpublic String getDebugLevel()
public void setDebugLevel(String debugLevel)
debugLevel
- the debugLevelprotected boolean handleElement(Element raw)
public Document getDocument(MimeMediaType encodeAs)
public final String[] getIndexFields()
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |