public void writeEndComponent ( ) throws IOException { if ( stack . isEmpty ( ) ) { throw new IllegalStateException ( Messages . INSTANCE . getExceptionMessage ( 2 ) ) ; } Info cur = stack . removeLast ( ) ; if ( ! cur . wroteEndPropertiesArray ) { generator . writeEndArray ( ) ; } if ( ! cur . wroteStartSubComponentsArray ) { generator . writeStartArray ( ) ; } generator . writeEndArray ( ) ; //end sub-components array generator . writeEndArray ( ) ; //end the array of this component componentEnded = true ; }
Closes the current component array .