private void createLayout ( HashMap layoutStructure , Document doc , Element root , int structId ) { while ( structId != 0 ) { LayoutStructure ls = ( LayoutStructure ) layoutStructure . get ( structId ) ; // replaced with call to method in containing class to allow overriding // by subclasses of RDBMUserLayoutStore. // Element structure = ls.getStructureDocument(doc); Element structure = getStructure ( doc , ls ) ; root . appendChild ( structure ) ; String id = structure . getAttribute ( "ID" ) ; if ( id != null && ! id . equals ( "" ) ) { structure . setIdAttribute ( "ID" , true ) ; } createLayout ( layoutStructure , doc , structure , ls . getChildId ( ) ) ; structId = ls . getNextId ( ) ; } }
Create a layout