org.brains2b.coffee.message.local
Class Subscription

java.lang.Object
  extended byorg.brains2b.coffee.message.NewsGroup
      extended byorg.brains2b.coffee.message.local.Subscription
All Implemented Interfaces:
CoffeeBean, NNTPMessage

public class Subscription
extends NewsGroup
implements CoffeeBean

[Short description] [Long description]

Version:
[version] [lastrevisiondate]
Author:
dennis@brains2b.nl

Field Summary
 
Fields inherited from class org.brains2b.coffee.message.NewsGroup
m_articleList
 
Constructor Summary
Subscription()
           
 
Method Summary
protected  org.xml.sax.Attributes getAttributes()
           
 java.lang.String getServer()
           
 int getType()
           
 void setAttributes(org.xml.sax.Attributes atts)
           
 void setContent(java.lang.String name, org.xml.sax.Attributes atts, java.lang.String value)
           
 void setServer(java.lang.String server)
           
 void writeMessage(org.brains2b.saxo.SAXWriter sw)
           
 
Methods inherited from class org.brains2b.coffee.message.NewsGroup
addArticle, addHeader, addLine, endMessage, getArticleList, getEstimate, getFirst, getId, getLast, getLastUpdated, getName, getSize, hasContent, isAllowPost, isHeaderSet, removeArticle, setAllowPost, setArticleList, setEstimate, setFirst, setLast, setLastUpdated, setName, writeEndElement, writeList, writeStartElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.brains2b.coffee.message.NNTPMessage
addHeader, addLine, endMessage, getId, getSize, hasContent, isHeaderSet
 

Constructor Detail

Subscription

public Subscription()
Method Detail

getType

public int getType()
Specified by:
getType in interface NNTPMessage
Overrides:
getType in class NewsGroup

getServer

public java.lang.String getServer()

setServer

public void setServer(java.lang.String server)

writeMessage

public void writeMessage(org.brains2b.saxo.SAXWriter sw)
                  throws org.xml.sax.SAXException
Specified by:
writeMessage in interface NNTPMessage
Overrides:
writeMessage in class NewsGroup
Throws:
org.xml.sax.SAXException

getAttributes

protected org.xml.sax.Attributes getAttributes()
Overrides:
getAttributes in class NewsGroup

setAttributes

public void setAttributes(org.xml.sax.Attributes atts)
Specified by:
setAttributes in interface CoffeeBean

setContent

public void setContent(java.lang.String name,
                       org.xml.sax.Attributes atts,
                       java.lang.String value)
Specified by:
setContent in interface CoffeeBean