|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.Advertisement
net.jxta.document.ExtendableAdvertisement
net.jxta.protocol.PipeAdvertisement
This class defines the PipeServiceImpl Advertisement.
The default behavior of this abstract class is to simple be a place holder for the Pipe Id and its name. Note that other tags can be provided by the application for its own profit. Those extra tags are not interpreted by the PipeService.
Field Summary | |
static String |
descTag
XML tag to store the name of the Pipe |
static String |
IdTag
XML tag to store the PipeID |
static String |
NameTag
XML tag to store the name of the Pipe |
static String |
TypeTag
XML tag to store the Pipe Type |
Constructor Summary | |
PipeAdvertisement()
|
Method Summary | |
Object |
clone()
Clone this PipeAdvertisement |
static String |
getAdvertisementType()
Returns the identifying type of this Advertisement. |
String |
getBaseAdvType()
Returns the base type of this advertisement hierarchy. Typically, only the most basic advertisement of a type will implement this method and declare it as final . |
StructuredDocument |
getDesc()
returns the description |
String |
getDescription()
returns the description |
ID |
getID()
get an ID for indexing purposes. |
String |
getName()
get the symbolic name associated with the pipe |
ID |
getPipeID()
get the pipe id |
String |
getType()
get the pipe type |
void |
setDesc(Element desc)
sets the description |
void |
setDescription(String description)
sets the description |
void |
setName(String n)
set the symbolic name associated with the pipe |
void |
setPipeID(ID pipeId)
set the pipe Id |
void |
setType(String type)
set the pipe type |
Methods inherited from class net.jxta.document.ExtendableAdvertisement |
getDocument, handleElement |
Methods inherited from class net.jxta.document.Advertisement |
getAdvType, getIndexFields, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String IdTag
public static final String TypeTag
public static final String NameTag
public static final String descTag
Constructor Detail |
public PipeAdvertisement()
Method Detail |
public static String getAdvertisementType()
public final String getBaseAdvType()
final
.
getBaseAdvType
in class ExtendableAdvertisement
public Object clone()
clone
in class Advertisement
public ID getID()
getID
in class Advertisement
public ID getPipeID()
public void setPipeID(ID pipeId)
pipeId
- The PipeId to be set.public String getType()
public void setType(String type)
type
- The type to be set.public String getName()
public void setName(String n)
n
- the name this pipe adv should have.public String getDescription()
public void setDescription(String description)
description
- the descriptionpublic StructuredDocument getDesc()
public void setDesc(Element desc)
desc
- the description
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |