question: private int parseStyleInWorkspace ( GeoServerRESTReader reader , Map < String , List < StyleWrapper > > styleMap , int count , String workspaceName ) { List < StyleWrapper > styleList ; if ( workspaceName != null ) { RESTStyleList geoServerWorkspaceStyleList = reader . getStyles ( workspaceName ) ; styleList = new ArrayList < StyleWrapper > ( ) ; for ( String style : geoServerWorkspaceStyleList . getNames ( ) ) { StyleWrapper newStyleWrapper = new StyleWrapper ( workspaceName , style ) ; styleList . add ( newStyleWrapper ) ; if ( parentObj != null ) { parentObj . readStylesProgress ( connection , count , count ) ; } count ++ ; } styleMap . put ( workspaceName , styleList ) ; } return count ; }
target:  Parses the style in workspace.