diff options
author | nitind | 2006-04-13 07:14:24 +0000 |
---|---|---|
committer | nitind | 2006-04-13 07:14:24 +0000 |
commit | 658bf9a258a3226f3be6f9db0b1e2733ba6cad0d (patch) | |
tree | e15c0af83aebdacbd9e513e97e5a740065cac49b /bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/modelquery/XMLModelQueryAssociationProvider.java | |
parent | 618a19448e2301333a97badaa47bd90747a663db (diff) | |
download | webtools.sourceediting-200604130316.tar.gz webtools.sourceediting-200604130316.tar.xz webtools.sourceediting-200604130316.zip |
This commit was manufactured by cvs2svn to create tag 'v200604130316'.v200604130316
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/modelquery/XMLModelQueryAssociationProvider.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/modelquery/XMLModelQueryAssociationProvider.java | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/modelquery/XMLModelQueryAssociationProvider.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/modelquery/XMLModelQueryAssociationProvider.java deleted file mode 100644 index fd3087f02e..0000000000 --- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/modelquery/XMLModelQueryAssociationProvider.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 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 - * Jens Lukowski/Innoopract - initial renaming/restructuring - * - *******************************************************************************/ -package org.eclipse.wst.xml.core.internal.modelquery; - - - -import org.eclipse.wst.common.uriresolver.internal.provisional.URIResolver; -import org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.XMLAssociationProvider; -import org.eclipse.wst.xml.core.internal.contentmodel.util.CMDocumentCache; -import org.w3c.dom.Document; - -/** - * XMLModelQueryAssociationProvider - */ -class XMLModelQueryAssociationProvider extends XMLAssociationProvider { - - protected URIResolver idResolver; - - public XMLModelQueryAssociationProvider(CMDocumentCache cache, URIResolver idResolver) { - super(cache); - this.idResolver = idResolver; - } - - protected String resolveGrammarURI(Document document, String publicId, String systemId) { - - // CS : spooky code alert! - // this look really strange because we're passing null in as the first - // argument - // however we're assuming the use of a 'fudged' URIResolver that knows - // the - // correct baseLocation and will call to the URIResolver framework - // properly - - // CS : note that we should never call resolvePhysical at this point. - // Physical resolution should only occur when we're interesting to - // opening the actual stream. - // The CMDocumentFactory implementation would be responsible for - // calling resolvePhysical. - // All we need to do here is return a 'logical' URI - - if (idResolver == null) - return null; - return idResolver.resolve(null, publicId, systemId); - } -} |