The mls accessor lists resources within a Netkernel module to generate an xml document representing the tree structure.
Each sub-directory is an element with resources listed within.
The resources that are matched are selected based upon a set a regular expression filter applied to the resource URI.
The resource filter is provided as the operator.
The structure of the returned document is as follows:
<mls>
...
<dir>accessor
<res>schematronAccessor.idoc
<uri>ffcpl:/org/ten60/netkernel/xml/accessor/schematronAccessor.idoc</uri>
<module>urn:org:ten60:netkernel:ext:xml</module>
</res>
</dir>
...
</mls>
Operator Syntax
The mls accessor requires some properties to specify what to include in the listing. These are passed in
by the operator in a <mls> property document.
<mls> <filter>.*\.xml</filter>
<uri />
<age />
<lastmodified />
<length />
</mls>
<module-uri> If specified, this is the modules that will be the subject of
the listing. Otherwise the module requesting use of the accessor will be the subject.
<filter> Filter. Regular Expression on the absolute URI of the resource (starting ffcpl:/)
<uri> Include the full ffcpl: URI of the resource
<age> Include the number of milliseconds since the resource was last modified
<lastmodified> Include the timestamp when the resource was last modified
<length> Include the length in bytes of the resource