@Deprecated public class SchemaValidator extends Object
Constructor and Description |
---|
SchemaValidator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(InputStream xsdContent,
Resource resource)
Deprecated.
This will valide the given schema againts the w3c.XMLSchema.
|
public void validate(InputStream xsdContent, Resource resource) throws RegistryException
xsdContent
- : Input stream representing XSD contentRegistryException
- : If there is a problem in the XSD then that will throw as the exceptionCopyright © 2015 WSO2 Inc. All Rights Reserved.