public String replaceParams ( String xml , CodeType codeType ) { ClassProject classProject = ( ClassProject ) this . getMainRecord ( ) ; Map < String , String > ht = new HashMap < String , String > ( ) ; ht . put ( START + "project" + END , classProject . getField ( ClassProject . NAME ) . toString ( ) ) ; ht . put ( START + "version" + END , "1.0.0-SNAPSHOT" ) ; ht . put ( START + "groupId" + END , classProject . getFullPackage ( CodeType . THICK , "" ) ) ; ht . put ( START + "packagedb" + END , classProject . getFullPackage ( CodeType . THICK , "" ) ) ; ht . put ( START + "packagethin" + END , classProject . getFullPackage ( CodeType . THIN , "" ) ) ; ht . put ( START + "packageres" + END , classProject . getFullPackage ( CodeType . RESOURCE_PROPERTIES , "" ) ) ; ht . put ( START + "packagemodel" + END , classProject . getFullPackage ( CodeType . INTERFACE , "" ) ) ; ht . put ( START + "package" + END , classProject . getFullPackage ( codeType , "" ) ) ; xml = org . jbundle . base . model . Utility . replace ( xml , ht ) ; return xml ; }
ReplaceParams Method .