|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ComponentOutputI interface defines the bare minimum of functionality needed for programs to present MOE objects.
version 0.01 is the initial release.
Field Summary | |
static int |
CHUNKS
CHUNKS means to send larger components. |
static int |
COLLECTING
COLLECTING indicates that the source is waiting for something to happen. |
static int |
FINISHED
FINISHED indicates that the source is done. |
static int |
NOTSTARTED
NOTSTART indicates that the source hasn't started reporting. |
static int |
SAX
SAX indicates that the source should send information as start/content/end. |
Method Summary | |
CoreComponentI |
getCurrentComponent()
getCurrentComponent provides rude access to the component currently being handled, if any. |
int |
getStatus()
getStatus allows impatient listeners to find out what's going on. |
void |
setListener(ComponentInputI listener)
setListener assigns a ComponentInputI object to listen to events generated by this component. |
boolean |
setReport(int typeReport)
setReport tells the outputter whether to report content as the largest objects it knows (0), a SAX-like view of content(1), or some other view (other numbers.) If an outputter doesn't understand a request, it should return false. |
void |
startEvents()
startEvents starts the reading, much like parse() in SAX. |
Field Detail |
public static final int NOTSTARTED
public static final int COLLECTING
public static final int FINISHED
public static final int CHUNKS
public static final int SAX
Method Detail |
public int getStatus()
public boolean setReport(int typeReport)
public CoreComponentI getCurrentComponent()
public void setListener(ComponentInputI listener)
public void startEvents() throws MOEException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |