org.apache.droids.helper.factories
Class HandlerFactory
java.lang.Object
org.apache.droids.helper.factories.GenericFactory<Handler>
org.apache.droids.helper.factories.HandlerFactory
public class HandlerFactory
- extends GenericFactory<Handler>
Factory that will traverse all registered handler and execute them.
Method Summary |
boolean |
handle(InputStream stream,
URL url,
Parse parse)
Will traverse all registered handler and execute them. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerFactory
public HandlerFactory()
handle
public boolean handle(InputStream stream,
URL url,
Parse parse)
- Will traverse all registered handler and execute them. If we encounter a
problem we directly return false and leave.
- Parameters:
stream
- the underlying streamurl
- the underlying urlparse
- the underlying parse object
- Returns:
- false if we found a problem, true if all went well
Copyright © 2008 The Apache Software Foundation