<L_FILE> :

Java class : leon.info.location.LyFileLocation

ROLE

This element enables to parameter the connection to data files.

ATTRIBUTES

<!ATTLIST L_FILE
	  id ID #IMPLIED
	  condition CDATA #IMPLIED
	  url CDATA #REQUIRED
	  type ( XML | INFO | CSV) "INFO"
	  valueSep CDATA #IMPLIED
	  fieldSep CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the data location. The default value is the identifier of the application.  
condition no The value of this attribute enables to control the existence of this location. This condition refers to a property defined or not inside the initialisation file of the application.
If the property does not exists or equals false or equals 0, this location is no taken into account. This attribute may be used to manage several connections and several applications inside a same system.
 
url yes Path to directory where data files are stored.  
type no Data file format:
- XML: data are stored in files using the XML standard
- INFO: data are stored inside files as they are know by the application inside the logical layer
- CSV: data are store inside files using a CSV (comma-separated values) format.
INFO
valueSep no Character used a multiple values separator. The default value is '~'.  
fieldSep no Character used as field separator inside files. The default value is '|'.  

ELEMENTS

<!ELEMENT L_FILE 
	  (NOTIFIER |
	   NOTIFIER_REF)?>
Element Mand. Mult. Description
NOTIFIER yes no Notification service associated to this location.
NOTIFIER_REF yes no Reference of the notification service associated to this location.

SAMPLE

<L_FILE id="sample" url="c:/sample/data" type="XML"/>