cliffmeyers / java2as Goto Github PK
View Code? Open in Web Editor NEWGenerate ActionScript transfer objects and service delegates from Java code.
Generate ActionScript transfer objects and service delegates from Java code.
Create a class which either
(1) Links all transfer object classes via
public static const var user:User;
or
(2) Uses registerClassAlias to achieve the same
registerClassAlias("com.foo.User", com.foo.User);
Inspect the list of dependencies and determine if classes are missing before generation even begins.
Right now we assume classes are in a folder like "target/classes"; need a way for JAR dependencies to be specified and class files detected in them
Match by superclass, interface or annotation
A lot of logic is being duplicated in the Mojos and Tasks that probably could live in Configuration. This is mostly around config class loading and type matcher config
Would be useful to be able to specify package names for type matching. Should support multiple, might need wildcard support...
Most of this should already be there but is probably missing the logic in TransferObjectMapper.
Add support for writing [ArrayElementType] metadata
Need a config property for each of these
Sometimes Java transfer objects implement interfaces. It may or may not be desirable to generate these interfaces.
Here is an example of what we're calling "property wrapping"
http://flexblog.faratasystems.com/2008/02/05/flex-local-datestime-transfer-issue
In this case, the code is fairly custom. But we should be able to support some arbitrary conversion of types where convenient
transient Date get/set, serialized as String (to support better TZ handling)
transient Number get/set/, serialized as Object (to support nullability)
Try to simplify this API or at least rename to something more reasonable
Sometimes Java classes are in the form of "User" but the Flex dev want "UserDto." This could be handled via a simple "prefix" and "suffix" config attributess but for max control we might want something like:
public interface NameCustomizer {
public String customize(String qualifiedName);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.