Project JXTA

net.jxta.impl.protocol
Class PeerAdv.Instantiator

java.lang.Object
  extended by net.jxta.impl.protocol.PeerAdv.Instantiator
All Implemented Interfaces:
AdvertisementFactory.Instantiator
Enclosing class:
PeerAdv

public static class PeerAdv.Instantiator
extends Object
implements AdvertisementFactory.Instantiator

Creates instances of PeerAdvertisement.


Constructor Summary
PeerAdv.Instantiator()
           
 
Method Summary
 String getAdvertisementType()
          
 Advertisement newInstance()
          
 Advertisement newInstance(Element root)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeerAdv.Instantiator

public PeerAdv.Instantiator()
Method Detail

getAdvertisementType

public String getAdvertisementType()

Specified by:
getAdvertisementType in interface AdvertisementFactory.Instantiator

newInstance

public Advertisement newInstance()

Specified by:
newInstance in interface AdvertisementFactory.Instantiator

newInstance

public Advertisement newInstance(Element root)

Specified by:
newInstance in interface AdvertisementFactory.Instantiator

JXTA J2SE