| com.uwyn.rife.engine.annotations.Elem
Elem | public @interface Elem(Code) | | Declares that a Java class is a RIFE element.
If
Elem.id isn't specified, the short class name (without the
package) will be used as the element's ID. The ID will be interpreted
relative to the ID of the sub-site in which the element is defined.
For example, a site with ID MY.SITE , and an element with
class mypackage.FooStuff , will result in the following
absolute ID for the element: MY.SITE.FooStuff .
If
Elem.url isn't specified, the lower-case short class name will
be used. For example the class mypackage.FooStuff , will result
in the foostuff URL.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.5 |
DEFAULT_CONTENT_TYPE | final static String DEFAULT_CONTENT_TYPE(Code) | | |
autolinks | Autolink[] autolinks(Code) | | This element's auto links.
since: 1.5.1 |
childTriggers | ChildTrigger[] childTriggers(Code) | | This element's child triggers.
since: 1.5 |
contentType | String contentType(Code) | | The content type of this element's output. By default this will be
whatever is specified by
com.uwyn.rife.config.RifeConfig.Engine.getDefaultContentType If you want to use a dynamic content type, set it to an empty string
("" ) here, and use
ElementSupport.setContentType(String) during the element logic.
since: 1.5 |
datalinks | Datalink[] datalinks(Code) | | This element's data links.
since: 1.5 |
exits | Exit[] exits(Code) | | This element's exits.
since: 1.5 |
flowlinks | Flowlink[] flowlinks(Code) | | This element's flow links.
since: 1.5 |
id | String id(Code) | | The ID of this element.
If the ID isn't specified, a default will be generated based on the
short class name. See the class documentation for more information.
since: 1.5 |
inbeans | InBean[] inbeans(Code) | | This element's input beans.
since: 1.5 |
incookies | InCookie[] incookies(Code) | | This element's incookies.
since: 1.5 |
inheritsClass | Class inheritsClass(Code) | | The Java class of the element whose behavior should be inherited. This
class should at least have an
Elem annotation.
If inheritsClass is provided, it will override the
inheritsId value.
The ID will be evaluated locally to the current subsite. If you
have to refer to an ID in another subsite, you have to use the
Elem.inheritsClassIdPrefix .
See Also: Elem.inheritsId See Also: Elem.inheritsClassIdPrefix since: 1.5 |
inheritsClassIdPrefix | String inheritsClassIdPrefix(Code) | | The prefix that will be added to the inheritsClass ID.
This makes it possible to refer to an ID in another subsite.
Note that this prefix is not validated individually, it is merely added
as a string to build the final ID that will be used.
See Also: Elem.inheritsClass since: 1.5 |
inheritsId | String inheritsId(Code) | | The ID of the element whose behavior should be inherited.
If inheritsClass is provided, it will override the
inheritsId value.
See Also: Elem.inheritsClass since: 1.5 |
inputs | Input[] inputs(Code) | | This element's inputs.
since: 1.5 |
outbeans | OutBean[] outbeans(Code) | | This element's output beans.
since: 1.5 |
outcookies | OutCookie[] outcookies(Code) | | This element's outcookies.
since: 1.5 |
outputs | Output[] outputs(Code) | | This element's outputs.
since: 1.5 |
pathinfo | Pathinfo pathinfo(Code) | | This element's pathinfo specifications.
since: 1.5 |
preClass | Class preClass(Code) | | The Java class of the element that should precede this element. This
class should at least have an
Elem annotation.
If preClass is provided, it will override the
preId value.
The ID will be evaluated locally to the current subsite. If you
have to refer to an ID in another subsite, you have to use the
Elem.preClassIdPrefix .
See Also: Elem.preId See Also: Elem.preClassIdPrefix since: 1.5 |
preClassIdPrefix | String preClassIdPrefix(Code) | | The prefix that will be added to the preClass ID.
This makes it possible to refer to an ID in another subsite.
Note that this prefix is not validated individually, it is merely added
as a string to build the final ID that will be used.
See Also: Elem.preClass since: 1.5 |
preId | String preId(Code) | | The ID of the element that should precede this element.
If preClass is provided, it will override the
preId value.
See Also: Elem.preClass since: 1.5 |
submissions | Submission[] submissions(Code) | | This element's submissions.
since: 1.5 |
url | String url(Code) | | The URL of this element.
If the URL isn't specified, a default will be generated based on the
lower-cased short class name. See the class documentation for more
information.
To explicit specify that no URL should be used, provide an empty string.
since: 1.5 |
|
|