public class ComponentResolvers extends Object
IComponentResolver
sModifier and Type | Class and Description |
---|---|
static interface |
ComponentResolvers.ResolverFilter |
Modifier and Type | Method and Description |
---|---|
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.
|
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 resolversnull
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
- Copyright © 2006–2022 Apache Software Foundation. All rights reserved.