| java.lang.Object org.vfny.geoserver.util.GETMAPValidator
GETMAPValidator | public class GETMAPValidator (Code) | | |
GETMAPValidator | public GETMAPValidator()(Code) | | |
getErrorMessage | public static String getErrorMessage(Reader xml, List errors)(Code) | | returns a better formated 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 - |
validateGETMAP | public List validateGETMAP(InputStream xml, ServletContext servContext)(Code) | | validates against the "normal" location of the schema (ie. ".../capabilities/sld/StyleLayerDescriptor.xsd"
uses the geoserver_home patch
Parameters: xml - Parameters: servContext - servlet context |
validateGETMAP | public List validateGETMAP(InputSource xml, String SchemaUrl)(Code) | | validate a GETMAP against the schema
Parameters: xml - input stream representing the GETMAP file Parameters: SchemaUrl - location of the schemas. Normally use ".../capabilities/sld/StyleLayerDescriptor.xsd" list of SAXExceptions (0 if the file's okay) |
|
|