PageRenderTime 44ms CodeModel.GetById 2ms app.highlight 32ms RepoModel.GetById 2ms app.codeStats 0ms

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

http://gmaps-utility-library-flash.googlecode.com/
HTML | 187 lines | 165 code | 21 blank | 1 comment | 0 complexity | e237c251c2abaf1366eff5710da218f6 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>Feature.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">Namespaces</span>;
 15    <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">ParsingTools</span>;
 16    <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">atom</span>.<span class="ActionScriptDefault_Text">Author</span>;
 17    <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">atom</span>.<span class="ActionScriptDefault_Text">Link</span>;
 18
 19
 20    <span class="ActionScriptASDoc">/**
 21    *    Class that represents an Entry element within an Atom feed
 22    * 
 23    *     @langversion ActionScript 3.0
 24    *    @playerversion Flash 8.5
 25    *    @tiptext
 26    * 
 27    *     @see http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.4.1.2
 28    */</span>
 29    <span class="ActionScriptReserved">public</span> <span class="ActionScriptclass">class</span> <span class="ActionScriptDefault_Text">Feature</span> <span class="ActionScriptReserved">extends</span> <span class="ActionScriptDefault_Text">KmlObject</span>
 30    <span class="ActionScriptBracket/Brace">{</span>
 31        <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">atom</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Namespace</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Namespaces</span>.<span class="ActionScriptDefault_Text">ATOM_NS</span>;
 32        <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Namespace</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Namespaces</span>.<span class="ActionScriptDefault_Text">KML_NS</span>;
 33        <span class="ActionScriptReserved">private</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">georss</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Namespace</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">Namespaces</span>.<span class="ActionScriptDefault_Text">GEORSS_NS</span>;
 34
 35        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_name</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
 36        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_id</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
 37        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_link</span><span class="ActionScriptOperator">:</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">atom</span>.<span class="ActionScriptDefault_Text">Link</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">Link</span>;
 38        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_visibility</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
 39        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_open</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
 40        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_author</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Author</span>;
 41        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_snippet</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
 42        <span class="ActionScriptReserved">public</span> <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">_description</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>;
 43        
 44        <span class="ActionScriptASDoc">/**
 45        *    Constructor for class.
 46        * 
 47        *    @param x An XML document that contains an individual Entry element from 
 48        *    an Aton XML feed.
 49        *
 50        *     @langversion ActionScript 3.0
 51        *    @playerversion Flash 8.5
 52        *    @tiptext
 53        */</span>    
 54        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptDefault_Text">Feature</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>
 55        <span class="ActionScriptBracket/Brace">{</span>
 56            <span class="ActionScriptReserved">super</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">x</span><span class="ActionScriptBracket/Brace">)</span>;
 57            <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptString">&quot;Feature&quot;</span><span class="ActionScriptBracket/Brace">)</span>;
 58            <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span><span class="ActionScriptBracket/Brace">)</span>;
 59            <span class="ActionScripttrace">trace</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptBracket/Brace">)</span>;
 60            <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_id</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nullCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.@<span class="ActionScriptDefault_Text">id</span><span class="ActionScriptBracket/Brace">)</span>;
 61            <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_name</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nullCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">name</span><span class="ActionScriptBracket/Brace">)</span>;
 62            
 63            <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_description</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nullCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">description</span><span class="ActionScriptBracket/Brace">)</span>;
 64            <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_snippet</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nullCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">Snippet</span><span class="ActionScriptBracket/Brace">)</span>;
 65            
 66            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nullCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">atom</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">link</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 67                <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_link</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</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">atom</span>.<span class="ActionScriptDefault_Text">Link</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">Link</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">atom</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">link</span><span class="ActionScriptBracket/Brace">)</span>;
 68            <span class="ActionScriptBracket/Brace">}</span>
 69
 70            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nullCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">atom</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">author</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptOperator">!=</span> <span class="ActionScriptReserved">null</span><span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 71                <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_author</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">new</span> <span class="ActionScriptDefault_Text">Author</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">atom</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">author</span><span class="ActionScriptBracket/Brace">)</span>;
 72            <span class="ActionScriptBracket/Brace">}</span>
 73            
 74            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">visibility</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nanCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">visibility</span><span class="ActionScriptBracket/Brace">)</span>;
 75            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">visibility</span> <span class="ActionScriptOperator">==</span> 1<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 76                <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_visibility</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
 77            <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">visibility</span> <span class="ActionScriptOperator">==</span> 0<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 78                <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_visibility</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
 79            <span class="ActionScriptBracket/Brace">}</span>
 80            
 81            <span class="ActionScriptvar">var</span> <span class="ActionScriptDefault_Text">open</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Number</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptDefault_Text">ParsingTools</span>.<span class="ActionScriptDefault_Text">nanCheck</span><span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">x</span>.<span class="ActionScriptDefault_Text">kml</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">)</span>;
 82            <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">open</span> <span class="ActionScriptOperator">==</span> 1<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 83                <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_open</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">true</span>;
 84            <span class="ActionScriptBracket/Brace">}</span> <span class="ActionScriptReserved">else</span> <span class="ActionScriptReserved">if</span> <span class="ActionScriptBracket/Brace">(</span><span class="ActionScriptDefault_Text">open</span> <span class="ActionScriptOperator">==</span> 0<span class="ActionScriptBracket/Brace">)</span> <span class="ActionScriptBracket/Brace">{</span>
 85                <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_open</span> <span class="ActionScriptOperator">=</span> <span class="ActionScriptReserved">false</span>;
 86            <span class="ActionScriptBracket/Brace">}</span>
 87        <span class="ActionScriptBracket/Brace">}</span>
 88
 89        <span class="ActionScriptASDoc">/**
 90        *    The string in the name tag.
 91        */</span>    
 92        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">name</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>
 93        <span class="ActionScriptBracket/Brace">{</span>
 94            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_name</span>;
 95        <span class="ActionScriptBracket/Brace">}</span>
 96
 97        <span class="ActionScriptASDoc">/**
 98        *    An array containing one or more link objects relating to this entry.
 99        */</span>    
