import element

The <import> element contains an expression that specifies the external modules (such as Java™ classes) to import for use in other expressions within rules.

Details

The expression code is a string within the <import> element. The Active Correlation Technology compiler uses the import statements that are provided by the <import> elements to compile expression code within rules that call external methods.

Attributes

<import> has the following attribute:

Table 1. Attributes of the <import> element
Name Description Data type Required?
expressionLanguage Identifies the programming language in which the expression is written. Because the Java programming language is the only supported expression language, the only valid value for this attribute is java. xsd:NMTOKEN Yes

Contained within

<import> is contained within the following elements:

Contains

<import> contains no elements.

Related concepts
Importing and accessing external modules and objects