org.brains2b.coffee.message.local
Class Identity
java.lang.Object
org.brains2b.coffee.message.local.LocalMessage
org.brains2b.coffee.message.local.Identity
- All Implemented Interfaces:
- CoffeeBean, NNTPMessage
public class Identity
- extends LocalMessage
- implements CoffeeBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Identity
public Identity()
setAttributes
public void setAttributes(org.xml.sax.Attributes atts)
- Specified by:
setAttributes
in interface CoffeeBean
setContent
public void setContent(java.lang.String name,
java.lang.String value)
setContent
public void setContent(java.lang.String name,
org.xml.sax.Attributes a,
java.lang.String value)
- Specified by:
setContent
in interface CoffeeBean
getId
public java.lang.String getId()
- Specified by:
getId
in interface NNTPMessage
getSize
public int getSize()
- Specified by:
getSize
in interface NNTPMessage
getType
public int getType()
- Specified by:
getType
in interface NNTPMessage
hasContent
public boolean hasContent()
- Specified by:
hasContent
in interface NNTPMessage
writeMessage
public void writeMessage(org.brains2b.saxo.SAXWriter sw)
throws org.xml.sax.SAXException
- Specified by:
writeMessage
in interface NNTPMessage
- Throws:
org.xml.sax.SAXException
getFrom
public java.lang.String getFrom()
getHeaders
public java.util.HashMap getHeaders()
getTagline
public int getTagline()
getTagLines
public java.util.List getTagLines()
setId
public void setId(java.lang.String id)
setTagLines
public void setTagLines(java.util.List tagLines)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object