Project JXTA

net.jxta.impl.protocol
Class PipeAdv

java.lang.Object
  |
  +--net.jxta.document.Advertisement
        |
        +--net.jxta.protocol.PipeAdvertisement
              |
              +--net.jxta.impl.protocol.PipeAdv

public class PipeAdv
extends net.jxta.protocol.PipeAdvertisement

This class implements the PipeAdvertisement. 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.pipe.PipeAdvertisement.

Since:
JXTA 0.1

Constructor Summary
PipeAdv()
           
PipeAdv(net.jxta.document.Element root)
           
PipeAdv(net.jxta.pipe.PipeID pipeId)
          Deprecated. Please use the Advertisement factory and accessors
PipeAdv(net.jxta.pipe.PipeID pipeId, java.lang.String name)
          Deprecated. Please use the Advertisement factory and accessors
 
Method Summary
 net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType mediaType)
           
 void initialize(net.jxta.document.Element root)
           
 
Methods inherited from class net.jxta.protocol.PipeAdvertisement
getAdvertisementType, getName, getPipeID, setName, setPipeID
 
Methods inherited from class net.jxta.document.Advertisement
getLocalExpirationTime, setExpiration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipeAdv

public PipeAdv()

PipeAdv

public PipeAdv(net.jxta.pipe.PipeID pipeId)
Deprecated. Please use the Advertisement factory and accessors


PipeAdv

public PipeAdv(net.jxta.pipe.PipeID pipeId,
               java.lang.String name)
Deprecated. Please use the Advertisement factory and accessors


PipeAdv

public PipeAdv(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 mediaType)
                                       throws java.lang.Exception
Overrides:
getDocument in class net.jxta.document.Advertisement

Project JXTA