org.apache.wicket.markup.resolver
Class ComponentResolvers

java.lang.Object
  extended by org.apache.wicket.markup.resolver.ComponentResolvers

public class ComponentResolvers
extends Object

Utility class for IComponentResolvers

Author:
igor.vaynberg

Method Summary
static boolean resolve(Application application, MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
          Attempts to resolve a component using resolvers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolve

public static boolean resolve(Application application,
                              MarkupContainer container,
                              MarkupStream markupStream,
                              ComponentTag tag)
Attempts to resolve a component using resolvers. Tries resolvers in the component hierarchy as well as application-wide.

This method encapsulates the contract of resolving components and should be used any time a component needs to be resolved under normal circumstances.

Parameters:
application -
container -
markupStream -
tag -
Returns:
true if a component was resolved using on of tried resolvers, false otherwise.


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.