public class SchemaValidator extends AbstractDefinitionValidator
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
defaultSchemas |
protected static Logger |
LOG |
protected String |
schemaLocation |
def, enverrorMessages| Constructor and Description |
|---|
SchemaValidator(List<InputSource> defaultSchemas,
String wsdl,
String[] schemas) |
SchemaValidator(String schemaDir) |
SchemaValidator(String schemaDir,
String wsdl,
String[] schemas) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid() |
boolean |
validate(InputSource wsdlsource,
String[] schemas) |
boolean |
validate(String wsdlsource,
String[] schemas) |
addError, getBusaddErrorMessage, getErrorMessageprotected static final Logger LOG
protected String[] defaultSchemas
protected String schemaLocation
public SchemaValidator(String schemaDir) throws ToolException
ToolExceptionpublic SchemaValidator(String schemaDir, String wsdl, String[] schemas) throws ToolException
ToolExceptionpublic SchemaValidator(List<InputSource> defaultSchemas, String wsdl, String[] schemas)
public boolean isValid()
isValid in class AbstractValidatorpublic boolean validate(String wsdlsource, String[] schemas) throws ToolException
ToolExceptionpublic boolean validate(InputSource wsdlsource, String[] schemas) throws ToolException
ToolExceptionApache CXF