| java.lang.Object org.springframework.xml.validation.SchemaLoaderUtils
SchemaLoaderUtils | abstract public class SchemaLoaderUtils (Code) | | Convenient utility methods for loading of javax.xml.validation.Schema objects, performing standard
handling of input streams.
author: Arjen Poutsma since: 1.0.0 |
Method Summary | |
public static String | getSystemId(Resource resource) Retrieves the URL from the given resource as System ID. | public static Schema | loadSchema(Resource resource, String schemaLanguage) Load schema from the given resource.
Parameters: resource - the resource to load from Parameters: schemaLanguage - the language of the schema. | public static Schema | loadSchema(Resource[] resources, String schemaLanguage) Load schema from the given resource.
Parameters: resources - the resources to load from Parameters: schemaLanguage - the language of the schema. |
getSystemId | public static String getSystemId(Resource resource)(Code) | | Retrieves the URL from the given resource as System ID. Returns null if it cannot be openened.
|
|
|