Location: PHPKode > scripts > AIRProjectXML > airprojectxml/reference.html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>AIRProjectXML Reference</title>
<style type="text/css">
body {
    background-color: #ffffff;
    color: #333333;
    font-family: Tahoma, sans-serif;
    font-size: 9pt;
    text-align: center;
    margin: 0px;
}
#header {
    background-color: #980707;
    color: #f2f2f2;
    height: 90px;
    text-align: left;
    margin: 0px 0px 20px 0px;
}
#header h1 {
    font-size: 20pt;
    font-weight: bold;
    padding: 20px 0px 0px 10px;
    margin: 0px;
}
#main {
    width: 760px;
    text-align: left;
    line-height: 18px;
    padding: 0px 0px 20px 0px;
    margin: auto;
}
#main p {
    text-align: justify;
}
#main a {
    background-color: inherit;
    color: #980707;
    text-decoration: none;
}
#main a:hover {
    background-color: inherit;
    color: #980707;
    text-decoration: underline;
}
#main h4 {
    padding: 25px 0px 0px 0px;
}
</style>
</head>
<body>
<div id="header"><h1>AIRProjectXML Reference</h1></div>
<div id="main">




<a name="top"></a>
<p>
AIRProjectXML is a set of PHP classes which may be used to write and read Adobe
AIR application descriptor files (XML files which define the basic properties of
the AIR applications). Current version of AIRProjectXML is compatible with
version 1.1 of Adobe AIR. PHP version 4.3 or later is required to run the code.
</p>

<p>
This document provides the description of the properties and methods. Please see
the source code inside the "sample.php" for an exmaple of usage. You may also
run the "GUI.php" script to get a ready graphic interface to AIRProjectXML.
</p>

<p>
Additional information about Adobe AIR technology may be found at
<a href="http://www.adobe.com/products/air">http://www.adobe.com/products/air</a>
</p>


<hr />


<a name="classes"></a>
<h2>Classes</h2>

<ul>
<li><a href="#AIRProjectXML">AIRProjectXML</a></li>
<li><a href="#AIRProjectXMLParser">AIRProjectXMLParser</a></li>
<li><a href="#AIRProjectXML_application">AIRProjectXML_application</a></li>
<li><a href="#AIRProjectXML_initialWindow">AIRProjectXML_initialWindow</a></li>
<li><a href="#AIRProjectXML_icon">AIRProjectXML_icon</a></li>
<li><a href="#AIRProjectXML_fileType">AIRProjectXML_fileType</a></li>
</ul>


<hr />


<a name="AIRProjectXML"></a>
<h3>class AIRProjectXML</h3>

Parameters:
<ul>
<li><a href="#application">AIRProjectXML_application application</a></li>
<li><a href="#indent">string indent</a></li>
<li><a href="#lineBreak">string lineBreak</a></li>
</ul>

Methods:
<ul>
<li><a href="#AIRProjectXML2">constructor AIRProjectXML(AIRProjectXML_application application)</a></li>
<li><a href="#setSize">string setSize(int width, int height)</a></li>
<li><a href="#appendMultilanguage">string appendMultilanguage(array texts)</a></li>
<li><a href="#saveFile">bool saveFile(string filename)</a></li>
<li><a href="#getString">string getString()</a></li>
<li><a href="#forceDownload">void forceDownload(string filename)</a></li>
</ul>

