| java.lang.Object net.refractions.udig.style.sld.editor.SLDValidator
SLDValidator | public class SLDValidator (Code) | | SLDValidator borrowed from geoserver org.vfny.geoserver.util
author: chorner since: 1.1.0 |
SLDValidator | public SLDValidator()(Code) | | |
getErrorMessage | public static String getErrorMessage(Reader xml, List errors)(Code) | | returns a better formatted error message - suitable for framing. There's
a more complex version in StylesEditorAction. This will kick out a VERY
LARGE errorMessage.
Parameters: xml - Parameters: errors - DOCUMENT ME! |
validateSLD | public List validateSLD(InputSource xml, String SchemaUrl)(Code) | | validate a .sld against the schema
Parameters: xml - input stream representing the .sld file Parameters: SchemaUrl - location of the schemas. Normally use".../schemas/sld/StyleLayerDescriptor.xsd" list of SAXExceptions (0 if the file's okay) |
|
|