PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/examples/KMLParser/bin-release/srcview/source/com/adobe/xml/syndication/kml/Icon.as.html

http://gmaps-utility-library-flash.googlecode.com/
HTML | 49 lines | 43 code | 5 blank | 1 comment | 0 complexity | 67fd10cf02e3bcc4076296ffcc1a39ef MD5 | raw file
 1<!-- saved from url=(0014)about:internet -->
 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 3<html xmlns="http://www.w3.org/1999/xhtml">
 4<head>
 5<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
 6<title>Icon.as</title>
 7<link rel="stylesheet" type="text/css" href="../../../../../../SourceStyles.css"/>
 8</head>
 9
10<body><pre>
11
12<span class="ActionScriptpackage">package</span> <span class="ActionScriptDefault_Text">com</span>.<span class="ActionScriptDefault_Text">adobe</span>.<span class="ActionScriptDefault_Text">xml</span>.<span class="ActionScriptDefault_Text">syndication</span>.<span class="ActionScriptDefault_Text">kml</span>
13<span class="ActionScriptBracket/Brace">{</span>
14    <span class="ActionScriptReserved">import</span> <span class="ActionScriptDefault_Text">com</span>.<span class="ActionScriptDefault_Text">adobe</span>.<span class="ActionScriptDefault_Text">xml</span>.<span class="ActionScriptDefault_Text">syndication</span>.<span class="ActionScriptDefault_Text">kml</span>.<span class="ActionScriptDefault_Text">AbstractLink</span>;
15    
16    <span class="ActionScriptASDoc">/**
17    *    Class that represents an Entry element within an Atom feed
18    * 
19    *     @langversion ActionScript 3.0
20    *    @playerversion Flash 8.5
21    *    @tiptext
22    * 
23    *     @see http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.4.1.2
24    */</span>
25    <span class="ActionScriptReserved">public</span> <span class="ActionScriptclass">class</span> <span class="ActionScriptDefault_Text">Icon</span> <span class="ActionScriptReserved">extends</span> <span class="ActionScriptDefault_Text">AbstractLink</span>
26    <span class="ActionScriptBracket/Brace">{</span>
27        
28        <span class="ActionScriptASDoc">/**
29        *    Constructor for class.
30        * 
31        *    @param x An XML document that contains an individual Entry element from 
32        *    an Aton XML feed.
33        *
34        *     @langversion ActionScript 3.0
35        *    @playerversion Flash 8.5
36        *    @tiptext
37        */</span>    
38        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">Icon</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">x</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">XMLList</span><span class="ActionScriptBracket/Brace">)</span>
39        <span class="ActionScriptBracket/Brace">{</span>
40            <span class="ActionScriptReserved">super</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">x</span><span class="ActionScriptBracket/Brace">)</span>;
41        <span class="ActionScriptBracket/Brace">}</span>
42        
43        <span class="ActionScriptReserved">public</span> <span class="ActionScriptReserved">override</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span> <span class="ActionScriptBracket/Brace">{</span>
44            <span class="ActionScriptReserved">return</span> <span class="ActionScriptString">&quot;Icon: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptReserved">super</span>.<span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">()</span>;
45        <span class="ActionScriptBracket/Brace">}</span>
46    <span class="ActionScriptBracket/Brace">}</span>
47<span class="ActionScriptBracket/Brace">}</span>
48</pre></body>
49</html>