Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Quick start with Netbeans IDE News Project now has a MavenRepo ... jenabean uses Jena's flexible RDF/OWL api to persist java beans. It takes an unconventional approach to binding that is driven by the java object model rather than an OWL or RDF schema. jenabean is annotation ... [More] based and does not place any interface or extension requirements on your java object model. By default jenabean uses typical java bean conventions to derive RDF property URI’s, for example, the java bean property “name” would become RDF property “:name”. jenabean allows for explicit binding between an object property and a particular RDF property. (See Book.java for an example of binding arbitrary bean properties to the Dublin Core schema.) Code ExamplesTo get a quick idea of how using jenabean m [Less]

0
 
  0 reviews  |  1 user  |  64,535 lines of code  |  0 current contributors  |  Analyzed 3 days ago
 
 

objectify-led is a small Java library for binding object or class properties at runtime using annotations, reducing boilerplate code. Values can be taken from the System, from properties files, any arbitrary source in fact, and automatically set on properties. Instead of having chunks of code ... [More] such as public class Foo { private static String BLAH = "default-value"; private String myString; private int myInt = -1; public static void main(String[] args) { if (System.getProperty("blah.value) != null) { BLAH = System.getProperty("blah.value"); } Foo foo = new Foo(); if (System.getProperty("mystring.value) != null) { foo.myString = System.getProperty("mystring.value"); } if (System.getProperty("myint.value) != null) { try { String intValue = System.getProperty("myint.value"); foo.myInt = Integer.parseInt(intValue; } catch (NumberFormatException e) { ... } } } ... }you can instead use objectify-led to bind the properties for you : public class Foo { @Property("blah.value"); private static String BLAH = "default-value"; @Property("mystring.value"); private String myString; @Property("myint.value"); private int myInt = -1; public static void main(String[] args) { Foo foo = new Foo(); new PropertySetter().process(foo); } ... }By default, Strings and all primitive/wrapper classes are handled. If you wish to convert a property value into a specific class, you just need to plug in your own object factory. Additionally, the source of the properties is completely up to you. By default, properties are taken from the system environment and any Properties objects you may have plugged in; custom property contexts can be used to provide a facade to more complex value stores. Static values are handled in two ways. If an instance of a class is processed, both its instance and static members are populated if necessary. If a class is processed, just the static members are populated (what with the lack of an instance and everything…). [Less]

0
 
  0 reviews  |  1 user  |  3,675 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

AbstractFramework allows you to come with UI representation of your plain java objects. It uses reflection information of java classes and also special annotations to build powerful forms and tables. Forms validation and data binding are supported. It based on GXT widgets library.

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 1 day ago
 
 

A binding mechanism to GWT

0
 
  0 reviews  |  0 users  |  904 lines of code  |  0 current contributors  |  Analyzed 7 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.