URLData
| Kind of class: | public class | 
|---|---|
| Package: | |
| Inherits from: | 
 | 
| Implements: | |
| Classpath: | org.asaplibrary.data.URLData | 
| File last modified: | Wednesday, 11 May 2011, 18:35:02 | 
	Data object class to hold information about urls.	
	Can get its information through the Parser since it implements IParsable. 
	parseXML can be used to to test if the XML has valid data.
									Summary
Constructor
URLData
							function URLData(inName:String = null,
                 inURL:String = null,
                 inTarget:String = null)						
											Creates a new URLData. The constructor will be called without parameters by the Parser.
Instance properties
name
							name:String(read,write)						
											Unique identifying name of url.
target
							target:String(read,write)						
											Target of getURL function.
url
							url:String(read,write)						
											Actual url to be opened.
Instance methods
parseXML
							function parseXML(inXML:XML) : Boolean						
											This method can be used to test if the XML has valid data. Valid XML must have this setup:
<urls> <url name="..." url="..." target="..." /> </urls>... where name and url are mandatory, and target is optional.
			Returns
					
					
					
	- True if parsing went ok, otherwise false.