Package org.geotools.ysld.transform.sld
Class ParameterHandler
- Object
-
- SldTransformHandler
-
- ParameterHandler
-
public class ParameterHandler extends SldTransformHandler
Handles xml parse events for CssParameter and SvgParameter. These get converted to YSLD elements like stroke-width or stroke-color.
-
-
Constructor Summary
Constructors Constructor Description ParameterHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
element(XMLStreamReader xml, SldTransformContext context)
void
endElement(XMLStreamReader xml, SldTransformContext context)
ParameterHandler
rename(String from, String to)
ParameterHandler
strip(String prefix)
-
Methods inherited from class SldTransformHandler
attribute, characters, document, endDocument
-
-
-
-
Method Detail
-
rename
public ParameterHandler rename(String from, String to)
-
strip
public ParameterHandler strip(String prefix)
-
element
public void element(XMLStreamReader xml, SldTransformContext context) throws XMLStreamException, IOException
- Overrides:
element
in classSldTransformHandler
- Throws:
XMLStreamException
IOException
-
endElement
public void endElement(XMLStreamReader xml, SldTransformContext context) throws XMLStreamException, IOException
- Overrides:
endElement
in classSldTransformHandler
- Throws:
XMLStreamException
IOException
-
-