|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.pipe.WireHeader
public class WireHeader
This class implements a JXTA-WIRE header.
Constructor Summary | |
---|---|
WireHeader()
|
|
WireHeader(Element root)
|
Method Summary | |
---|---|
Document |
getDocument(MimeMediaType encodeAs)
Returns the docment for this header |
String |
getMsgId()
|
ID |
getPipeID()
|
ID |
getSrcPeer()
|
int |
getTTL()
|
protected boolean |
handleElement(XMLElement elem)
Called to handle elements during parsing. |
protected void |
initialize(Element root)
internal method to process a document into a header. |
void |
setMsgId(String id)
|
void |
setPipeID(ID id)
|
void |
setSrcPeer(ID p)
|
void |
setTTL(int t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WireHeader()
public WireHeader(Element root)
Method Detail |
---|
public void setSrcPeer(ID p)
public ID getSrcPeer()
public void setTTL(int t)
public int getTTL()
public String getMsgId()
public void setMsgId(String id)
public ID getPipeID()
public void setPipeID(ID id)
protected boolean handleElement(XMLElement elem)
elem
- Element to parse
protected void initialize(Element root)
root
- where to start.public Document getDocument(MimeMediaType encodeAs)
encodeAs
- mime type encoding
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |