public class SchemaLocationURIHandler
extends org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl.PlatformSchemeAware
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
SCHEMA_FILE_EXTENSION |
protected java.util.Set<org.eclipse.emf.common.util.URI> |
schemaLocationBaseURIs |
protected java.util.Map<java.lang.String,java.lang.String> |
schemaLocationCatalog |
Constructor and Description |
---|
SchemaLocationURIHandler(java.util.Map<java.lang.String,java.lang.String> schemaLocationCatalog) |
Modifier and Type | Method and Description |
---|---|
void |
addSchemaLocationBaseURI(org.eclipse.core.runtime.Plugin plugin,
java.lang.String path) |
void |
addSchemaLocationBaseURI(org.eclipse.emf.common.util.URI uri) |
org.eclipse.emf.common.util.URI |
deresolve(org.eclipse.emf.common.util.URI uri) |
protected java.lang.String |
getFileExtension(org.eclipse.emf.common.util.URI uri) |
org.eclipse.emf.common.util.URI |
resolve(org.eclipse.emf.common.util.URI uri) |
protected static final java.lang.String SCHEMA_FILE_EXTENSION
protected java.util.Set<org.eclipse.emf.common.util.URI> schemaLocationBaseURIs
protected java.util.Map<java.lang.String,java.lang.String> schemaLocationCatalog
public SchemaLocationURIHandler(java.util.Map<java.lang.String,java.lang.String> schemaLocationCatalog)
public void addSchemaLocationBaseURI(org.eclipse.core.runtime.Plugin plugin, java.lang.String path)
public void addSchemaLocationBaseURI(org.eclipse.emf.common.util.URI uri)
public org.eclipse.emf.common.util.URI resolve(org.eclipse.emf.common.util.URI uri)
resolve
in interface org.eclipse.emf.ecore.xmi.XMLResource.URIHandler
resolve
in class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
public org.eclipse.emf.common.util.URI deresolve(org.eclipse.emf.common.util.URI uri)
deresolve
in interface org.eclipse.emf.ecore.xmi.XMLResource.URIHandler
deresolve
in class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl.PlatformSchemeAware
protected java.lang.String getFileExtension(org.eclipse.emf.common.util.URI uri)