Platinum Partner

Quick-Prototype POJO With CamelCase Using XSLT

// 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.


TableDDLs.xml

	
            
            
            
        
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:
{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}