Project JXTA

net.jxta.impl.protocol
Class PipeAdv

java.lang.Object
  extended bynet.jxta.document.Advertisement
      extended bynet.jxta.document.ExtendableAdvertisement
          extended bynet.jxta.protocol.PipeAdvertisement
              extended bynet.jxta.impl.protocol.PipeAdv
All Implemented Interfaces:
Cloneable

public class PipeAdv
extends PipeAdvertisement

This class implements the Pipe Advertisement according to the schema used by the standard Pipe Binding Protocol. (PBP)

 <xs:complexType name="PipeAdvertisement">
   <xs:sequence>
     <xs:element name="Id" type="jxta:JXTAID"/>
     <xs:element name="Type" type="xs:string"/>
     <xs:element name="Name" type="xs:string" minOccurs="0"/>
     <xs:element name="Desc" type="xs:anyType" minOccurs="0"/>
   </xs:sequence>
 </xs:complexType>
 

See Also:
PipeAdvertisement, PipeService, PipeServiceImpl, JXTA Protocols Specification : Pipe Binding Protocol

Nested Class Summary
static class PipeAdv.Instantiator
           
 
Field Summary
 
Fields inherited from class net.jxta.protocol.PipeAdvertisement
descTag, IdTag, NameTag, TypeTag
 
Constructor Summary
PipeAdv()
          Deprecated. Do not call directly, use the AdvertisementFactory.
PipeAdv(Element root)
          Deprecated. Do not call directly, use the AdvertisementFactory.
 
Method Summary
 Document getDocument(MimeMediaType encodeAs)
          
 String[] getIndexFields()
          
protected  boolean handleElement(Element raw)
          
 
Methods inherited from class net.jxta.protocol.PipeAdvertisement
clone, getAdvertisementType, getBaseAdvType, getDesc, getDescription, getID, getName, getPipeID, getType, setDesc, setDescription, setName, setPipeID, setType
 
Methods inherited from class net.jxta.document.Advertisement
getAdvType, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipeAdv

public PipeAdv()
Deprecated. Do not call directly, use the AdvertisementFactory.

Default constructor for new instances.


PipeAdv

public PipeAdv(Element root)
Deprecated. Do not call directly, use the AdvertisementFactory.

Constructor for instances which have been previously serialized to documents.

Method Detail

handleElement

protected boolean handleElement(Element raw)


getDocument

public Document getDocument(MimeMediaType encodeAs)


getIndexFields

public final String[] getIndexFields()


JXTA J2SE