Class SchemaValidator

    • Field Detail

      • LOG

        protected static final Logger LOG
      • defaultSchemas

        protected String[] defaultSchemas
      • schemaLocation

        protected final String schemaLocation
    • Constructor Detail

      • SchemaValidator

        public SchemaValidator​(String schemaDir)
                        throws org.apache.cxf.tools.common.ToolException
        Throws:
        org.apache.cxf.tools.common.ToolException
      • SchemaValidator

        public SchemaValidator​(String schemaDir,
                               String wsdl,
                               String[] schemas)
                        throws org.apache.cxf.tools.common.ToolException
        Throws:
        org.apache.cxf.tools.common.ToolException
    • Method Detail

      • validate

        public boolean validate​(String wsdlsource,
                                String[] schemas)
                         throws org.apache.cxf.tools.common.ToolException
        Throws:
        org.apache.cxf.tools.common.ToolException
      • validate

        public boolean validate​(InputSource wsdlsource,
                                String[] schemas)
                         throws org.apache.cxf.tools.common.ToolException
        Throws:
        org.apache.cxf.tools.common.ToolException