Code example for InputSource

Methods: getByteStreamgetCharacterStream

0
    /** 
     *  validate a GETMAP against the schema 
     * 
     * @param xml  input stream representing the GETMAP file 
     * @param SchemaUrl location of the schemas. Normally use ".../capabilities/sld/StyleLayerDescriptor.xsd" 
     * @return list of SAXExceptions (0 if the file's okay) 
     */ 
    public List validateGETMAP(InputSource xml, URL SchemaUrl) {
        return ResponseUtils.validate(xml, SchemaUrl, true);
    } 
} 
Experience pair programming with AI  Get Codota for Java