Project JXTA

net.jxta.impl.protocol
Class SignedAdv

java.lang.Object
  extended by net.jxta.document.Advertisement
      extended by net.jxta.document.ExtendableAdvertisement
          extended by net.jxta.protocol.SignedAdvertisement
              extended by net.jxta.impl.protocol.SignedAdv

public class SignedAdv
extends SignedAdvertisement

A container for signed Advertisements


Nested Class Summary
static class SignedAdv.Instantiator
          Instantiator for PlatformConfig
 
Field Summary
 
Fields inherited from class net.jxta.protocol.SignedAdvertisement
adv, signer
 
Constructor Summary
SignedAdv()
          Use the Instantiator through the factory
SignedAdv(Element root)
          Use the Instantiator through the factory
 
Method Summary
static String getAdvertisementType()
          Returns the identifying type of this Advertisement.
 Document getDocument(MimeMediaType encodeAs)
          
 ID getID()
          
 String[] getIndexFields()
          
protected  boolean handleElement(Element raw)
          
 
Methods inherited from class net.jxta.protocol.SignedAdvertisement
getAdvertisement, getBaseAdvType, getSigner, setAdvertisement, setSigner
 
Methods inherited from class net.jxta.document.Advertisement
clone, getAdvType, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignedAdv

SignedAdv()
Use the Instantiator through the factory


SignedAdv

SignedAdv(Element root)
Use the Instantiator through the factory

Method Detail

getAdvertisementType

public static String getAdvertisementType()
Returns the identifying type of this Advertisement.

Returns:
String the type of advertisement

getIndexFields

public final String[] getIndexFields()

Specified by:
getIndexFields in class Advertisement

getID

public ID getID()

Specified by:
getID in class Advertisement

handleElement

protected boolean handleElement(Element raw)

Overrides:
handleElement in class ExtendableAdvertisement

getDocument

public Document getDocument(MimeMediaType encodeAs)

Overrides:
getDocument in class ExtendableAdvertisement

JXTA J2SE