![JAR search and dependency download from the Maven repository](/logo.png)
schema.uri_mapping.exsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
This extension point is used to define mappings to be applied by the default URI converter in normalizing URIs.
A fully qualified identifier of the target extension point.
An optional identifier of the extension instance.
An optional name of the extension instance.
A source URI that, if matched, should be replaced by a target.
A target URI to which the source is mapped.
1.0.0
Following is an example of how a URI mapping can be registered:
<pre>
<extension point="org.eclipse.emf.ecore.uri_mapping" >
<mapping source="//special/" target="special/"/>
</extension>
</pre>
If the target is relative, it is resolved against the plugin's installed location, returning in a URI of the form:
<pre>
platform:/plugin/plugin-name_1.2.3/...
</pre>
<p>
A folder to folder mapping, i.e., where both source and target end in /, will remap entire subtrees, not just instances that match exactly.
</p>
<p>URI mappings can also be defined from the source code with the <samp>org.eclipse.emf.ecore.resource.URIConverter.URI_MAP</samp> as follows:
</p>
<pre>
URIConverter.URI_MAP.put("//special/", "special/");
</pre>
Copyright (c) 2002, 2004 IBM Corporation and others.<br>
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 <a
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy