|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler com.jalios.jcms.stat.StatHandler
public class StatHandler
Field Summary | |
---|---|
protected long |
analyseTime
|
protected long |
callcount
|
protected Date |
computeDate
|
protected long |
endAnalyseDate
|
protected long |
endReportDate
|
protected StatEntry |
entry
|
protected Object |
filterWorkspace
|
protected long |
fullLength
|
protected Map |
listeners
|
static String |
REVISION
|
protected long |
startAnalyseDate
|
protected long |
startReportDate
|
Constructor Summary | |
---|---|
StatHandler()
|
|
StatHandler(long startReportDate,
long endReportDate)
|
Method Summary | |
---|---|
void |
addStatListener(StatListener l)
Add a StatListener. |
void |
endDocument()
|
Date |
getAnalyseDate()
Return the date of analyse |
long |
getAnalyseTime()
Returns the analyseTime. |
long |
getEndAnalyseDate()
Return the ending date of the analysed stats |
long |
getEndReportDate()
Return the ending date of the report |
long |
getProcessTime()
Returns the analyseTime. |
long |
getStartAnalyseDate()
Return the starting date of the analysed stats |
long |
getStartReportDate()
Return the starting date of the report |
StatListener |
getStatListener(String key)
Get a StatListener using it's name |
int |
getStatListenerCount()
|
void |
removeStatListener(StatListener l)
Remove a StatListener. |
void |
setAnalyseTime(long analyseTime)
Sets the analyseTime. |
void |
setFilterWorkspace(Object filter)
|
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected transient Map listeners
protected transient long analyseTime
protected transient long fullLength
protected transient long callcount
protected transient Date computeDate
protected transient StatEntry entry
protected transient long startReportDate
protected transient long endReportDate
protected transient long startAnalyseDate
protected transient long endAnalyseDate
protected transient Object filterWorkspace
Constructor Detail |
---|
public StatHandler()
public StatHandler(long startReportDate, long endReportDate)
Method Detail |
---|
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void addStatListener(StatListener l)
public void removeStatListener(StatListener l)
public StatListener getStatListener(String key)
public int getStatListenerCount()
public Date getAnalyseDate()
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
ContentHandler.endDocument()
public long getAnalyseTime()
public long getProcessTime()
public void setFilterWorkspace(Object filter)
public void setAnalyseTime(long analyseTime)
analyseTime
- The analyseTime to setpublic long getStartReportDate()
public long getEndReportDate()
public long getStartAnalyseDate()
public long getEndAnalyseDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |