cd
mkdir -p apks
wget https://gist.githubusercontent.com/bryanjhv/f5b19a3622b8f1a2f9bcb31c315c3014/raw/copy.sh -O apks/copy
chmod +x apks/copy
Simple proof of concept for converting XSD schemas into pure Java classes at
runtime and by using reflection. It can be improved to, for example, build
intelligent JAX-RS console or GUI clients without knowledge of the domain model,
by querying application.wadl
and looking for the schema. The classes are
transpiled, compiled and appended to the path at runtime so they are always
updated. Other things missing is fetching the schema from network instead of a
file, not depending on JXC and Javax Tools, building a schema and creating an
automatic CLI client for it, between other tree of possibilities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get a private variable from any object. | |
* | |
* @param mixed $obj | |
* @param string $name | |
* @return mixed | |
*/ | |
function get_private_var($obj, $name) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-- | |
# MAIN MODULE -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | |
#++ | |
module Simplex | |
#-- | |
# UTILITIES -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | |
#++ | |
module Util |
NewerOlder