Over a million developers have joined DZone.

Quick-Prototype POJO With CamelCase Using XSLT

DZone's Guide to

Quick-Prototype POJO With CamelCase Using XSLT

Free Resource
// If you've ever been frustrated trying to write an enormous POJO, here's a way to speed the 
// process a little. It's far from perfect, and could use some tweaking, but this XSLT code will 
// spit out a POJO much faster than you could do it by hand.


CreatePOJOs.xsl abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ /** * example of POJO output * */ package pojo; import java.sql.Date; /** * @author [your name here] * */ public class { private Long String Date = null; public Long String Date get () { return ; } public void set ( Long String Date ) { this. = ; } } ----------------------------------------------------------------------------------------------- this. = null; protected String = null; = null; ColumnName= CamelCasedColumn:

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}