Subversion Repositories XServices

Rev

View as "text/plain" | Blame | Last modification | View Log | Download | RSS feed

<?xml version="1.0" encoding="UTF-8"?>
<section>
<title>FileResource type</title>
                        <para>The FileResource type defines an URI to a file with optional on-the-fly decompression.</para>
                        <para>
                                The defining Java class is
                                <ulink
                                        url="javadoc/net/brutex/xservices/types/FileResource.html">
                                        <classname>net.brutex.xservices.types.FileResource</classname>
                                </ulink>
                                .
                        </para>

                        <programlisting
                                language="xml"><![CDATA[
<xs:complexType name="FileResourceType">
        <xs:sequence>
        <xs:element default="FILE" name="type" type="tns:type"/>
        <xs:element name="uri" type="xs:string"/>
   </xs:sequence>
</xs:complexType>]]>
                        </programlisting>
                        <para>Available types:</para>
                        <para>FILE: URI points to a local file resource. Examples: c:\temp\something.txt, c:/dir/another.file, /home/brian/file</para>          
                        <para>URL: File from URL (http, https, ftp, ...). Example: http://brutex.net/file.pdf</para>
                        <para>GZIP and BZIP2: File from a local file system with on-the-fly decompression.</para>
                        <programlisting
                                language="xml"><![CDATA[
<resource>
        <type>FILE</type>
    <uri>c:\temp\xservices.war</uri>
</resource>]]>
                        </programlisting>
                </section>

Generated by GNU Enscript 1.6.5.90.