for information about XES schema see these pages.
import
import only occurs in a importList node.
this will tell the package about any external packages which may be referenced.
Attributes used
package name, this is a string which usually has a form like: "com.mjb.mypackage" and is the name of the package being referenced.
When the class is instanciated this is held in nodeBase.name which is a Vector containing, in the above case, symbols referencing 'com', 'mjb' and 'mypackage'.
Child Elements
The only child elements allowed are comments
Schema entry
Holds a constant string, integer, floating point or boolean value
<xs:element name="package">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="classDef" type="classDefType"/>
<xs:element name="importList">
<xs:complexType>
<xs:sequence>
<xs:element name="import" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" form="unqualified"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
Examples of usage
Java
import java.util.*
Scala
import java.util._
or say
import java.util.{Data,Locale}
Scala import is similar to java version except wildcard is represented by underscore '_' instead of '*' and with additional ability to have multiple imports in the same line by using curly brackets.