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

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

public class SLDParser
extends java.lang.Object

SLDParser

Version:
$Revision: 25736 $, $Date: 2010-08-09 13:04:48 +0200 (Mo, 09. Aug 2010) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Constructor Summary
SLDParser()
           
 
Method Summary
static org.deegree.commons.utils.Pair<java.util.LinkedList<org.deegree.filter.Filter>,java.util.LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style>> getStyles(javax.xml.stream.XMLStreamReader in, java.lang.String layerName, java.util.Map<java.lang.String,java.lang.String> styleNames)
           
static org.deegree.commons.utils.Pair<java.util.LinkedList<Layer>,java.util.LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style>> parse(javax.xml.stream.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 org.deegree.commons.utils.Pair<java.util.LinkedList<Layer>,java.util.LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style>> parse(javax.xml.stream.XMLStreamReader in,
                                                                                                                                                     MapService service,
                                                                                                                                                     GetMap gm)
                                                                                                                                              throws javax.xml.stream.XMLStreamException,
                                                                                                                                                     OWSException,
                                                                                                                                                     java.text.ParseException
Parameters:
in -
service -
gm -
Returns:
a list of layers parsed from SLD
Throws:
javax.xml.stream.XMLStreamException
OWSException
java.text.ParseException

getStyles

public static org.deegree.commons.utils.Pair<java.util.LinkedList<org.deegree.filter.Filter>,java.util.LinkedList<org.deegree.rendering.r2d.se.unevaluated.Style>> getStyles(javax.xml.stream.XMLStreamReader in,
                                                                                                                                                                             java.lang.String layerName,
                                                                                                                                                                             java.util.Map<java.lang.String,java.lang.String> styleNames)
                                                                                                                                                                      throws javax.xml.stream.XMLStreamException
Parameters:
in -
layerName -
styleNames -
Returns:
the filters defined for the NamedLayer, and the matching styles
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2011. All Rights Reserved.