PageRenderTime 20ms CodeModel.GetById 12ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/src/com/google/maps/extras/xmlparsers/kml/Geometry.as

http://gmaps-utility-library-flash.googlecode.com/
ActionScript | 34 lines | 16 code | 2 blank | 16 comment | 0 complexity | ec1937f0d2b9e1b906e025390107f611 MD5 | raw file
 1/*
 2* Copyright 2008 Google Inc. 
 3* Licensed under the Apache License, Version 2.0:
 4*  http://www.apache.org/licenses/LICENSE-2.0
 5*/
 6package com.google.maps.extras.xmlparsers.kml
 7{
 8    import com.google.maps.extras.xmlparsers.Namespaces;
 9	import com.google.maps.extras.xmlparsers.ParsingTools;
10	import com.google.maps.extras.xmlparsers.XmlElement;
11
12	/**
13	*	Abstract element extended by Point, LineString, LinearRing, Polygon, 
14	*     MultiGeometry (not implemented), and Model (not implemented).
15	* 
16	* 	@see http://code.google.com/apis/kml/documentation/kmlreference.html#geometry
17	*/
18	public class Geometry extends KmlObject
19	{
20		/**
21		*	Constructor for class.
22		* 
23		*	@param x
24		*/	
25		public function Geometry(x:XMLList)
26		{
27			super(x);
28		}
29		
30		public override function toString():String {
31			return "Geometry: " + super.toString();
32		}
33	}
34}