You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2009/03/21 14:53:58 UTC

svn commit: r756938 - in /cxf/trunk/common: common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java pom.xml

Author: bimargulies
Date: Sat Mar 21 13:53:58 2009
New Revision: 756938

URL: http://svn.apache.org/viewvc?rev=756938&view=rev
Log:
Second piece of first piece.


Added:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java   (with props)
Modified:
    cxf/trunk/common/pom.xml

Added: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java?rev=756938&view=auto
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java (added)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java Sat Mar 21 13:53:58 2009
@@ -0,0 +1,34 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.common.xmlschema;
+
+import org.w3c.dom.DOMErrorHandler;
+import org.apache.ws.commons.schema.XmlSchemaCollection;
+
+/**
+ * Interface to a bus extension which can validate a collection of XML schemas.
+ */
+public interface XmlSchemaValidationManager {
+    /**
+     * Throw an 
+     * @param schemas
+     */
+    void validateSchemas(XmlSchemaCollection schemas, DOMErrorHandler errorHandler);
+}

Propchange: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/XmlSchemaValidationManager.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/common/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/common/pom.xml?rev=756938&r1=756937&r2=756938&view=diff
==============================================================================
--- cxf/trunk/common/pom.xml (original)
+++ cxf/trunk/common/pom.xml Sat Mar 21 13:53:58 2009
@@ -37,9 +37,9 @@
         <module>schemas</module>
         <module>xjc</module>
 	<module>wstx-msv-validation</module>
+	<module>xerces-xsd-validation</module>
     </modules>
 
-
     <scm>
         <connection>scm:svn:http://svn.apache.org/repos/asf/cxf/trunk/common</connection>
         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/cxf/trunk/common</developerConnection>