org.eclipse.emf.ecore.resource.impl.ResourceImpl.getDefaultURIConverter()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中org.eclipse.emf.ecore.resource.impl.ResourceImpl.getDefaultURIConverter方法的一些代码示例,展示了ResourceImpl.getDefaultURIConverter的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResourceImpl.getDefaultURIConverter方法的具体详情如下:
包路径:org.eclipse.emf.ecore.resource.impl.ResourceImpl
类名称:ResourceImpl
方法名:getDefaultURIConverter

ResourceImpl.getDefaultURIConverter介绍

[英]Returns the default URI converter that's used when there is no resource set.
[中]返回没有资源集时使用的默认URI转换器。

代码示例

代码示例来源:origin: org.eclipse.emf/org.eclipse.emf.ecore

/**
 * Returns the URI converter.
 * This typically gets the {@link ResourceSet#getURIConverter converter}
 * from the {@link #getResourceSet containing} resource set,
 * but it calls {@link #getDefaultURIConverter} when there is no containing resource set.
 * @return the URI converter.
 */
protected URIConverter getURIConverter()
{
 return
  getResourceSet() == null ?
   getDefaultURIConverter() :
   getResourceSet().getURIConverter();
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

/**
 * Returns the URI converter.
 * This typically gets the {@link ResourceSet#getURIConverter converter}
 * from the {@link #getResourceSet containing} resource set,
 * but it calls {@link #getDefaultURIConverter} when there is no containing resource set.
 * @return the URI converter.
 */
protected URIConverter getURIConverter()
{
 return
  getResourceSet() == null ?
   getDefaultURIConverter() :
   getResourceSet().getURIConverter();
}

相关文章

微信公众号

最新文章

更多