juzu.plugin.asset
Annotation Type Stylesheet


@Retention(value=RUNTIME)
@Target(value={})
public @interface Stylesheet

A stylesheet asset.

Author:
Julien Viet

Required Element Summary
 String src
          The stylesheet source.
 
Optional Element Summary
 String[] depends
          Return the stylesheet dependencies, i.e the stylesheet that should be executed before the stylesheet determined by this annotation.
 String id
          Returns the stylesheet id, the value is optional and has meaning when this stylesheet must be referenced (for instance as a dependency of another stylesheet).
 AssetLocation location
          The stylesheet location.
 

Element Detail

src

public abstract String src
The stylesheet source.

Returns:
the source

id

public abstract String id
Returns the stylesheet id, the value is optional and has meaning when this stylesheet must be referenced (for instance as a dependency of another stylesheet).

Returns:
the script id
Default:
""

depends

public abstract String[] depends
Return the stylesheet dependencies, i.e the stylesheet that should be executed before the stylesheet determined by this annotation.

Returns:
the dependencies
Default:
{}

location

public abstract AssetLocation location
The stylesheet location.

Returns:
the location
Default:
juzu.asset.AssetLocation.CLASSPATH


Copyright © 2013 eXo Platform SAS. All Rights Reserved.