org.apache.cxf.tools.validator.internal
Class SchemaValidator
java.lang.Object
org.apache.cxf.tools.validator.AbstractValidator
org.apache.cxf.tools.validator.internal.AbstractDefinitionValidator
org.apache.cxf.tools.validator.internal.SchemaValidator
public class SchemaValidator
- extends AbstractDefinitionValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final Logger LOG
defaultSchemas
protected String[] defaultSchemas
schemaLocation
protected String schemaLocation
SchemaValidator
public SchemaValidator(String schemaDir)
throws ToolException
- Throws:
ToolException
SchemaValidator
public SchemaValidator(String schemaDir,
String wsdl,
String[] schemas)
throws ToolException
- Throws:
ToolException
SchemaValidator
public SchemaValidator(List<InputSource> defaultSchemas,
String wsdl,
String[] schemas)
isValid
public boolean isValid()
- Specified by:
isValid
in class AbstractValidator
validate
public boolean validate(String wsdlsource,
String[] schemas)
throws ToolException
- Throws:
ToolException
validate
public boolean validate(InputSource wsdlsource,
String[] schemas)
throws ToolException
- Throws:
ToolException
Apache CXF