34
35 import com.sun.org.apache.xerces.internal.impl.Constants;
36 import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter;
37 import com.sun.org.apache.xerces.internal.util.Status;
38 import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException;
39 import com.sun.org.apache.xerces.internal.xs.AttributePSVI;
40 import com.sun.org.apache.xerces.internal.xs.ElementPSVI;
41 import com.sun.org.apache.xerces.internal.xs.PSVIProvider;
42 import org.w3c.dom.ls.LSResourceResolver;
43 import org.xml.sax.ErrorHandler;
44 import org.xml.sax.SAXException;
45 import org.xml.sax.SAXNotRecognizedException;
46 import org.xml.sax.SAXNotSupportedException;
47
48 /**
49 * <p>Implementation of Validator for W3C XML Schemas.</p>
50 *
51 * @author <a href="mailto:Kohsuke.Kawaguchi@Sun.com">Kohsuke Kawaguchi</a>
52 * @author Michael Glavassevich, IBM
53 * @author <a href="mailto:Sunitha.Reddy@Sun.com">Sunitha Reddy</a>
54 * @version $Id: ValidatorImpl.java,v 1.10 2010-11-01 04:40:08 joehw Exp $
55 */
56 final class ValidatorImpl extends Validator implements PSVIProvider {
57
58 //
59 // Data
60 //
61
62 /** Component manager. **/
63 private XMLSchemaValidatorComponentManager fComponentManager;
64
65 /** SAX validator helper. **/
66 private ValidatorHandlerImpl fSAXValidatorHelper;
67
68 /** DOM validator helper. **/
69 private DOMValidatorHelper fDOMValidatorHelper;
70
71 /** Stream validator helper. **/
72 private StreamValidatorHelper fStreamValidatorHelper;
73
74 /** StAX validator helper. **/
|
34
35 import com.sun.org.apache.xerces.internal.impl.Constants;
36 import com.sun.org.apache.xerces.internal.util.SAXMessageFormatter;
37 import com.sun.org.apache.xerces.internal.util.Status;
38 import com.sun.org.apache.xerces.internal.xni.parser.XMLConfigurationException;
39 import com.sun.org.apache.xerces.internal.xs.AttributePSVI;
40 import com.sun.org.apache.xerces.internal.xs.ElementPSVI;
41 import com.sun.org.apache.xerces.internal.xs.PSVIProvider;
42 import org.w3c.dom.ls.LSResourceResolver;
43 import org.xml.sax.ErrorHandler;
44 import org.xml.sax.SAXException;
45 import org.xml.sax.SAXNotRecognizedException;
46 import org.xml.sax.SAXNotSupportedException;
47
48 /**
49 * <p>Implementation of Validator for W3C XML Schemas.</p>
50 *
51 * @author <a href="mailto:Kohsuke.Kawaguchi@Sun.com">Kohsuke Kawaguchi</a>
52 * @author Michael Glavassevich, IBM
53 * @author <a href="mailto:Sunitha.Reddy@Sun.com">Sunitha Reddy</a>
54 */
55 final class ValidatorImpl extends Validator implements PSVIProvider {
56
57 //
58 // Data
59 //
60
61 /** Component manager. **/
62 private XMLSchemaValidatorComponentManager fComponentManager;
63
64 /** SAX validator helper. **/
65 private ValidatorHandlerImpl fSAXValidatorHelper;
66
67 /** DOM validator helper. **/
68 private DOMValidatorHelper fDOMValidatorHelper;
69
70 /** Stream validator helper. **/
71 private StreamValidatorHelper fStreamValidatorHelper;
72
73 /** StAX validator helper. **/
|