private void processService ( Service service ) throws Exception { getLog ( ) . info ( " Service: " + service . getServiceName ( ) ) ; Document iddDoc = parseIddFile ( service . getServiceName ( ) ) ; // 1. validate if ( ! isOffline ( ) ) { getLog ( ) . debug ( "Validating XML.." ) ; new XmlValidator ( resolver ) . validate ( iddDoc ) ; } // 2. generate outputs generateJavaCode ( service , iddDoc ) ; }
Various steps needing to be done for each IDD