Package net.lucidviews.geoserver.limb.response

Examples of net.lucidviews.geoserver.limb.response.GetLimbsResponseWriterFactory


      GetLimbsKvpReader kvp = new GetLimbsKvpReader();
      GetLimbsRequest getLimbsRequest = kvp.read( requestParams );
     
      List<Limb> limbs = this.limbService.getLimbs( getLimbsRequest );
     
      GetLimbsResponseWriterFactory writerFactory = this.limbWriters.get( getLimbsRequest.getFormat() );
      if (writerFactory == null)
      {
        throw new ServletException( "Unsupported format '" + getLimbsRequest.getFormat() + "'." );
      }
     
      ILimbWriter writer = writerFactory.createWriter( response );
      writer.write( limbs.listIterator() );
      writer.writeTerminator();
      writer.flush();
    }
    catch (Exception e)
View Full Code Here

TOP

Related Classes of net.lucidviews.geoserver.limb.response.GetLimbsResponseWriterFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.