public class SchemaValidator extends AbstractDefinitionValidator
Modifier and Type | Field and Description |
---|---|
protected String[] |
defaultSchemas |
protected static Logger |
LOG |
protected String |
schemaLocation |
def, env
errorMessages
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, getBus
addErrorMessage, getErrorMessage
protected static final Logger LOG
protected String[] defaultSchemas
protected final String schemaLocation
public SchemaValidator(String schemaDir) throws ToolException
ToolException
public SchemaValidator(String schemaDir, String wsdl, String[] schemas) throws ToolException
ToolException
public SchemaValidator(List<InputSource> defaultSchemas, String wsdl, String[] schemas)
public boolean isValid()
isValid
in class AbstractValidator
public boolean validate(String wsdlsource, String[] schemas) throws ToolException
ToolException
public boolean validate(InputSource wsdlsource, String[] schemas) throws ToolException
ToolException
Apache CXF