Project JXTA

net.jxta.document
Class AbstractAdvertisement

java.lang.Object
  |
  +--net.jxta.document.AbstractAdvertisement
Direct Known Subclasses:
EndpointAdvertisement, PeerGroupAdvertisement, PeerInfoAdvertisement, PipeAdvertisement, ServiceAdvertisement, TransportAdvertisement

public abstract class AbstractAdvertisement
extends java.lang.Object
implements Advertisement


Constructor Summary
AbstractAdvertisement()
           
 
Method Summary
static java.lang.String getAdvertisementType()
          Static version of getType used by the AdvertisementFactory.
 java.lang.String getType()
          Returns the identifying type of this Advertisement.
abstract  void initialize(Element root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAdvertisement

public AbstractAdvertisement()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: Advertisement
Returns the identifying type of this Advertisement.
Specified by:
getType in interface Advertisement
Tags copied from interface: Advertisement
Returns:
String the type of advertisement

getAdvertisementType

public static java.lang.String getAdvertisementType()
Static version of getType used by the AdvertisementFactory.

initialize

public abstract void initialize(Element root)
                         throws java.lang.Exception

Project JXTA