private RouteDoc extractDocInfo ( RouteMeta routeMeta ) { RouteDoc routeDoc = new RouteDoc ( ) ; routeDoc . setGroup ( routeMeta . getGroup ( ) ) ; routeDoc . setPath ( routeMeta . getPath ( ) ) ; routeDoc . setDescription ( routeMeta . getName ( ) ) ; routeDoc . setType ( routeMeta . getType ( ) . name ( ) . toLowerCase ( ) ) ; routeDoc . setMark ( routeMeta . getExtra ( ) ) ; return routeDoc ; }
Extra doc info from route meta