org.wso2.carbon.registry.core.utils
Class SchemaValidator
java.lang.Object
org.wso2.carbon.registry.core.utils.SchemaValidator
Deprecated.
@Deprecated
public class SchemaValidator
- extends Object
Method Summary |
void |
validate(InputStream xsdContent,
Resource resource)
Deprecated. This will valide the given schema againts the w3c.XMLSchema. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaValidator
public SchemaValidator()
- Deprecated.
validate
public void validate(InputStream xsdContent,
Resource resource)
throws RegistryException
- Deprecated.
- This will valide the given schema againts the w3c.XMLSchema.
- Parameters:
xsdContent
- : Input stream representing XSD content
- Throws:
RegistryException
- : If there is a problem in the XSD then that will throw as the exception
Copyright © 2010. All Rights Reserved.