<a name="application"></a>
<h4>AIRProjectXML_application application</h4>
<p>
Specifies the <a href="#AIRProjectXML_application">AIRProjectXML_application</a>
object which defines the properties of the AIR application.
</p>
<p>
This property should be initialy defined via <a href="#AIRProjectXML2">constructor</a>.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="indent"></a>
<h4>string indent</h4>
<p>
Specifies the indent character(s) used in XML file. Default value is "\t".
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="lineBreak"></a>
<h4>string lineBreak</h4>
<p>
Specifies the line break character(s) used in XML file. Default value is "\n".
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="AIRProjectXML2"></a>
<h4>constructor AIRProjectXML(AIRProjectXML_application application)</h4>
<p>
Creates an AIRProjectXML object. The <a href="#AIRProjectXML_application">AIRProjectXML_application</a>
object should be provided as parameter.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="setSize"></a>
<h4>string setSize(int width, int height)</h4>
<p>
Static method which may be used to set the values of <a href="#minSize">minSize</a>
and <a href="#maxSize">maxSize</a> properties of <a href="#AIRProjectXML_initialWindow">AIRProjectXML_initialWindow</a>
object.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="appendMultilanguage"></a>
<h4>string appendMultilanguage(array texts)</h4>
<p>
Static method which may be used to define multilanguage strings to the <a href="#name">name</a>
and <a href="#description">description</a> properties of <a href="#AIRProjectXML_application">AIRProjectXML_application</a>
object.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="saveFile"></a>
<h4>bool saveFile(string filename)</h4>
<p>
Saves the resulting XML file. If the file already exists the function will
rewrite it.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="getString"></a>
<h4>string getString()</h4>
<p>
Returns the resulting XML as a string.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="forceDownload"></a>
<h4>void forceDownload(string filename)</h4>
<p>
Forces the browser to download the resulting XML file. The filename is used as
default name of downloaded file.
</p>
<p>
[ <a href="#AIRProjectXML">class AIRProjectXML</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>



<hr />


<a name="AIRProjectXMLParser"></a>
<h3>class AIRProjectXMLParser</h3>

Parameters:
<ul>
<li><a href="#application2">AIRProjectXML_application application</a></li>
</ul>

Methods:
<ul>
<li><a href="#AIRProjectXMLParser2">constructor AIRProjectXMLParser()</a></li>
<li><a href="#parseXMLString">bool parseXMLString(string xml)</a></li>
<li><a href="#parseXMLFile">bool parseXMLFile(string filename)</a></li>
</ul>

<a name="application2"></a>
<h4>AIRProjectXML_application application</h4>
<p>
This property represents the parsed data as an <a href="#AIRProjectXML_application">AIRProjectXML_application</a>
object.
</p>
<p>
[ <a href="#AIRProjectXMLParser">class AIRProjectXMLParser</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="AIRProjectXMLParser2"></a>
<h4>constructor AIRProjectXMLParser()</h4>
<p>
Creates an AIRProjectXMLParser object.
</p>
<p>
[ <a href="#AIRProjectXMLParser">class AIRProjectXMLParser</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="parseXMLString"></a>
<h4>bool parseXMLString(string xml)</h4>
<p>
Parses the XML string in the format of the AIR application descriptor file.
Returnes true if succeed, otherwise - false.
</p>
<p>
[ <a href="#AIRProjectXMLParser">class AIRProjectXMLParser</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="parseXMLFile"></a>
<h4>bool parseXMLFile(string filename)</h4>
<p>
Parses the AIR application descriptor XML file. Returnes true if succeed,
otherwise - false.
</p>
<p>
[ <a href="#AIRProjectXMLParser">class AIRProjectXMLParser</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>


<hr />


<a name="AIRProjectXML_application"></a>
<h2>class AIRProjectXML_application</h2>

Parameters:
<ul>
<li><a href="#xmlns">string xmlns</a></li>
<li><a href="#minimumPatchLevel">string minimumPatchLevel</a></li>
<li><a href="#id">string id</a></li>
<li><a href="#filename">string filename</a></li>
<li><a href="#name">string name</a></li>
<li><a href="#version">string version</a></li>
<li><a href="#description">string description</a></li>
<li><a href="#copyright">string copyright</a></li>
<li><a href="#initialWindow">AIRProjectXML_initialWindow initialWindow</a></li>
<li><a href="#installFolder">string installFolder</a></li>
<li><a href="#programMenuFolder">string programMenuFolder</a></li>
<li><a href="#icon">AIRProjectXML_icon icon</a></li>
<li><a href="#customUpdateUI">bool customUpdateUI</a></li>
<li><a href="#allowBrowserInvocation">bool allowBrowserInvocation</a></li>
<li><a href="#fileTypes">array fileTypes</a></li>
</ul>

Methods:
<ul>
<li><a href="#AIRProjectXML_application2">constructor AIRProjectXML_application(string id, string filename, string version, AIRProjectXML_initialWindow initialWindow)</a></li>
</ul>

<a name="xmlns"></a>
<h4>string xmlns</h4>
<p>
Specifies the XML namespace. Default value is "http://ns.adobe.com/air/application/1.1".
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="minimumPatchLevel"></a>
<h4>string minimumPatchLevel</h4>
<p>
Specifies the minimum patch level. For additional information about the
minimumPatchLevel attribute of &lt;application&gt; element please refer to Adobe
AIR documentation.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="id"></a>
<h4>string id</h4>
<p>
An identifier string unique to the application, known as the application ID. The
property value is restricted to the following characters: 0–9, a–z, A–Z, dot and
hyphen. The value must contain 1 to 212 characters.
</p>
<p>
The id string typically uses a dot-separated hierarchy, in alignment with a
reversed DNS domain address, a Java package or class name, or a Mac OS X
Universal Type Identifier. The DNS-like form is not enforced, and AIR does
not create any association between the name and actual DNS domains.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="filename"></a>
<h4>string filename</h4>
<p>
The string to use as a filename of the application (without extension) when the
application is installed. The application file launches the AIR application in
the runtime. If no name value is provided, the filename is also used as the name
of the installation folder.
</p>
<p>
The filename property can contain any Unicode (UTF-8) character except the
charcters, which are prohibited from use as filenames on various file systems.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="name"></a>
<h4>string name</h4>
<p>
The title displayed by the AIR application installer. You may provide a string
in different languages using the <a href="#appentMultilanguage">appentMultilanguage()</a> static
method of AIRProjectXML class.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="version"></a>
<h4>string version</h4>
<p>
Specifies the version information for the application. The version string is an
application-defined designator. AIR does not interpret the version string in any
way. Thus, version "3.0" is not assumed to be more current than version "2.0".
Examples: "1.0", ".4", "0.5", "4.9", "1.3.4a".
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="description"></a>
<h4>string description</h4>
<p>
The description of the application, displayed in the AIR application installer.
You may provide a string in different languages using the
<a href="#appentMultilanguage">appentMultilanguage()</a> static method of
AIRProjectXML class.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="copyright"></a>
<h4>string copyright</h4>
<p>
The copyright information for the AIR application. On Mac OS, the copyright text
appears in the About dialog box for the installed application. On Mac OS, the
copyright information is also used in the NSHumanReadableCopyright field in the
Info.plist file for the application.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="initialWindow"></a>
<h4>AIRProjectXML_initialWindow initialWindow</h4>
<p>
An <a href="#AIRProjectXML_initialWindow">AIRProjectXML_initialWindow</a> object,
which specifies the parameters of the applixation's initial window.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="installFolder"></a>
<h4>string installFolder</h4>
<p>
Identifies the subdirectory of the default installation directory. On Windows,
the default installation subdirectory is the Program Files directory. On Mac OS,
it is the /Applications directory. For example, if the installFolder property is
set to "Acme" and an application is named "ExampleApp", then the application is
installed in C:\Program Files\Acme\ExampleApp on Windows and in /Applications/
Acme/Example.app on MacOS.
</p>
<p>
Use the forward-slash (/) character as the directory separator character if you
want to specify a nested subdirectory.
</p>
<p>
The installFolder property can contain any Unicode (UTF-8) character except
those that are prohibited from use as folder names on various file systems.
</p>
<p>
If you specify no installFolder property, the application is installed in a
subdirectory of the default installation directory, based on the name property.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="programMenuFolder"></a>
<h4>string programMenuFolder</h4>
<p>
Identifies the location in which to place shortcuts to the application in the All
Programs menu of the Windows operating system. The restrictions on the
characters that are allowed in the value of the property are the same as those
for the installFolder property. Do not use a forward slash (/) character as the
last character of this value.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="icon"></a>
<h4>AIRProjectXML_icon icon</h4>
<p>
The icon property specifies one or more icon files to be used for the
application. If you do not specify an icon property, the operating system
displays a default icon.
</p>
<p>
The path specified is relative to the application root directory. Icon files
must be in the PNG format.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="customUpdateUI"></a>
<h4>bool customUpdateUI</h4>
<p>
To indicate that your application should handle the update process itself, set
the customUpdateUI parameter to true.
</p>
<p>
When the installed version of your application has the customUpdateUI element
set to true and the user then doubleclicks the AIR file for a new version or
installs an update of the application using the seamless install feature, the
runtime opens the installed version of the application, rather than the default
AIR application installer. Your application logic can then determine how to
proceed with the update operation.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="allowBrowserInvocation"></a>
<h4>bool allowBrowserInvocation</h4>
<p>
If you specify the following setting, the installed AIR application can be
launched via the browser invocation feature. The default value is false.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="fileTypes"></a>
<h4>array fileTypes</h4>
<p>
Array of <a href="#AIRProjectXML_fileType">AIRProjectXML_fileType</a> objects
indicating the file type associations.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="AIRProjectXML_application2"></a>
<h4>constructor AIRProjectXML_application(string id, string filename, string version, AIRProjectXML_initialWindow initialWindow)</h4>
<p>
Creates an <a href="#AIRProjectXML_application">AIRProjectXML_application</a>
object. Provided parameters are approriate required properties of
<a href="#AIRProjectXML_application">AIRProjectXML_application</a> class.
</p>
<p>
[ <a href="#AIRProjectXML_application">class AIRProjectXML_application</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>


<hr />



<a name="AIRProjectXML_initialWindow"></a>
<h3>class AIRProjectXML_initialWindow</h3>

Parameters:
<ul>
<li><a href="#content">string content</a></li>
<li><a href="#title">string title</a></li>
<li><a href="#systemChrome">string systemChrome</a></li>
<li><a href="#transparent">bool transparent</a></li>
<li><a href="#visible">bool visible</a></li>
<li><a href="#minimizable">bool minimizable</a></li>
<li><a href="#maximizable">bool maximizable</a></li>
<li><a href="#resizable">bool resizable</a></li>
<li><a href="#width">int width</a></li>
<li><a href="#height">int height</a></li>
<li><a href="#x">int x</a></li>
<li><a href="#y">int y</a></li>
<li><a href="#minSize">string minSize</a></li>
<li><a href="#maxSize">string maxSize</a></li>
</ul>

Methods:
<ul>
<li><a href="#AIRProjectXML_initialWindow2">constructor AIRProjectXML_initialWindow(string content)</a></li>
</ul>

<a name="content"></a>
<h4>string content</h4>
<p>
The value specified for the content parameter is the URL for the main content
file of the application. This may be either a SWF file or an HTML file. The URL
is specified relative to the root of the application installation folder. When
running an AIR application with ADL, the URL is relative to the folder
containing the application descriptor file. You can use the root-dir parameter
of ADL to specify a different root directory.
</p>
<p>
Because the value of the content parameter is treated as a URL, characters in
the name of the content file must be URL encoded according to the rules defined
in RFC 1738FC 1738. Space characters, for example, must be encoded as %20.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="title"></a>
<h4>string title</h4>
<p>
The title of the initial window of application.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="systemChrome"></a>
<h4>string systemChrome</h4>
<p>
If you set this parameter to APX_SYSTEM_CHROME_STANDARD, the standard system
chrome supplied by the operating system is displayed. If you set it to
APX_SYSTEM_CHROME_NONE, no system chrome is displayed.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="transparent"></a>
<h4>bool transparent</h4>
<p>
Set to true if you want the application window to support alpha blending. A
window with transparency may draw more slowly and require more memory. You can
only set transparent to true when the value of the
<a href="#systemChrome">systemChrome</a> parameter is APX_SYSTEM_CHROME_NONE.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="visible"></a>
<h4>bool visible</h4>
<p>
Set to true if you want the main window to be visible as soon as it is created.
The default value is false.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="minimizable"></a>
<h4>bool minimizable</h4>
<p>
Specifies whether the initial window can be minimized. The default value is true.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="maximizable"></a>
<h4>bool maximizable</h4>
<p>
Specifies whether the initial window can be maximized. The default value is true.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="resizable"></a>
<h4>bool resizable</h4>
<p>
Specifies whether the initial window can be resized. The default value is true.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="width"></a>
<h4>int width</h4>
<p>
Specifies the width of the initial window. If you do not set this value, the
window size is determined by the settings in the root SWF file or, in the case
of HTML, by the operating system.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="height"></a>
<h4>int height</h4>
<p>
Specifies the height of the initial window. If you do not set this value, the
window size is determined by the settings in the root SWF file or, in the case
of HTML, by the operating system.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="x"></a>
<h4>int x</h4>
<p>
Specifies the left position of the initial window. If you do not set this value,
the window position is determined by the settings in the root SWF file or, in
the case of HTML, by the operating system.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="y"></a>
<h4>int y</h4>
<p>
Specifies the top position of the initial window. If you do not set this value,
the window position is determined by the settings in the root SWF file or, in
the case of HTML, by the operating system.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="minSize"></a>
<h4>string minSize</h4>
<p>
The minimum size of the initial window as "width height" string (e.g. "320 240").
If you do not set this value, it is determined by the operating system.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="maxSize"></a>
<h4>string maxSize</h4>
<p>
The maximum size of the initial window as "width height" string (e.g. "1280 960").
If you do not set this value, it is determined by the operating system.
</p>
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="AIRProjectXML_initialWindow2"></a>
<h4>constructor AIRProjectXML_initialWindow(string content)</h4>
Creates an <a href="#AIRProjectXML_initialWindow">AIRProjectXML_initialWindow</a>
object. The content parameter is the URL for the main content file of the
application.
<p>
[ <a href="#AIRProjectXML_initialWindow">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>



<hr />




<a name="AIRProjectXML_icon"></a>
<h2>class AIRProjectXML_icon</h2>

Parameters:
<ul>
<li><a href="#image16x16">string image16x16</a></li>
<li><a href="#image32x32">string image32x32</a></li>
<li><a href="#image48x48">string image48x48</a></li>
<li><a href="#image128x128">string image128x128</a></li>
</ul>

Methods:
<ul>
<li><a href="#AIRProjectXML_icon2">constructor AIRProjectXML_icon(string image, string size)</a></li>
</ul>

<a name="image16x16"></a>
<h4>string image16x16</h4>
<p>
Specifies a 16x16 PNG icon.
</p>
<p>
[ <a href="#AIRProjectXML_icon">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="image32x32"></a>
<h4>string image32x32</h4>
<p>
Specifies a 32x32 PNG icon.
</p>
<p>
[ <a href="#AIRProjectXML_icon">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="image48x48"></a>
<h4>string image48x48</h4>
<p>
Specifies a 48x48 PNG icon.
</p>
<p>
[ <a href="#AIRProjectXML_icon">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="image128x128"></a>
<h4>string image128x128</h4>
<p>
Specifies a 128x128 PNG icon.
</p>
<p>
[ <a href="#AIRProjectXML_icon">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="AIRProjectXML_icon2"></a>
<h4>constructor AIRProjectXML_icon(string image, string size)</h4>
Creates an <a href="#AIRProjectXML_icon">AIRProjectXML_icon</a> object. The image
parameter is one of the icons the size of which is specified in second parameter.
One of the following predefined constants may be used to set the size:
APX_ICON_16, APX_ICON_32, APX_ICON_48 or APX_ICON_128.
<p>
[ <a href="#AIRProjectXML_icon">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>



<hr />



<a name="AIRProjectXML_fileType"></a>
<h2>class AIRProjectXML_fileType</h2>

Parameters:
<ul>
<li><a href="#name2">string name</a></li>
<li><a href="#extension">string extension</a></li>
<li><a href="#description2">string description</a></li>
<li><a href="#contentType">string contentType</a></li>
<li><a href="#icon2">AIRProjectXML_icon icon</a></li>
</ul>

Methods:
<ul>
<li><a href="#AIRProjectXML_fileType2">constructor AIRProjectXML_fileType(string name, string extension)</a></li>
</ul>

<a name="name2"></a>
<h4>string name</h4>
<p>
The name of the file type. The same name can be used for multiple extensions.
</p>
<p>
[ <a href="#AIRProjectXML_fileType">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="extension"></a>
<h4>string extension</h4>
<p>
The extension which uniquely identifies the file type.
</p>
<p>
[ <a href="#AIRProjectXML_fileType">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="description2"></a>
<h4>string description</h4>
<p>
The description of the file type.
</p>
<p>
[ <a href="#AIRProjectXML_fileType">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="contentType"></a>
<h4>string contentType</h4>
<p>
The MIME type of the file content.
</p>
<p>
[ <a href="#AIRProjectXML_fileType">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="icon2"></a>
<h4>AIRProjectXML_icon icon</h4>
<p>
The icon associated with the file type.
</p>
<p>
[ <a href="#AIRProjectXML_fileType">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>

<a name="AIRProjectXML_fileType2"></a>
<h4>constructor AIRProjectXML_fileType(string name, string extension)</h4>
<p>
Creates an <a href="#AIRProjectXML_fileType">AIRProjectXML_fileType</a> object
with specified name and extension.
</p>
<p>
[ <a href="#AIRProjectXML_fileType">class AIRProjectXML_initialWindow</a> ]
[ <a href="#classes">Back to the classes</a> ]
</p>




</div>
</body>
</html>
Return current item: AIRProjectXML