|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.resolver.ComponentResolvers
public class ComponentResolvers
Utility class for IComponentResolver
s
Nested Class Summary | |
---|---|
static interface |
ComponentResolvers.ResolverFilter
|
Method Summary | |
---|---|
static Component |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag,
ComponentResolvers.ResolverFilter filter)
Attempts to resolve a component using resolvers. |
static Component |
resolveByApplication(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag,
ComponentResolvers.ResolverFilter filter)
Attempts to resolve a component via application registered resolvers. |
static Component |
resolveByComponentHierarchy(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Attempts to resolve a component via the component hierarchy using resolvers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag, ComponentResolvers.ResolverFilter filter)
This method encapsulates the contract of resolving components and should be used any time a component needs to be resolved under normal circumstances.
container
- The container parsing its markupmarkupStream
- The current markupStreamtag
- The current component tag while parsing the markupfilter
- A filter for application-wide resolvers
null
if not foundpublic static Component resolveByApplication(MarkupContainer container, MarkupStream markupStream, ComponentTag tag, ComponentResolvers.ResolverFilter filter)
container
- markupStream
- tag
- filter
-
public static Component resolveByComponentHierarchy(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
container
- markupStream
- tag
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |