|
|||||||||||
| 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 URIContentListenertrue if the load can continue;
false if the load should be aborted.URIContentEventpublic URIContentEventRV doContent(URIContentEvent event)
URIContentListener
doContent in interface URIContentListenerURIContentEvent,
DoContentEventParam,
URIContentEventRVpublic URIContentEventRV isContentPreferred(URIContentEvent event)
URIContentListener
isContentPreferred in interface URIContentListenerURIContentListener.canHandleContent(URIContentEvent),
URIContentEvent,
URIContentEventRVpublic URIContentEventRV canHandleContent(URIContentEvent event)
URIContentListener
canHandleContent in interface URIContentListenerURIContentEvent,
URIContentEventRV,
CanHandleEventParam
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||