diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-05 18:18:31 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-05 18:18:31 +0000 |
commit | 6703cc842889090f290aabb57af89891ba2e5824 (patch) | |
tree | 4b738296ceb2e3150b50031a0f7cc4ed81735cb1 | |
parent | 64bc267f78502478521edf9ce55b35571b2613bb (diff) |
INTEGRATION: CWS xmlfilter03_DEV300 (1.8.448); FILE MERGED
2008/02/13 15:31:13 dr 1.8.448.1: change </true> to <true/> and </false> to <false/>
-rw-r--r-- | offapi/com/sun/star/util/URL.idl | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/offapi/com/sun/star/util/URL.idl b/offapi/com/sun/star/util/URL.idl index 42843c41f..0640cbfc8 100644 --- a/offapi/com/sun/star/util/URL.idl +++ b/offapi/com/sun/star/util/URL.idl @@ -4,9 +4,9 @@ * * $RCSfile: URL.idl,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:56:59 $ + * last change: $Author: kz $ $Date: 2008-03-05 19:18:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -32,108 +32,108 @@ * MA 02111-1307 USA * ************************************************************************/ -#ifndef __com_sun_star_util_URL_idl__ -#define __com_sun_star_util_URL_idl__ - - -//============================================================================= - -module com { module sun { module star { module util { - -//============================================================================= - +#ifndef __com_sun_star_util_URL_idl__ +#define __com_sun_star_util_URL_idl__ + + +//============================================================================= + +module com { module sun { module star { module util { + +//============================================================================= + /** represents the structure of an Uniform Resource Locator. - + <p> - If the structure represents a valid URL or not depends on prior usage of + If the structure represents a valid URL or not depends on prior usage of the functions of <type>XURLTransformer</type>. Only after one of the functions - returned </TRUE> this can be assumed.</br> - It is not necessary to set all of the fields; either <member>URL::Complete</member> + returned <TRUE/> this can be assumed.</br> + It is not necessary to set all of the fields; either <member>URL::Complete</member> or (some of) the others are set. Additionally, most of the other - fields, like <member>URL::Host</member>, <member>URL::Port</member>, + fields, like <member>URL::Host</member>, <member>URL::Port</member>, <member>URL::User</member>, <member>URL::Password</member>, or <member>URL::Mark</member>, are optional. @see XURLTransformer - + </p> */ published struct URL { /** contains the string representation of the complete URL, for example, http://www.sun.de:8080/pub/test/foo.txt?a=b#xyz - + <p> It is used as a central input/output or input parameter for the interfaces of - <type>XURLTransformer</type>. The usage of one of the <type>XURLTransformer</type> - function is mandatory to validate the URL. It cannot be assumed that + <type>XURLTransformer</type>. The usage of one of the <type>XURLTransformer</type> + function is mandatory to validate the URL. It cannot be assumed that <member>URL::Complete</member> represents always a valid URL! </p> */ - string Complete; - - //------------------------------------------------------------------------- + string Complete; + + //------------------------------------------------------------------------- /** contains the URL without a mark and without arguments, for example, http://www.sun.de:8080/pub/test/foo.txt */ - string Main; - - //------------------------------------------------------------------------- + string Main; + + //------------------------------------------------------------------------- /** contains the protocol (scheme) of the URL, for example, "http" */ - string Protocol; - - //------------------------------------------------------------------------- + string Protocol; + + //------------------------------------------------------------------------- /** contains the user-identifier of the URL, for example, "me" */ - string User; - - //------------------------------------------------------------------------- + string User; + + //------------------------------------------------------------------------- /** contains the users password of the URL, for example, "pass" */ - string Password; - - //------------------------------------------------------------------------- + string Password; + + //------------------------------------------------------------------------- /** contains the server part of the URL, for example, "www.sun.de" */ - string Server; - - //------------------------------------------------------------------------- + string Server; + + //------------------------------------------------------------------------- /** contains the port at the server of the URL, for example, "8080" */ - short Port; - - //------------------------------------------------------------------------- + short Port; + + //------------------------------------------------------------------------- /** contains all segments but the last one of the hierarchical path of the URL, for example, "/pub/test/" */ string Path; - - //------------------------------------------------------------------------- + + //------------------------------------------------------------------------- /** contains the last segment of the hierarchical path of the URL, for the above example, "foo.txt" <p> - <strong>Attention:</strong>A service implementing the <type>XURLTransformer</type> interface + <strong>Attention:</strong>A service implementing the <type>XURLTransformer</type> interface will normally not detect if the last segment is a folder or a file. So it is possible that the last segment describes a folder. If you want to be sure that a file URL that references a folder will be correctly put into the URL fields you should append a '/' at the end of the hierarchical path. </p> */ - string Name; - - //------------------------------------------------------------------------- + string Name; + + //------------------------------------------------------------------------- /** contains the arguments part of the URL, for example, "a=b" */ - string Arguments; - - //------------------------------------------------------------------------- + string Arguments; + + //------------------------------------------------------------------------- /** contains the mark part of the URL, for example, "xyz" */ - string Mark; - -}; - -//============================================================================= - -}; }; }; }; - -#endif + string Mark; + +}; + +//============================================================================= + +}; }; }; }; + +#endif |