Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial release

  • Loading branch information...
commit bc733b95e41ab75955bdc115d756144f5af68581 0 parents
@georgi authored
38 Attribute.as
@@ -0,0 +1,38 @@
+/*
+ Copyright 2008 Matthias Georgi. All rights reserved.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is xsd4mxml.
+
+ The Initial Developer of the Original Code is Ali Mansuroglu.
+ Portions created by the Initial Developer are Copyright (C) 2008
+ Ali Mansuroglu. All Rights Reserved.
+
+*/
+
+package {
+
+ public class Attribute {
+ public var name : String;
+ public var type : String;
+
+ public function Attribute(name: String, type: String) {
+ this.name = name;
+ this.type = type;
+ }
+
+ public function toString() : String {
+ return " attribute " + name + " { " + type + " }?";
+ }
+ }
+
+}
205 Element.as
@@ -0,0 +1,205 @@
+/*
+ Copyright 2008 Matthias Georgi. All rights reserved.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is xsd4mxml.
+
+ The Initial Developer of the Original Code is Ali Mansuroglu.
+ Portions created by the Initial Developer are Copyright (C) 2008
+ Ali Mansuroglu. All Rights Reserved.
+
+*/
+
+package {
+ import flash.utils.*;
+
+ import mx.controls.Alert;
+ import mx.core.*;
+
+ public class Element {
+ public var name : String;
+ public var container : Boolean;
+ public var attributes : Array = new Array();
+ public var description : XML;
+ public var classReference : Class;
+
+ public function Element(name : String, attributes : Array = null) {
+ this.name = name;
+
+ addAttribute("implements", "text");
+
+ if (attributes) {
+ for each (var attr : String in attributes) {
+ this.addAttribute(attr, "text");
+ }
+ }
+ }
+
+ public function readDefinition(className : String) : void {
+ classReference = getDefinitionByName(className) as Class;
+ description = describeType(classReference);
+ container = (description..extendsClass.(@type == "mx.core::Container") != undefined);
+
+ for each (var property : XML in description..accessor) {
+ var propertyName : String = property.@name;
+ if(propertyName.charAt(0) != '$' && propertyName.charAt(0) != '_') {
+ if (property.@access != "readonly") {
+ addAttribute(propertyName, xsdType(property.@type));
+ }
+ }
+ }
+
+ for each (var variable : XML in description..variable) {
+ if(variable.@name.charAt(0) != '$' && variable.@name.charAt(0) != '_') {
+ addAttribute(variable.@name, xsdType(variable.@type));
+ }
+ }
+
+ for each (var metadata : XML in description..metadata) {
+ addMetadata(metadata);
+ }
+
+ addInheritedMetadata(classReference);
+ }
+
+ public function toString() : String {
+ var result : String = "";
+
+ result += " " + name + " = element " + name + " {\n";
+
+ if (container) {
+ result += " any*,\n";
+ }
+
+ result += attributes.join(",\n") + "\n";
+ result += " }\n";
+
+ return result;
+ }
+
+ public function addAttribute(name : String, type : String) : void {
+ attributes.push(new Attribute(name, type));
+ }
+
+ public static function xsdType(type : String) : String {
+ switch (type) {
+ case "Boolean": return "xsd:boolean";
+ case "String": return "xsd:string";
+ case "int":
+ case "uint": return "xsd:decimal";
+ case "Number": return "xsd:float";
+ }
+ return "text";
+ }
+
+ public function addMetadata(metadata : XML) : void {
+ if (metadata.@name == "Event" || metadata.@name == "Effect" || metadata.@name == "Style") {
+ var name : String = metadata.arg.(@key == "name").@value;
+ var type : String = metadata.arg.(@key == "type").@value;
+ var enum : String = metadata.arg.(@key == "enumeration").@value;
+
+ if (enum) {
+ var list : Array = [];
+ for (var s : String in enum.split(',')) {
+ list.push('"' + s + '"')
+ }
+ addAttribute(name, list.join(' | '));
+ }
+ else {
+ addAttribute(name, xsdType(type));
+ }
+ }
+ }
+
+ public function addInheritedMetadata(classReference : Class) : void {
+ while(true) {
+ var qualifiedSuperclassName : String = getQualifiedSuperclassName(classReference);
+
+ if(qualifiedSuperclassName == null) {
+ break;
+ }
+
+ classReference = getDefinitionByName(qualifiedSuperclassName) as Class;
+
+ if(classReference == null) {
+ break;
+ }
+
+ var description : XML = describeType(classReference);
+
+ for each(var metadata : XML in description..metadata) {
+ addMetadata(metadata);
+ }
+ }
+ }
+
+ public static function createComponentElements(components : XML) : Array {
+ var result : Array = new Array();
+
+ for each(var component : XML in components.component) {
+ try {
+ var element : Element = new Element(component.@name);
+ element.readDefinition(component.@className);
+ result.push(element);
+ }
+ catch (error : Error) {
+ trace(error);
+ // Alert.show(error.message);
+ }
+ }
+
+ return result;
+ }
+
+ public static function createDescription(components : XML) : String {
+ var elements : Array = createComponentElements(components);
+
+ var result : String = "";
+
+ for each (var element : Element in elements) {
+ result += String(element.description);
+ }
+
+ return result;
+ }
+
+ private static function createMxmlElements() : Array {
+ return [
+ new Element("Binding", ["id", "source", "destination"]),
+ new Element("Component", ["id", "className"]),
+ new Element("Metadata", ["id"]),
+ new Element("Model", ["id", "source"]),
+ new Element("Script", ["id", "source"]),
+ new Element("Style", ["id", "source"]),
+ new Element("XML", ["id", "source", "format"]),
+ new Element("XMLList", ["id"])
+ ];
+ }
+
+ public static function createSchema(components : XML) : String {
+ var elements : Array = createComponentElements(components).concat(createMxmlElements());
+ var names : Array = elements.map(function(e:Element, ...rest):String { return e.name; });
+ var result : String = "";
+
+ result += "default namespace = \"http://www.adobe.com/2006/mxml\"\n";
+ result += "grammar {\n";
+ result += elements.join("\n");
+ result += "\n";
+ result += " any = " + names.join("\n |") + "\n";
+ result += " start = Application\n";
+ result += "}\n";
+
+ return result;
+ }
+
+ }
+}
470 LICENSE
@@ -0,0 +1,470 @@
+ MOZILLA PUBLIC LICENSE
+ Version 1.1
+
+ ---------------
+
+1. Definitions.
+
+ 1.0.1. "Commercial Use" means distribution or otherwise making the
+ Covered Code available to a third party.
+
+ 1.1. "Contributor" means each entity that creates or contributes to
+ the creation of Modifications.
+
+ 1.2. "Contributor Version" means the combination of the Original
+ Code, prior Modifications used by a Contributor, and the Modifications
+ made by that particular Contributor.
+
+ 1.3. "Covered Code" means the Original Code or Modifications or the
+ combination of the Original Code and Modifications, in each case
+ including portions thereof.
+
+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally
+ accepted in the software development community for the electronic
+ transfer of data.
+
+ 1.5. "Executable" means Covered Code in any form other than Source
+ Code.
+
+ 1.6. "Initial Developer" means the individual or entity identified
+ as the Initial Developer in the Source Code notice required by Exhibit
+ A.
+
+ 1.7. "Larger Work" means a work which combines Covered Code or
+ portions thereof with code not governed by the terms of this License.
+
+ 1.8. "License" means this document.
+
+ 1.8.1. "Licensable" means having the right to grant, to the maximum
+ extent possible, whether at the time of the initial grant or
+ subsequently acquired, any and all of the rights conveyed herein.
+
+ 1.9. "Modifications" means any addition to or deletion from the
+ substance or structure of either the Original Code or any previous
+ Modifications. When Covered Code is released as a series of files, a
+ Modification is:
+ A. Any addition to or deletion from the contents of a file
+ containing Original Code or previous Modifications.
+
+ B. Any new file that contains any part of the Original Code or
+ previous Modifications.
+
+ 1.10. "Original Code" means Source Code of computer software code
+ which is described in the Source Code notice required by Exhibit A as
+ Original Code, and which, at the time of its release under this
+ License is not already Covered Code governed by this License.
+
+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or
+ hereafter acquired, including without limitation, method, process,
+ and apparatus claims, in any patent Licensable by grantor.
+
+ 1.11. "Source Code" means the preferred form of the Covered Code for
+ making modifications to it, including all modules it contains, plus
+ any associated interface definition files, scripts used to control
+ compilation and installation of an Executable, or source code
+ differential comparisons against either the Original Code or another
+ well known, available Covered Code of the Contributor's choice. The
+ Source Code can be in a compressed or archival form, provided the
+ appropriate decompression or de-archiving software is widely available
+ for no charge.
+
+ 1.12. "You" (or "Your") means an individual or a legal entity
+ exercising rights under, and complying with all of the terms of, this
+ License or a future version of this License issued under Section 6.1.
+ For legal entities, "You" includes any entity which controls, is
+ controlled by, or is under common control with You. For purposes of
+ this definition, "control" means (a) the power, direct or indirect,
+ to cause the direction or management of such entity, whether by
+ contract or otherwise, or (b) ownership of more than fifty percent
+ (50%) of the outstanding shares or beneficial ownership of such
+ entity.
+
+2. Source Code License.
+
+ 2.1. The Initial Developer Grant.
+ The Initial Developer hereby grants You a world-wide, royalty-free,
+ non-exclusive license, subject to third party intellectual property
+ claims:
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Initial Developer to use, reproduce,
+ modify, display, perform, sublicense and distribute the Original
+ Code (or portions thereof) with or without Modifications, and/or
+ as part of a Larger Work; and
+
+ (b) under Patents Claims infringed by the making, using or
+ selling of Original Code, to make, have made, use, practice,
+ sell, and offer for sale, and/or otherwise dispose of the
+ Original Code (or portions thereof).
+
+ (c) the licenses granted in this Section 2.1(a) and (b) are
+ effective on the date Initial Developer first distributes
+ Original Code under the terms of this License.
+
+ (d) Notwithstanding Section 2.1(b) above, no patent license is
+ granted: 1) for code that You delete from the Original Code; 2)
+ separate from the Original Code; or 3) for infringements caused
+ by: i) the modification of the Original Code or ii) the
+ combination of the Original Code with other software or devices.
+
+ 2.2. Contributor Grant.
+ Subject to third party intellectual property claims, each Contributor
+ hereby grants You a world-wide, royalty-free, non-exclusive license
+
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Contributor, to use, reproduce, modify,
+ display, perform, sublicense and distribute the Modifications
+ created by such Contributor (or portions thereof) either on an
+ unmodified basis, with other Modifications, as Covered Code
+ and/or as part of a Larger Work; and
+
+ (b) under Patent Claims infringed by the making, using, or
+ selling of Modifications made by that Contributor either alone
+ and/or in combination with its Contributor Version (or portions
+ of such combination), to make, use, sell, offer for sale, have
+ made, and/or otherwise dispose of: 1) Modifications made by that
+ Contributor (or portions thereof); and 2) the combination of
+ Modifications made by that Contributor with its Contributor
+ Version (or portions of such combination).
+
+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+ effective on the date Contributor first makes Commercial Use of
+ the Covered Code.
+
+ (d) Notwithstanding Section 2.2(b) above, no patent license is
+ granted: 1) for any code that Contributor has deleted from the
+ Contributor Version; 2) separate from the Contributor Version;
+ 3) for infringements caused by: i) third party modifications of
+ Contributor Version or ii) the combination of Modifications made
+ by that Contributor with other software (except as part of the
+ Contributor Version) or other devices; or 4) under Patent Claims
+ infringed by Covered Code in the absence of Modifications made by
+ that Contributor.
+
+3. Distribution Obligations.
+
+ 3.1. Application of License.
+ The Modifications which You create or to which You contribute are
+ governed by the terms of this License, including without limitation
+ Section 2.2. The Source Code version of Covered Code may be
+ distributed only under the terms of this License or a future version
+ of this License released under Section 6.1, and You must include a
+ copy of this License with every copy of the Source Code You
+ distribute. You may not offer or impose any terms on any Source Code
+ version that alters or restricts the applicable version of this
+ License or the recipients' rights hereunder. However, You may include
+ an additional document offering the additional rights described in
+ Section 3.5.
+
+ 3.2. Availability of Source Code.
+ Any Modification which You create or to which You contribute must be
+ made available in Source Code form under the terms of this License
+ either on the same media as an Executable version or via an accepted
+ Electronic Distribution Mechanism to anyone to whom you made an
+ Executable version available; and if made available via Electronic
+ Distribution Mechanism, must remain available for at least twelve (12)
+ months after the date it initially became available, or at least six
+ (6) months after a subsequent version of that particular Modification
+ has been made available to such recipients. You are responsible for
+ ensuring that the Source Code version remains available even if the
+ Electronic Distribution Mechanism is maintained by a third party.
+
+ 3.3. Description of Modifications.
+ You must cause all Covered Code to which You contribute to contain a
+ file documenting the changes You made to create that Covered Code and
+ the date of any change. You must include a prominent statement that
+ the Modification is derived, directly or indirectly, from Original
+ Code provided by the Initial Developer and including the name of the
+ Initial Developer in (a) the Source Code, and (b) in any notice in an
+ Executable version or related documentation in which You describe the
+ origin or ownership of the Covered Code.
+
+ 3.4. Intellectual Property Matters
+ (a) Third Party Claims.
+ If Contributor has knowledge that a license under a third party's
+ intellectual property rights is required to exercise the rights
+ granted by such Contributor under Sections 2.1 or 2.2,
+ Contributor must include a text file with the Source Code
+ distribution titled "LEGAL" which describes the claim and the
+ party making the claim in sufficient detail that a recipient will
+ know whom to contact. If Contributor obtains such knowledge after
+ the Modification is made available as described in Section 3.2,
+ Contributor shall promptly modify the LEGAL file in all copies
+ Contributor makes available thereafter and shall take other steps
+ (such as notifying appropriate mailing lists or newsgroups)
+ reasonably calculated to inform those who received the Covered
+ Code that new knowledge has been obtained.
+
+ (b) Contributor APIs.
+ If Contributor's Modifications include an application programming
+ interface and Contributor has knowledge of patent licenses which
+ are reasonably necessary to implement that API, Contributor must
+ also include this information in the LEGAL file.
+
+ (c) Representations.
+ Contributor represents that, except as disclosed pursuant to
+ Section 3.4(a) above, Contributor believes that Contributor's
+ Modifications are Contributor's original creation(s) and/or
+ Contributor has sufficient rights to grant the rights conveyed by
+ this License.
+
+ 3.5. Required Notices.
+ You must duplicate the notice in Exhibit A in each file of the Source
+ Code. If it is not possible to put such notice in a particular Source
+ Code file due to its structure, then You must include such notice in a
+ location (such as a relevant directory) where a user would be likely
+ to look for such a notice. If You created one or more Modification(s)
+ You may add your name as a Contributor to the notice described in
+ Exhibit A. You must also duplicate this License in any documentation
+ for the Source Code where You describe recipients' rights or ownership
+ rights relating to Covered Code. You may choose to offer, and to
+ charge a fee for, warranty, support, indemnity or liability
+ obligations to one or more recipients of Covered Code. However, You
+ may do so only on Your own behalf, and not on behalf of the Initial
+ Developer or any Contributor. You must make it absolutely clear than
+ any such warranty, support, indemnity or liability obligation is
+ offered by You alone, and You hereby agree to indemnify the Initial
+ Developer and every Contributor for any liability incurred by the
+ Initial Developer or such Contributor as a result of warranty,
+ support, indemnity or liability terms You offer.
+
+ 3.6. Distribution of Executable Versions.
+ You may distribute Covered Code in Executable form only if the
+ requirements of Section 3.1-3.5 have been met for that Covered Code,
+ and if You include a notice stating that the Source Code version of
+ the Covered Code is available under the terms of this License,
+ including a description of how and where You have fulfilled the
+ obligations of Section 3.2. The notice must be conspicuously included
+ in any notice in an Executable version, related documentation or
+ collateral in which You describe recipients' rights relating to the
+ Covered Code. You may distribute the Executable version of Covered
+ Code or ownership rights under a license of Your choice, which may
+ contain terms different from this License, provided that You are in
+ compliance with the terms of this License and that the license for the
+ Executable version does not attempt to limit or alter the recipient's
+ rights in the Source Code version from the rights set forth in this
+ License. If You distribute the Executable version under a different
+ license You must make it absolutely clear that any terms which differ
+ from this License are offered by You alone, not by the Initial
+ Developer or any Contributor. You hereby agree to indemnify the
+ Initial Developer and every Contributor for any liability incurred by
+ the Initial Developer or such Contributor as a result of any such
+ terms You offer.
+
+ 3.7. Larger Works.
+ You may create a Larger Work by combining Covered Code with other code
+ not governed by the terms of this License and distribute the Larger
+ Work as a single product. In such a case, You must make sure the
+ requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+ If it is impossible for You to comply with any of the terms of this
+ License with respect to some or all of the Covered Code due to
+ statute, judicial order, or regulation then You must: (a) comply with
+ the terms of this License to the maximum extent possible; and (b)
+ describe the limitations and the code they affect. Such description
+ must be included in the LEGAL file described in Section 3.4 and must
+ be included with all distributions of the Source Code. Except to the
+ extent prohibited by statute or regulation, such description must be
+ sufficiently detailed for a recipient of ordinary skill to be able to
+ understand it.
+
+5. Application of this License.
+
+ This License applies to code to which the Initial Developer has
+ attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+ 6.1. New Versions.
+ Netscape Communications Corporation ("Netscape") may publish revised
+ and/or new versions of the License from time to time. Each version
+ will be given a distinguishing version number.
+
+ 6.2. Effect of New Versions.
+ Once Covered Code has been published under a particular version of the
+ License, You may always continue to use it under the terms of that
+ version. You may also choose to use such Covered Code under the terms
+ of any subsequent version of the License published by Netscape. No one
+ other than Netscape has the right to modify the terms applicable to
+ Covered Code created under this License.
+
+ 6.3. Derivative Works.
+ If You create or use a modified version of this License (which you may
+ only do in order to apply it to code which is not already Covered Code
+ governed by this License), You must (a) rename Your license so that
+ the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+ "MPL", "NPL" or any confusingly similar phrase do not appear in your
+ license (except to note that your license differs from this License)
+ and (b) otherwise make it clear that Your version of the license
+ contains terms which differ from the Mozilla Public License and
+ Netscape Public License. (Filling in the name of the Initial
+ Developer, Original Code or Contributor in the notice described in
+ Exhibit A shall not of themselves be deemed to be modifications of
+ this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+ 8.1. This License and the rights granted hereunder will terminate
+ automatically if You fail to comply with terms herein and fail to cure
+ such breach within 30 days of becoming aware of the breach. All
+ sublicenses to the Covered Code which are properly granted shall
+ survive any termination of this License. Provisions which, by their
+ nature, must remain in effect beyond the termination of this License
+ shall survive.
+
+ 8.2. If You initiate litigation by asserting a patent infringement
+ claim (excluding declatory judgment actions) against Initial Developer
+ or a Contributor (the Initial Developer or Contributor against whom
+ You file such action is referred to as "Participant") alleging that:
+
+ (a) such Participant's Contributor Version directly or indirectly
+ infringes any patent, then any and all rights granted by such
+ Participant to You under Sections 2.1 and/or 2.2 of this License
+ shall, upon 60 days notice from Participant terminate prospectively,
+ unless if within 60 days after receipt of notice You either: (i)
+ agree in writing to pay Participant a mutually agreeable reasonable
+ royalty for Your past and future use of Modifications made by such
+ Participant, or (ii) withdraw Your litigation claim with respect to
+ the Contributor Version against such Participant. If within 60 days
+ of notice, a reasonable royalty and payment arrangement are not
+ mutually agreed upon in writing by the parties or the litigation claim
+ is not withdrawn, the rights granted by Participant to You under
+ Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+ the 60 day notice period specified above.
+
+ (b) any software, hardware, or device, other than such Participant's
+ Contributor Version, directly or indirectly infringes any patent, then
+ any rights granted to You by such Participant under Sections 2.1(b)
+ and 2.2(b) are revoked effective as of the date You first made, used,
+ sold, distributed, or had made, Modifications made by that
+ Participant.
+
+ 8.3. If You assert a patent infringement claim against Participant
+ alleging that such Participant's Contributor Version directly or
+ indirectly infringes any patent where such claim is resolved (such as
+ by license or settlement) prior to the initiation of patent
+ infringement litigation, then the reasonable value of the licenses
+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
+ into account in determining the amount or value of any payment or
+ license.
+
+ 8.4. In the event of termination under Sections 8.1 or 8.2 above,
+ all end user license agreements (excluding distributors and resellers)
+ which have been validly granted by You or any distributor hereunder
+ prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+ ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+ THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+ The Covered Code is a "commercial item," as that term is defined in
+ 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+ software" and "commercial computer software documentation," as such
+ terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+ C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+ all U.S. Government End Users acquire Covered Code with only those
+ rights set forth herein.
+
+11. MISCELLANEOUS.
+
+ This License represents the complete agreement concerning subject
+ matter hereof. If any provision of this License is held to be
+ unenforceable, such provision shall be reformed only to the extent
+ necessary to make it enforceable. This License shall be governed by
+ California law provisions (except to the extent applicable law, if
+ any, provides otherwise), excluding its conflict-of-law provisions.
+ With respect to disputes in which at least one party is a citizen of,
+ or an entity chartered or registered to do business in the United
+ States of America, any litigation relating to this License shall be
+ subject to the jurisdiction of the Federal Courts of the Northern
+ District of California, with venue lying in Santa Clara County,
+ California, with the losing party responsible for costs, including
+ without limitation, court costs and reasonable attorneys' fees and
+ expenses. The application of the United Nations Convention on
+ Contracts for the International Sale of Goods is expressly excluded.
+ Any law or regulation which provides that the language of a contract
+ shall be construed against the drafter shall not apply to this
+ License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+ As between Initial Developer and the Contributors, each party is
+ responsible for claims and damages arising, directly or indirectly,
+ out of its utilization of rights under this License and You agree to
+ work with Initial Developer and Contributors to distribute such
+ responsibility on an equitable basis. Nothing herein is intended or
+ shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+ Initial Developer may designate portions of the Covered Code as
+ "Multiple-Licensed". "Multiple-Licensed" means that the Initial
+ Developer permits you to utilize portions of the Covered Code under
+ Your choice of the NPL or the alternative licenses, if any, specified
+ by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is ______________________________________.
+
+ The Initial Developer of the Original Code is ________________________.
+ Portions created by ______________________ are Copyright (C) ______
+ _______________________. All Rights Reserved.
+
+ Contributor(s): ______________________________________.
+
+ Alternatively, the contents of this file may be used under the terms
+ of the _____ license (the "[___] License"), in which case the
+ provisions of [______] License are applicable instead of those
+ above. If you wish to allow use of your version of this file only
+ under the terms of the [____] License and not to allow others to use
+ your version of this file under the MPL, indicate your decision by
+ deleting the provisions above and replace them with the notice and
+ other provisions required by the [___] License. If you do not delete
+ the provisions above, a recipient may use your version of this file
+ under either the MPL or the [___] License."
+
+ [NOTE: The text of this Exhibit A may differ slightly from the text of
+ the notices in the Source Code files of the Original Code. You should
+ use the text of this Exhibit A rather than the text found in the
+ Original Code Source Code for Your Modifications.]
+
33 README.md
@@ -0,0 +1,33 @@
+Relax NG Schema Creator for Adobe Flex 3
+========================================
+
+This Flex application allows you to generate an Relax NG compact
+schema by extracting the needed information by reflection at runtime.
+
+The application reads the classes found in `mxml-manifest.xml` and
+asks the Flash VM about attributes, events and styles a Flex component
+class provides.
+
+## Build
+
+* Install FLEX 3 SDK and Ant.
+
+* Configure the location of the SDK in the build.properties file.
+
+* Run Ant: `ant`
+
+
+## Running the Creator
+
+Just start SchemaCreator.swf, on a Windows System you can doubleclick
+the file, on a Linux System you can do this:
+
+ flashplayer SchemaCreator.swf
+
+
+## Credits
+
+The original [XSD Schema creator][1] was developed by Ali Mansuroglu
+<mansurogluali@gmail.com>.
+
+[1]: http://code.google.com/p/xsd4mxml/
37 SchemaCreator.mxml
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+
+<!--
+ Copyright 2008 Matthias Georgi. All rights reserved.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is xsd4mxml.
+
+ The Initial Developer of the Original Code is Ali Mansuroglu.
+ Portions created by the Initial Developer are Copyright (C) 2008
+ Ali Mansuroglu. All Rights Reserved.
+
+-->
+
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="onCreationComplete()">
+ <mx:XML id="components" source="mxml-manifest.xml" />
+ <mx:Script>
+ <![CDATA[
+ import mx.controls.Alert;
+ private function onCreationComplete() : void {
+ result.text = Element.createSchema(components);
+ }
+ ]]>
+ </mx:Script>
+ <mx:Panel percentWidth="100" percentHeight="100">
+ <mx:TextArea id="result" percentWidth="100" percentHeight="100" />
+ </mx:Panel>
+</mx:Application>
BIN  SchemaCreator.swf
Binary file not shown
2  build.properties
@@ -0,0 +1,2 @@
+FLEX_LIBS=/opt/flexbuilder/sdks/3.0.0/frameworks/libs
+FLEX_COMPILER=mxmlc
46 build.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+
+<!--
+ Copyright 2008 Matthias Georgi. All rights reserved.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is xsd4mxml.
+
+ The Initial Developer of the Original Code is Ali Mansuroglu.
+ Portions created by the Initial Developer are Copyright (C) 2008
+ Ali Mansuroglu. All Rights Reserved.
+
+-->
+
+<project name="iska" default="compile" basedir=".">
+
+ <property file="build.properties" />
+
+ <target name="compile">
+ <echo message="compile" />
+ <exec executable="${FLEX_COMPILER}" failonerror="true">
+ <!-- include-libraries -->
+ <arg line="-output 'SchemaCreator.swf'" />
+ <arg line="-include-libraries ${FLEX_LIBS}/flex.swc" />
+ <arg line="-include-libraries ${FLEX_LIBS}/framework.swc" />
+ <arg line="-include-libraries ${FLEX_LIBS}/player/playerglobal.swc" />
+ <arg line="-include-libraries ${FLEX_LIBS}/rpc.swc" />
+ <!-- keep-as3-metadata -->
+ <arg line="-keep-as3-metadata Event" />
+ <arg line="-keep-as3-metadata Effect" />
+ <arg line="-keep-as3-metadata Style" />
+ <arg line="-use-network=false" />
+ <arg line="-- SchemaCreator.mxml" />
+ </exec>
+ </target>
+
+</project>
18,923 flex3.rnc
18,923 additions, 0 deletions not shown
261 mxml-manifest.xml
@@ -0,0 +1,261 @@
+<?xml version="1.0"?>
+
+<!--
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright 2005-2007 Adobe Systems Incorporated
+ All Rights Reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the license agreement accompanying it.
+
+-->
+
+<componentPackage>
+
+ <!-- airframework -->
+ <!-- <component name="FileSystemComboBox" className="mx.controls.FileSystemComboBox"/> -->
+ <!-- <component name="FileSystemDataGrid" className="mx.controls.FileSystemDataGrid"/> -->
+ <!-- <component name="FileSystemHistoryButton" className="mx.controls.FileSystemHistoryButton"/> -->
+ <!-- <component name="FileSystemList" className="mx.controls.FileSystemList"/> -->
+ <!-- <component name="FileSystemTree" className="mx.controls.FileSystemTree"/> -->
+ <!-- <component name="HTML" className="mx.controls.HTML"/> -->
+ <!-- <component name="Window" className="mx.core.Window"/> -->
+ <!-- <component name="WindowedApplication" className="mx.core.WindowedApplication"/> -->
+
+ <!-- charts -->
+ <!-- <component name="AreaChart" className="mx.charts.AreaChart"/> -->
+ <!-- <component name="AreaRenderer" className="mx.charts.renderers.AreaRenderer"/> -->
+ <!-- <component name="AreaSeries" className="mx.charts.series.AreaSeries"/> -->
+ <!-- <component name="AreaSet" className="mx.charts.series.AreaSet"/> -->
+ <!-- <component name="AxisRenderer" className="mx.charts.AxisRenderer"/> -->
+ <!-- <component name="BarChart" className="mx.charts.BarChart"/> -->
+ <!-- <component name="BarSeries" className="mx.charts.series.BarSeries"/> -->
+ <!-- <component name="BarSet" className="mx.charts.series.BarSet"/> -->
+ <!-- <component name="BoxItemRenderer" className="mx.charts.renderers.BoxItemRenderer"/> -->
+ <!-- <component name="BubbleChart" className="mx.charts.BubbleChart"/> -->
+ <!-- <component name="BubbleSeries" className="mx.charts.series.BubbleSeries"/> -->
+ <!-- <component name="CandlestickChart" className="mx.charts.CandlestickChart"/> -->
+ <!-- <component name="CandlestickItemRenderer" className="mx.charts.renderers.CandlestickItemRenderer"/> -->
+ <!-- <component name="CandlestickSeries" className="mx.charts.series.CandlestickSeries"/> -->
+ <!-- <component name="CartesianChart" className="mx.charts.chartClasses.CartesianChart"/> -->
+ <!-- <component name="CategoryAxis" className="mx.charts.CategoryAxis"/> -->
+ <!-- <component name="ChartBase" className="mx.charts.chartClasses.ChartBase"/> -->
+ <!-- <component name="CircleItemRenderer" className="mx.charts.renderers.CircleItemRenderer"/> -->
+ <!-- <component name="ColumnChart" className="mx.charts.ColumnChart"/> -->
+ <!-- <component name="ColumnSeries" className="mx.charts.series.ColumnSeries"/> -->
+ <!-- <component name="ColumnSet" className="mx.charts.series.ColumnSet"/> -->
+ <!-- <component name="CrossItemRenderer" className="mx.charts.renderers.CrossItemRenderer"/> -->
+ <!-- <component name="DateTimeAxis" className="mx.charts.DateTimeAxis"/> -->
+ <!-- <component name="DiamondItemRenderer" className="mx.charts.renderers.DiamondItemRenderer"/> -->
+ <!-- <component name="GridLines" className="mx.charts.GridLines"/> -->
+ <!-- <component name="HLOCChart" className="mx.charts.HLOCChart"/> -->
+ <!-- <component name="HLOCItemRenderer" className="mx.charts.renderers.HLOCItemRenderer"/> -->
+ <!-- <component name="HLOCSeries" className="mx.charts.series.HLOCSeries"/> -->
+ <!-- <component name="Legend" className="mx.charts.Legend"/> -->
+ <!-- <component name="LegendItem" className="mx.charts.LegendItem"/> -->
+ <!-- <component name="LinearAxis" className="mx.charts.LinearAxis"/> -->
+ <!-- <component name="LineChart" className="mx.charts.LineChart"/> -->
+ <!-- <component name="LineRenderer" className="mx.charts.renderers.LineRenderer"/> -->
+ <!-- <component name="LineSeries" className="mx.charts.series.LineSeries"/> -->
+ <!-- <component name="LogAxis" className="mx.charts.LogAxis"/> -->
+ <!-- <component name="PieChart" className="mx.charts.PieChart"/> -->
+ <!-- <component name="PieSeries" className="mx.charts.series.PieSeries"/> -->
+ <!-- <component name="PlotChart" className="mx.charts.PlotChart"/> -->
+ <!-- <component name="PlotSeries" className="mx.charts.series.PlotSeries"/> -->
+ <!-- <component name="PolarChart" className="mx.charts.chartClasses.PolarChart"/> -->
+ <!-- <component name="SeriesEffect" className="mx.charts.effects.SeriesEffect"/> -->
+ <!-- <component name="SeriesInterpolate" className="mx.charts.effects.SeriesInterpolate"/> -->
+ <!-- <component name="SeriesSlide" className="mx.charts.effects.SeriesSlide"/> -->
+ <!-- <component name="SeriesZoom" className="mx.charts.effects.SeriesZoom"/> -->
+ <!-- <component name="ShadowBoxItemRenderer" className="mx.charts.renderers.ShadowBoxItemRenderer"/> -->
+ <!-- <component name="ShadowLineRenderer" className="mx.charts.renderers.ShadowLineRenderer"/> -->
+ <!-- <component name="TriangleItemRenderer" className="mx.charts.renderers.TriangleItemRenderer"/> -->
+ <!-- <component name="WedgeItemRenderer" className="mx.charts.renderers.WedgeItemRenderer"/> -->
+
+ <!-- fds -->
+ <component name="DataService" className="mx.data.mxml.DataService"/>
+
+ <!-- framework -->
+ <component name="Accordion" className="mx.containers.Accordion"/>
+ <component name="AddChild" className="mx.states.AddChild"/>
+ <component name="AddChildAction" className="mx.effects.AddChildAction"/>
+ <component name="AddItemAction" className="mx.effects.AddItemAction"/>
+ <component name="AnimateProperty" className="mx.effects.AnimateProperty"/>
+ <component name="Application" className="mx.core.Application"/>
+ <component name="ApplicationControlBar" className="mx.containers.ApplicationControlBar"/>
+ <component name="Array" className="Array" lookupOnly="true"/>
+ <component name="ArrayCollection" className="mx.collections.ArrayCollection"/>
+ <component name="BevelFilter" className="flash.filters.BevelFilter" lookupOnly="true"/>
+ <component name="BitmapFill" className="mx.graphics.BitmapFill"/>
+ <component name="Blur" className="mx.effects.Blur"/>
+ <component name="BlurFilter" className="flash.filters.BlurFilter" lookupOnly="true"/>
+ <component name="Boolean" className="Boolean" lookupOnly="true"/>
+ <component name="Box" className="mx.containers.Box"/>
+ <component name="Button" className="mx.controls.Button"/>
+ <component name="ButtonBar" className="mx.controls.ButtonBar"/>
+ <component name="Canvas" className="mx.containers.Canvas"/>
+ <component name="CheckBox" className="mx.controls.CheckBox"/>
+ <component name="Class" className="Class" lookupOnly="true"/>
+ <component name="ColorMatrixFilter" className="flash.filters.ColorMatrixFilter" lookupOnly="true"/>
+ <component name="ColorPicker" className="mx.controls.ColorPicker"/>
+ <component name="ComboBox" className="mx.controls.ComboBox"/>
+ <component name="ConstraintColumn" className="mx.containers.utilityClasses.ConstraintColumn"/>
+ <component name="ConstraintRow" className="mx.containers.utilityClasses.ConstraintRow"/>
+ <component name="Container" className="mx.core.Container"/>
+ <component name="ControlBar" className="mx.containers.ControlBar"/>
+ <component name="ConvolutionFilter" className="flash.filters.ConvolutionFilter" lookupOnly="true"/>
+ <component name="CreditCardValidator" className="mx.validators.CreditCardValidator"/>
+ <component name="CurrencyFormatter" className="mx.formatters.CurrencyFormatter"/>
+ <component name="CurrencyValidator" className="mx.validators.CurrencyValidator"/>
+ <component name="DataGrid" className="mx.controls.DataGrid"/>
+ <component name="DataGridColumn" className="mx.controls.dataGridClasses.DataGridColumn"/>
+ <component name="DataGridItemRenderer" className="mx.controls.dataGridClasses.DataGridItemRenderer"/>
+ <component name="Date" className="Date" lookupOnly="true"/>
+ <component name="DateChooser" className="mx.controls.DateChooser"/>
+ <component name="DateField" className="mx.controls.DateField"/>
+ <component name="DateFormatter" className="mx.formatters.DateFormatter"/>
+ <component name="DateValidator" className="mx.validators.DateValidator"/>
+ <component name="DefaultListEffect" className="mx.effects.DefaultListEffect"/>
+ <component name="DefaultTileListEffect" className="mx.effects.DefaultTileListEffect"/>
+ <component name="DisplacementMapFilter" className="flash.filters.DisplacementMapFilter" lookupOnly="true"/>
+ <component name="Dissolve" className="mx.effects.Dissolve"/>
+ <component name="DividedBox" className="mx.containers.DividedBox"/>
+ <component name="DropShadowFilter" className="flash.filters.DropShadowFilter" lookupOnly="true"/>
+ <component name="EffectTargetFilter" className="mx.effects.EffectTargetFilter"/>
+ <component name="EmailValidator" className="mx.validators.EmailValidator"/>
+ <component name="Fade" className="mx.effects.Fade"/>
+ <component name="Form" className="mx.containers.Form"/>
+ <component name="FormHeading" className="mx.containers.FormHeading"/>
+ <component name="FormItem" className="mx.containers.FormItem"/>
+ <component name="Function" className="Function" lookupOnly="true"/>
+ <component name="Glow" className="mx.effects.Glow"/>
+ <component name="GlowFilter" className="flash.filters.GlowFilter" lookupOnly="true"/>
+ <component name="GradientBevelFilter" className="flash.filters.GradientBevelFilter" lookupOnly="true"/>
+ <component name="GradientEntry" className="mx.graphics.GradientEntry"/>
+ <component name="GradientGlowFilter" className="flash.filters.GradientGlowFilter" lookupOnly="true"/>
+ <component name="Grid" className="mx.containers.Grid"/>
+ <component name="GridItem" className="mx.containers.GridItem"/>
+ <component name="GridRow" className="mx.containers.GridRow"/>
+ <component name="HBox" className="mx.containers.HBox"/>
+ <component name="HDividedBox" className="mx.containers.HDividedBox"/>
+ <component name="HorizontalList" className="mx.controls.HorizontalList"/>
+ <component name="HRule" className="mx.controls.HRule"/>
+ <component name="HScrollBar" className="mx.controls.HScrollBar"/>
+ <component name="HSlider" className="mx.controls.HSlider"/>
+ <component name="Image" className="mx.controls.Image"/>
+ <component name="int" className="int" lookupOnly="true"/>
+ <component name="Iris" className="mx.effects.Iris"/>
+ <component name="Label" className="mx.controls.Label"/>
+ <component name="LinearGradient" className="mx.graphics.LinearGradient"/>
+ <component name="LinearGradientStroke" className="mx.graphics.LinearGradientStroke"/>
+ <component name="LinkBar" className="mx.controls.LinkBar"/>
+ <component name="LinkButton" className="mx.controls.LinkButton"/>
+ <component name="List" className="mx.controls.List"/>
+ <component name="ListCollectionView" className="mx.collections.ListCollectionView"/>
+ <component name="MaskEffect" className="mx.effects.MaskEffect"/>
+ <component name="Matrix" className="flash.geom.Matrix" lookupOnly="true"/>
+ <component name="MenuBar" className="mx.controls.MenuBar"/>
+ <component name="MiniDebugTarget" className="mx.logging.targets.MiniDebugTarget"/>
+ <component name="Module" className="mx.modules.Module"/>
+ <component name="ModuleLoader" className="mx.modules.ModuleLoader"/>
+ <component name="Move" className="mx.effects.Move"/>
+ <component name="Number" className="Number" lookupOnly="true"/>
+ <component name="NumberFormatter" className="mx.formatters.NumberFormatter"/>
+ <component name="NumberValidator" className="mx.validators.NumberValidator"/>
+ <component name="NumericStepper" className="mx.controls.NumericStepper"/>
+ <component name="Object" className="Object" lookupOnly="true"/>
+ <component name="Panel" className="mx.containers.Panel"/>
+ <component name="Parallel" className="mx.effects.Parallel"/>
+ <component name="Pause" className="mx.effects.Pause"/>
+ <component name="PhoneFormatter" className="mx.formatters.PhoneFormatter"/>
+ <component name="PhoneNumberValidator" className="mx.validators.PhoneNumberValidator"/>
+ <component name="Point" className="flash.geom.Point" lookupOnly="true"/>
+ <component name="PopUpButton" className="mx.controls.PopUpButton"/>
+ <component name="PopUpMenuButton" className="mx.controls.PopUpMenuButton"/>
+ <component name="PrintDataGrid" className="mx.printing.PrintDataGrid"/>
+ <component name="ProgressBar" className="mx.controls.ProgressBar"/>
+ <component name="RadialGradient" className="mx.graphics.RadialGradient"/>
+ <component name="RadioButton" className="mx.controls.RadioButton"/>
+ <component name="RadioButtonGroup" className="mx.controls.RadioButtonGroup"/>
+ <component name="RegExp" className="RegExp" lookupOnly="true"/>
+ <component name="RegExpValidator" className="mx.validators.RegExpValidator"/>
+ <component name="RemoveChild" className="mx.states.RemoveChild"/>
+ <component name="RemoveChildAction" className="mx.effects.RemoveChildAction"/>
+ <component name="RemoveItemAction" className="mx.effects.RemoveItemAction"/>
+ <component name="Repeater" className="mx.core.Repeater"/>
+ <component name="Resize" className="mx.effects.Resize"/>
+ <component name="RichTextEditor" className="mx.controls.RichTextEditor"/>
+ <component name="Rotate" className="mx.effects.Rotate"/>
+ <component name="Sequence" className="mx.effects.Sequence"/>
+ <component name="SetEventHandler" className="mx.states.SetEventHandler"/>
+ <component name="SetProperty" className="mx.states.SetProperty"/>
+ <component name="SetPropertyAction" className="mx.effects.SetPropertyAction"/>
+ <component name="SetStyle" className="mx.states.SetStyle"/>
+ <component name="SetStyleAction" className="mx.effects.SetStyleAction"/>
+ <component name="SocialSecurityValidator" className="mx.validators.SocialSecurityValidator"/>
+ <component name="SolidColor" className="mx.graphics.SolidColor"/>
+ <component name="Sort" className="mx.collections.Sort"/>
+ <component name="SortField" className="mx.collections.SortField"/>
+ <component name="SoundEffect" className="mx.effects.SoundEffect"/>
+ <component name="Spacer" className="mx.controls.Spacer"/>
+ <component name="Sprite" className="flash.display.Sprite" lookupOnly="true"/>
+ <component name="State" className="mx.states.State"/>
+ <component name="String" className="String" lookupOnly="true"/>
+ <component name="StringValidator" className="mx.validators.StringValidator"/>
+ <component name="Stroke" className="mx.graphics.Stroke"/>
+ <component name="SWFLoader" className="mx.controls.SWFLoader"/>
+ <component name="TabBar" className="mx.controls.TabBar"/>
+ <component name="TabNavigator" className="mx.containers.TabNavigator"/>
+ <component name="Text" className="mx.controls.Text"/>
+ <component name="TextArea" className="mx.controls.TextArea"/>
+ <component name="TextInput" className="mx.controls.TextInput"/>
+ <component name="Tile" className="mx.containers.Tile"/>
+ <component name="TileList" className="mx.controls.TileList"/>
+ <component name="TitleWindow" className="mx.containers.TitleWindow"/>
+ <component name="ToggleButtonBar" className="mx.controls.ToggleButtonBar"/>
+ <component name="ToolBar" className="mx.controls.richTextEditorClasses.ToolBar"/>
+ <component name="TraceTarget" className="mx.logging.targets.TraceTarget"/>
+ <component name="Transform" className="geom.filters.Transform" lookupOnly="true"/>
+ <component name="Transition" className="mx.states.Transition"/>
+ <component name="Tree" className="mx.controls.Tree"/>
+ <component name="UIComponent" className="mx.core.UIComponent"/>
+ <component name="uint" className="uint" lookupOnly="true"/>
+ <component name="VBox" className="mx.containers.VBox"/>
+ <component name="VDividedBox" className="mx.containers.VDividedBox"/>
+ <component name="VideoDisplay" className="mx.controls.VideoDisplay"/>
+ <component name="ViewStack" className="mx.containers.ViewStack"/>
+ <component name="VRule" className="mx.controls.VRule"/>
+ <component name="VScrollBar" className="mx.controls.VScrollBar"/>
+ <component name="VSlider" className="mx.controls.VSlider"/>
+ <component name="Validator" className="mx.validators.Validator"/>
+ <component name="WipeDown" className="mx.effects.WipeDown"/>
+ <component name="WipeLeft" className="mx.effects.WipeLeft"/>
+ <component name="WipeRight" className="mx.effects.WipeRight"/>
+ <component name="WipeUp" className="mx.effects.WipeUp"/>
+ <component name="XMLListCollection" className="mx.collections.XMLListCollection"/>
+ <component name="ZipCodeFormatter" className="mx.formatters.ZipCodeFormatter"/>
+ <component name="ZipCodeValidator" className="mx.validators.ZipCodeValidator"/>
+ <component name="Zoom" className="mx.effects.Zoom"/>
+
+ <!-- rpc -->
+ <component name="AMFChannel" className="mx.messaging.channels.AMFChannel"/>
+ <component name="ChannelSet" className="mx.messaging.ChannelSet"/>
+ <component name="Consumer" className="mx.messaging.Consumer"/>
+ <component name="HTTPChannel" className="mx.messaging.channels.HTTPChannel"/>
+ <component name="HTTPService" className="mx.rpc.http.mxml.HTTPService"/>
+ <component name="Producer" className="mx.messaging.Producer"/>
+ <component name="RemoteObject" className="mx.rpc.remoting.mxml.RemoteObject"/>
+ <component name="RemoteObjectOperation" className="mx.rpc.remoting.mxml.Operation"/>
+ <component name="RTMPChannel" className="mx.messaging.channels.RTMPChannel"/>
+ <component name="SecureAMFChannel" className="mx.messaging.channels.SecureAMFChannel"/>
+ <component name="SecureStreamingAMFChannel" className="mx.messaging.channels.SecureStreamingAMFChannel"/>
+ <component name="SecureHTTPChannel" className="mx.messaging.channels.SecureHTTPChannel"/>
+ <component name="SecureStreamingHTTPChannel" className="mx.messaging.channels.SecureStreamingHTTPChannel"/>
+ <component name="SecureRTMPChannel" className="mx.messaging.channels.SecureRTMPChannel"/>
+ <component name="StreamingAMFChannel" className="mx.messaging.channels.StreamingAMFChannel"/>
+ <component name="StreamingHTTPChannel" className="mx.messaging.channels.StreamingHTTPChannel"/>
+ <component name="WebService" className="mx.rpc.soap.mxml.WebService"/>
+ <component name="WebServiceOperation" className="mx.rpc.soap.mxml.Operation"/>
+
+</componentPackage>
Please sign in to comment.
Something went wrong with that request. Please try again.