public interface PageElementFactory
PageLoader to create partialar page elements. This has
evolved and focused to mostly concern bindings and expansions.| Modifier and Type | Method and Description |
|---|---|
RenderCommand |
newAttributeElement(ComponentResources componentResources,
AttributeToken token)
Creates a RenderCommand for rendering an attribute, when the attribute contains expansions.
|
Binding |
newBinding(String parameterName,
ComponentResources loadingComponentResources,
ComponentResources embeddedComponentResources,
String defaultBindingPrefix,
String expression,
Location location)
Creates a new binding as with
BindingSource.newBinding(String, ComponentResources, ComponentResources,
String, String, Location). |
RenderCommand |
newExpansionElement(ComponentResources componentResources,
ExpansionToken token)
Converts an expansion token into a command that renders the expanded value.
|
RenderCommand newAttributeElement(ComponentResources componentResources, AttributeToken token)
componentResources - identifies componenttoken - token containing value with expansionsRenderCommand newExpansionElement(ComponentResources componentResources, ExpansionToken token)
componentResources - identifies the componenttoken - contains expansion expressionBinding newBinding(String parameterName, ComponentResources loadingComponentResources, ComponentResources embeddedComponentResources, String defaultBindingPrefix, String expression, Location location)
BindingSource.newBinding(String, ComponentResources, ComponentResources,
String, String, Location). However, if the binding contains an expansion (i.e., ${...}), then a
binding that returns the fully expanded expression will be returned.5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.