org.ztemplates.render
Annotation Type ZJavaScriptLibrary


@Retention(value=RUNTIME)
public @interface ZJavaScriptLibrary

Annotation for specifiying informations available about a javascript resource


Required Element Summary
 ZJavaScriptId id
          id of this library, identifies the library regardless of the version
 ZJavaScriptLocation[] locations
          locations where this library can be found
 
Optional Element Summary
 ZJavaScriptId[] dependsOn
          libraries this lib depends on, if known
 boolean standalone
          If set to true will be considerered as having no dependency to other javascript files, so order is not important
 

Element Detail

id

public abstract ZJavaScriptId id
id of this library, identifies the library regardless of the version

Returns:

locations

public abstract ZJavaScriptLocation[] locations
locations where this library can be found

Returns:

standalone

public abstract boolean standalone
If set to true will be considerered as having no dependency to other javascript files, so order is not important

Returns:
Default:
false

dependsOn

public abstract ZJavaScriptId[] dependsOn
libraries this lib depends on, if known

Returns:
Default:
{}


Copyright © 2011. All Rights Reserved.