ca.cbc.sportwire
Class QueueElement
java.lang.Object
|
+--ca.cbc.sportwire.QueueElement
- public class QueueElement
- extends java.lang.Object
QueueElement.java: a simple wrapper for the queued docs
to allow the feeders to give them meaningful names to show up in
the error log tracing and to specify the docHandler to go with this
doc; the docHandler's can in turn return a QueueElement from the
processing method which the DocQueue will re-queue. This allows us
to pre-process a document (translate into NewsML) and then requeue
it for adding to the database or other processing of the NewsML
form.
Created: Tue Feb 26 23:57:17 2002
$Log: QueueElement.java,v $
Revision 1.2 2002/04/04 01:46:08 garym
Skeletal translation of TSN to SportsML
Revision 1.1 2002/02/27 19:41:51 garym
misc bugfixes to ESPN handling
- Version:
- $Id: QueueElement.java,v 1.2 2002/04/04 01:46:08 garym Exp $
- Author:
- Gary Lawrence Murphy
Field Summary |
private java.lang.Object |
handler
|
private java.lang.String |
tag
|
private java.lang.Object |
value
|
Constructor Summary |
QueueElement(java.lang.String tag,
java.lang.Object value,
java.lang.Object handler)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
tag
private java.lang.String tag
value
private java.lang.Object value
handler
private java.lang.Object handler
QueueElement
public QueueElement(java.lang.String tag,
java.lang.Object value,
java.lang.Object handler)
getTag
public java.lang.String getTag()
getValue
public java.lang.Object getValue()
getHandler
public java.lang.Object getHandler()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(QueueElement q)