100        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">link</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</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">atom</span>.<span class="ActionScriptDefault_Text">Link</span><span class="ActionScriptOperator">::</span><span class="ActionScriptDefault_Text">Link</span>
101        <span class="ActionScriptBracket/Brace">{</span>    
102            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_link</span>;
103        <span class="ActionScriptBracket/Brace">}</span>
104
105        <span class="ActionScriptASDoc">/**
106        *    A String that uniquely identifies the Entry.
107        *
108        *    This property conveys a permanent, universally unique identifier for
109        *    an entry or feed.
110        *
111        *     @langversion ActionScript 3.0
112        *    @playerversion Flash 8.5
113        *    @tiptext
114        */</span>    
115        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">visibility</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span>
116        <span class="ActionScriptBracket/Brace">{</span>
117            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_visibility</span>;
118        <span class="ActionScriptBracket/Brace">}</span>
119
120        <span class="ActionScriptASDoc">/**
121        *    A String that uniquely identifies the Entry.
122        *
123        *    This property conveys a permanent, universally unique identifier for
124        *    an entry or feed.
125        *
126        *     @langversion ActionScript 3.0
127        *    @playerversion Flash 8.5
128        *    @tiptext
129        */</span>    
130        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">open</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Boolean</span>
131        <span class="ActionScriptBracket/Brace">{</span>
132            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_open</span>;
133        <span class="ActionScriptBracket/Brace">}</span>
134
135        
136        <span class="ActionScriptASDoc">/**
137        *    An Array of Author objects that represent the authors for the entry.
138        *
139        *     @langversion ActionScript 3.0
140        *    @playerversion Flash 8.5
141        *    @tiptext
142        */</span>    
143        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">author</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">Author</span>
144        <span class="ActionScriptBracket/Brace">{</span>
145            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_author</span>;
146        <span class="ActionScriptBracket/Brace">}</span>
147
148
149        <span class="ActionScriptASDoc">/**
150        *    A Content object that contains the content of the entry.
151        *
152        *     @langversion ActionScript 3.0
153        *    @playerversion Flash 8.5
154        *    @tiptext
155        */</span>    
156        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">description</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>
157        <span class="ActionScriptBracket/Brace">{</span>
158            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_description</span>;
159        <span class="ActionScriptBracket/Brace">}</span>
160
161        <span class="ActionScriptASDoc">/**
162        *    A Content object that contains the content of the entry.
163        *
164        *     @langversion ActionScript 3.0
165        *    @playerversion Flash 8.5
166        *    @tiptext
167        */</span>    
168        <span class="ActionScriptReserved">public</span> <span class="ActionScriptfunction">function</span> <span class="ActionScriptReserved">get</span> <span class="ActionScriptDefault_Text">snippet</span><span class="ActionScriptBracket/Brace">()</span><span class="ActionScriptOperator">:</span><span class="ActionScriptDefault_Text">String</span>
169        <span class="ActionScriptBracket/Brace">{</span>
170            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">this</span>.<span class="ActionScriptDefault_Text">_snippet</span>;
171        <span class="ActionScriptBracket/Brace">}</span>
172        
173        <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>
174            <span class="ActionScriptReserved">return</span> <span class="ActionScriptReserved">super</span>.<span class="ActionScriptDefault_Text">toString</span><span class="ActionScriptBracket/Brace">()</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptString">&quot;name: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">_name</span> <span class="ActionScriptOperator">+</span>
175                   <span class="ActionScriptString">&quot;id: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">_id</span> <span class="ActionScriptOperator">+</span>
176                   <span class="ActionScriptString">&quot;link: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">_link</span> <span class="ActionScriptOperator">+</span>
177                   <span class="ActionScriptString">&quot;visibility: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">_visibility</span> <span class="ActionScriptOperator">+</span>
178                   <span class="ActionScriptString">&quot;open: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">_open</span> <span class="ActionScriptOperator">+</span>
179                   <span class="ActionScriptString">&quot;author: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">_author</span> <span class="ActionScriptOperator">+</span>
180                   <span class="ActionScriptString">&quot;snippet: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">snippet</span> <span class="ActionScriptOperator">+</span>
181                   <span class="ActionScriptString">&quot;description: &quot;</span> <span class="ActionScriptOperator">+</span> <span class="ActionScriptDefault_Text">description</span> <span class="ActionScriptOperator">+</span>
182                   <span class="ActionScriptString">&quot;\n&quot;</span>;
183        <span class="ActionScriptBracket/Brace">}</span>
184    <span class="ActionScriptBracket/Brace">}</span>
185<span class="ActionScriptBracket/Brace">}</span>
186</pre></body>
187</html>