org.wso2.carbon.registry.core.utils
Class SchemaValidator

java.lang.Object
  extended by org.wso2.carbon.registry.core.utils.SchemaValidator

Deprecated.

@Deprecated
public class SchemaValidator
extends Object


Constructor Summary
SchemaValidator()
          Deprecated.  
 
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
 

Constructor Detail

SchemaValidator

public SchemaValidator()
Deprecated. 
Method Detail

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 © 2011 WSO2 Inc. All Rights Reserved.