Uses of Class
org.broadleafcommerce.common.web.processor.attributes.ResourceTagAttributes
Packages that use ResourceTagAttributes
Package
Description
-
Uses of ResourceTagAttributes in org.broadleafcommerce.common.web.processor
Methods in org.broadleafcommerce.common.web.processor that return ResourceTagAttributesModifier and TypeMethodDescriptionprotected ResourceTagAttributesAbstractResourceProcessor.buildResourceTagAttributes(Map<String, String> tagAttributes) Builds the tag attributes of the bundle tagMethods in org.broadleafcommerce.common.web.processor with parameters of type ResourceTagAttributesModifier and TypeMethodDescriptionprotected voidResourceBundleProcessor.addCssToModel(ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context, org.broadleafcommerce.presentation.model.BroadleafTemplateModel model) Adds the CSS to the model in a <link> tagprotected voidResourceBundleProcessor.addDependencyRestrictionToModel(List<String> files, ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context, org.broadleafcommerce.presentation.model.BroadleafTemplateModel model) Adds JavaScript to the model that will insert a given script tag when the dependency event is firedprotected voidResourceBundleProcessor.addElementToModel(ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context, org.broadleafcommerce.presentation.model.BroadleafTemplateModel model) Adds the bundle to the model.protected voidResourceBundleProcessor.addJavaScriptToModel(ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context, org.broadleafcommerce.presentation.model.BroadleafTemplateModel model) Adds JavaScript to the model in a <script> tagAbstractResourceProcessor.buildBundledFilesList(ResourceTagAttributes tagAttributes) Gets all the files that should be included in the bundleprotected abstract org.broadleafcommerce.presentation.model.BroadleafTemplateModelAbstractResourceProcessor.buildModelBundled(List<String> attributeFiles, ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Builds the model that contains the bundled resources the tag should be replaced withprotected org.broadleafcommerce.presentation.model.BroadleafTemplateModelResourceBundleProcessor.buildModelBundled(List<String> attributeFiles, ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) protected org.broadleafcommerce.presentation.model.BroadleafTemplateModelResourcePreloadProcessor.buildModelBundled(List<String> attributeFiles, ResourceTagAttributes resourceTagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) protected abstract org.broadleafcommerce.presentation.model.BroadleafTemplateModelAbstractResourceProcessor.buildModelUnbundled(List<String> attributeFiles, ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Builds the model that contains the unbundled resources the tag should be replaced withprotected org.broadleafcommerce.presentation.model.BroadleafTemplateModelResourceBundleProcessor.buildModelUnbundled(List<String> attributeFiles, ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) protected org.broadleafcommerce.presentation.model.BroadleafTemplateModelResourcePreloadProcessor.buildModelUnbundled(List<String> attributeFiles, ResourceTagAttributes resourceTagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) protected org.broadleafcommerce.presentation.model.BroadleafTemplateElementResourceBundleProcessor.buildUnbundledSyncCompletedEventElement(ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Builds a script element that fires the bundle complete event only when supportedprotected StringAbstractResourceProcessor.getBundleAppendText(ResourceTagAttributes attributes) Gets the bundle append text, text that will be appended to the end of a bundleprotected StringAbstractResourceProcessor.getBundleCompleteEventJavaScript(ResourceTagAttributes attributes) Gets the JavaScript that fires an event when a bundle is completedprotected StringAbstractResourceProcessor.getBundlePath(ResourceTagAttributes attributes, List<String> files) Gets the bundle path.protected List<org.broadleafcommerce.presentation.model.BroadleafTemplateElement>ResourceBundleProcessor.getDeferredCssElements(ResourceTagAttributes attributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Gets a list of elements to add to the model for deferred CSSprotected StringAbstractResourceProcessor.getFullUnbundledFileName(String fileName, ResourceTagAttributes resourceTagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Gets the full path of an unbundled file.ResourceBundleProcessor.getNormalCssAttributes(ResourceTagAttributes tagAttributes) Builds a map of normal (non-deferred) attributes to put on a CSS <link> tagResourceBundleProcessor.getScriptAttributes(ResourceTagAttributes tagAttributes) Gets the attributes to put on the <script> tagAbstractResourceProcessor.postProcessUnbundledFileList(List<String> attributeFiles, ResourceTagAttributes tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) Performs post processing on an unbundled file list to either grab the file list stored on the request (seeResourcesRequest) or use the files from the tag attributes and save them so they can be used again later without the files attribute.protected booleanResourceBundleProcessor.useAsyncJavaScript(ResourceTagAttributes attributes) Tells if the JavaScript added to the page should be asynchronousprotected voidAbstractResourceProcessor.validateTagAttributes(ResourceTagAttributes resourceTagAttributes) Validates the requested tag attributesprotected voidResourceBundleProcessor.validateTagAttributes(ResourceTagAttributes attributes) -
Uses of ResourceTagAttributes in org.broadleafcommerce.common.web.processor.attributes
Methods in org.broadleafcommerce.common.web.processor.attributes that return ResourceTagAttributesModifier and TypeMethodDescriptionResourceTagAttributes.async(boolean async) ResourceTagAttributes.bundleCompletedEvent(String bundleCompletedEvent) ResourceTagAttributes.bundleDependencyEvent(String bundleDependencyEvent) ResourceTagAttributes.defer(boolean defer) ResourceTagAttributes.includeAsyncDeferUnbundled(boolean includeAsyncDeferUnbundled) ResourceTagAttributes.mappingPrefix(String mappingPrefix) Constructors in org.broadleafcommerce.common.web.processor.attributes with parameters of type ResourceTagAttributes