<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="../plugin.xsl" type="text/xsl"?>
<plugin name="FileReader">
  <object class="org.ow2.isac.plugin.filereader.SessionObject">
    <params>
      <param name="filename" type="String" />
      <param name="charset" type="String" />
    </params>
    <help>Reads the full content of a file. Then, this content can be accessed through a variable expression ${myFileReaderId:}.</help>
  </object>
  <control name="clear" number="3">
    <params />
    <help>Discards any loaded content, and considers this file reader as unset.</help>
  </control>
  <control name="load" number="0">
    <params>
      <param name="filename" type="String" />
      <param name="charset" type="String" />
    </params>
    <help>Reads the full content of a file. Then, this content can be accessed through a variable expression ${myFileReaderId:}. If the file content can't be loaded for any reason, any previously loaded content is discarded (in other words, this file reader is cleared).</help>
  </control>
  <test name="isSet" number="1">
    <params />
    <help>True if a file has been successfully loaded, false otherwise.</help>
  </test>
  <test name="isNotSet" number="2">
    <params />
    <help>True if no file has been successfully loaded, false otherwise.</help>
  </test>
</plugin>

