|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.jrex.event.uricontent.URIContentListenerImpl
Constructor Summary | |
URIContentListenerImpl()
|
Method Summary | |
URIContentEventRV |
canHandleContent(URIContentEvent event)
When given a uri to dispatch, if the URI is not specified as 'preferred content' then the uri loader calls canHandleContent to see if the content listener is capable of handling the content. |
URIContentEventRV |
doContent(URIContentEvent event)
Notifies the content listener to hook up an StreamListener capable of consuming the data stream. |
URIContentEventRV |
isContentPreferred(URIContentEvent event)
Gives the content listener to say whether the content type for load is 'preferred content' |
boolean |
onStartContent(URIContentEvent event)
Gives the content listener first crack at stopping a load before it happens. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URIContentListenerImpl()
Method Detail |
public boolean onStartContent(URIContentEvent event)
URIContentListener
onStartContent
in interface URIContentListener
false
if the load can continue;
true
if the load should be aborted.URIContentEvent
public URIContentEventRV doContent(URIContentEvent event)
URIContentListener
doContent
in interface URIContentListener
URIContentEvent
,
DoContentEventParam
,
URIContentEventRV
public URIContentEventRV isContentPreferred(URIContentEvent event)
URIContentListener
isContentPreferred
in interface URIContentListener
URIContentListener.canHandleContent(URIContentEvent)
,
URIContentEvent
,
URIContentEventRV
public URIContentEventRV canHandleContent(URIContentEvent event)
URIContentListener
canHandleContent
in interface URIContentListener
URIContentEvent
,
URIContentEventRV
,
CanHandleEventParam
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |