org.deegree.services.wms.controller.sld
Class SLDParser

java.lang.Object
  extended by org.deegree.services.wms.controller.sld.SLDParser

public class SLDParser
extends Object

SLDParser

Version:
$Revision: 31785 $, $Date: 2011-09-06 20:21:16 +0200 (Tue, 06 Sep 2011) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
SLDParser()
           
 
Method Summary
static Pair<LinkedList<Filter>,LinkedList<Style>> getStyles(XMLStreamReader in, String layerName, Map<String,String> styleNames)
           
static Pair<LinkedList<Layer>,LinkedList<Style>> parse(XMLStreamReader in, MapService service, GetMap gm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SLDParser

public SLDParser()
Method Detail

parse

public static Pair<LinkedList<Layer>,LinkedList<Style>> parse(XMLStreamReader in,
                                                              MapService service,
                                                              GetMap gm)
                                                       throws XMLStreamException,
                                                              OWSException,
                                                              ParseException
Parameters:
in -
service -
gm -
Returns:
a list of layers parsed from SLD
Throws:
XMLStreamException
OWSException
ParseException

getStyles

public static Pair<LinkedList<Filter>,LinkedList<Style>> getStyles(XMLStreamReader in,
                                                                   String layerName,
                                                                   Map<String,String> styleNames)
                                                            throws XMLStreamException
Parameters:
in -
layerName -
styleNames -
Returns:
the filters defined for the NamedLayer, and the matching styles
Throws:
XMLStreamException


Copyright © 2011. All Rights Reserved.