Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLNestedValidatorContext.java')
-rw-r--r--bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLNestedValidatorContext.java55
1 files changed, 0 insertions, 55 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLNestedValidatorContext.java b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLNestedValidatorContext.java
deleted file mode 100644
index 29c5e7e3f9..0000000000
--- a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/XMLNestedValidatorContext.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 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.xml.core.internal.validation;
-
-
-import java.util.HashSet;
-
-import org.eclipse.wst.xml.core.internal.validation.core.NestedValidatorContext;
-
-
-/**
- * XMLNestedValidatorContext is used to store state data needed during an XML
- * validation session.
- */
-public class XMLNestedValidatorContext extends NestedValidatorContext
-{
- /**
- * A set of inaccessible locations URIs (String).
- */
- private HashSet inaccessibleLocationURIs = new HashSet();
-
- /**
- * Determines if a location URI was marked as inaccessible.
- *
- * @param locationURI
- * the location URI to test. Must not be null.
- * @return true if a location URI was marked as inaccessible, false otherwise.
- */
- public boolean isURIMarkedInaccessible(String locationURI)
- {
- return locationURI != null && inaccessibleLocationURIs.contains(locationURI);
- }
-
- /**
- * Marks the given location URI as inaccessible.
- *
- * @param locationURI
- * the location URI to mark as inaccessible. Must not be null.
- */
- public void markURIInaccessible(String locationURI)
- {
- if (locationURI != null)
- {
- inaccessibleLocationURIs.add(locationURI);
- }
- }
-}

Back to the top