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 final String schemaLocation
public SchemaValidator(String schemaDir) throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic SchemaValidator(String schemaDir, String wsdl, String[] schemas) throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic SchemaValidator(List<InputSource> defaultSchemas, String wsdl, String[] schemas)
public boolean isValid()
isValid in class AbstractValidatorpublic boolean validate(String wsdlsource, String[] schemas) throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionpublic boolean validate(InputSource wsdlsource, String[] schemas) throws org.apache.cxf.tools.common.ToolException
org.apache.cxf.tools.common.ToolExceptionApache CXF