diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xsd.core/src-validation/org/eclipse/wst/xsd/core/internal/validation/eclipse/XSDValidator.java')
-rw-r--r-- | bundles/org.eclipse.wst.xsd.core/src-validation/org/eclipse/wst/xsd/core/internal/validation/eclipse/XSDValidator.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/bundles/org.eclipse.wst.xsd.core/src-validation/org/eclipse/wst/xsd/core/internal/validation/eclipse/XSDValidator.java b/bundles/org.eclipse.wst.xsd.core/src-validation/org/eclipse/wst/xsd/core/internal/validation/eclipse/XSDValidator.java deleted file mode 100644 index fbe1a0333e..0000000000 --- a/bundles/org.eclipse.wst.xsd.core/src-validation/org/eclipse/wst/xsd/core/internal/validation/eclipse/XSDValidator.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.xsd.core.internal.validation.eclipse; - -import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolverPlugin; - - -/** - * An XSD validator specific to Eclipse. This validator will wrap the internal - * XSD validator an provide automatic URI resolution support. - * Using this class is equivalent to using the internal XSD validator and registering - * the URI resolver from the URI resolution framework. - */ -public class XSDValidator extends org.eclipse.wst.xsd.core.internal.validation.XSDValidator -{ - private static XSDValidator instance = null; - - /** - * Return the one and only instance of the XSD validator. The validator - * can be reused and cannot be customized so there should only be one instance of it. - * - * @return The one and only instance of the XSD validator. - */ - public static XSDValidator getInstance() - { - if(instance == null) - { - instance = new XSDValidator(); - } - return instance; - } - /** - * Constructor. Create the XSD validator and set the URI resolver. - */ - protected XSDValidator() - { - this.setURIResolver(URIResolverPlugin.createResolver()); - } -} |