Project JXTA

net.jxta.impl.protocol
Class PeerGroupAdv

java.lang.Object
  |
  +--net.jxta.document.Advertisement
        |
        +--net.jxta.protocol.PeerGroupAdvertisement
              |
              +--net.jxta.impl.protocol.PeerGroupAdv

public class PeerGroupAdv
extends net.jxta.protocol.PeerGroupAdvertisement

This class implements the PeerGroupAdvertisement. While being useful, application are not required to use it. However, applications that donot want to use it will still have to provide a class that extends net.jxta.protocol.PeerGroupAdvertisement.


Constructor Summary
PeerGroupAdv()
           
PeerGroupAdv(net.jxta.document.Element root)
           
 
Method Summary
 net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType encodeAs)
           
 void initialize(net.jxta.document.Element root)
           
 java.lang.String toString()
           
 
Methods inherited from class net.jxta.protocol.PeerGroupAdvertisement
getAdvertisementType, getApp, getAppCode, getCode, getDebug, getEndpointAdvertisements, getGid, getGroupCode, getGroupImpl, getIsRendezvous, getKeywords, getName, getPeerName, getPid, getServiceAdvertisements, setApp, setDebug, setEndpointAdvertisements, setGid, setGroupImpl, setIsRendezvous, setKeywords, setName, setPeerName, setPid, setServiceAdvertisements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerGroupAdv

public PeerGroupAdv()

PeerGroupAdv

public PeerGroupAdv(net.jxta.document.Element root)
             throws java.lang.Exception
Method Detail

initialize

public void initialize(net.jxta.document.Element root)
                throws java.lang.Exception

getDocument

public net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType encodeAs)
                                       throws java.lang.Exception
Overrides:
getDocument in class net.jxta.document.Advertisement

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Project JXTA