public class PageElementFactoryImpl extends java.lang.Object implements PageElementFactory
| Constructor and Description | 
|---|
| PageElementFactoryImpl(TypeCoercer typeCoercer,
                      BindingSource bindingSource) | 
| 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(java.lang.String parameterName,
          ComponentResources loadingComponentResources,
          ComponentResources embeddedComponentResources,
          java.lang.String defaultBindingPrefix,
          java.lang.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. | 
public PageElementFactoryImpl(TypeCoercer typeCoercer, BindingSource bindingSource)
public RenderCommand newAttributeElement(ComponentResources componentResources, AttributeToken token)
PageElementFactorynewAttributeElement in interface PageElementFactorycomponentResources - identifies componenttoken - token containing value with expansionspublic RenderCommand newExpansionElement(ComponentResources componentResources, ExpansionToken token)
PageElementFactorynewExpansionElement in interface PageElementFactorycomponentResources - identifies the componenttoken - contains expansion expressionpublic Binding newBinding(java.lang.String parameterName, ComponentResources loadingComponentResources, ComponentResources embeddedComponentResources, java.lang.String defaultBindingPrefix, java.lang.String expression, Location location)
PageElementFactoryBindingSource.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.newBinding in interface PageElementFactory${project.version} - Copyright © 2003-2015 The Apache Software Foundation.