當前位置: 首頁>>代碼示例>>Java>>正文


Java Resource.Factory方法代碼示例

本文整理匯總了Java中org.eclipse.emf.ecore.resource.Resource.Factory方法的典型用法代碼示例。如果您正苦於以下問題:Java Resource.Factory方法的具體用法?Java Resource.Factory怎麽用?Java Resource.Factory使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.eclipse.emf.ecore.resource.Resource的用法示例。


在下文中一共展示了Resource.Factory方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the ChartResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations ()
{
    if ( registrations == null )
    {
        super.getRegistrations ();
        registrations.put ( XML_EXTENSION, new ChartResourceFactoryImpl () );
        registrations.put ( STAR_EXTENSION, new ChartResourceFactoryImpl () );
    }
    return registrations;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:18,代碼來源:ChartXMLProcessor.java

示例2: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the GrmResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations() {
	if (registrations == null) {
		super.getRegistrations();
		registrations.put(XML_EXTENSION, new GrmResourceFactoryImpl());
		registrations.put(STAR_EXTENSION, new GrmResourceFactoryImpl());
	}
	return registrations;
}
 
開發者ID:polarsys,項目名稱:time4sys,代碼行數:16,代碼來源:GrmXMLProcessor.java

示例3: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the MarkitwireResourceResourceFactoryImpl factory.
 * <!-- begin-user-doc
 * --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new MarkitwireResourceResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new MarkitwireResourceResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:MarkitwireResourceXMLProcessor.java

示例4: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the CometModuleResourceFactoryImpl factory.
 * <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new CometModuleResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new CometModuleResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:CometModuleXMLProcessor.java

示例5: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the ExporterResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations ()
{
    if ( registrations == null )
    {
        super.getRegistrations ();
        registrations.put ( XML_EXTENSION, new ExporterResourceFactoryImpl () );
        registrations.put ( STAR_EXTENSION, new ExporterResourceFactoryImpl () );
    }
    return registrations;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:18,代碼來源:ExporterXMLProcessor.java

示例6: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the ListenersResourceFactoryImpl factory.
 * <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new ListenersResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new ListenersResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:ListenersXMLProcessor.java

示例7: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the InformixResourceResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new InformixResourceResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new InformixResourceResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:InformixResourceXMLProcessor.java

示例8: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the ShadowDirectResourceResourceFactoryImpl factory.
 * <!-- begin-user-doc
 * --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new ShadowDirectResourceResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new ShadowDirectResourceResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:ShadowDirectResourceXMLProcessor.java

示例9: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the DocumentumModuleResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new DocumentumModuleResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new DocumentumModuleResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:DocumentumModuleXMLProcessor.java

示例10: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the DirectoryResourceResourceFactoryImpl factory.
 * <!-- begin-user-doc
 * --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new DirectoryResourceResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new DirectoryResourceResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:DirectoryResourceXMLProcessor.java

示例11: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the LdapResourceResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new LdapResourceResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new LdapResourceResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:LdapResourceXMLProcessor.java

示例12: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the SaturnResourceFactoryImpl factory.
 * <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new SaturnResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new SaturnResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:SaturnXMLProcessor.java

示例13: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the DocumentumResourceResourceFactoryImpl factory.
 * <!-- begin-user-doc
 * --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new DocumentumResourceResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new DocumentumResourceResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:DocumentumResourceXMLProcessor.java

示例14: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the XmlValidatorModuleResourceFactoryImpl factory.
 * <!-- begin-user-doc
 * --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new XmlValidatorModuleResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new XmlValidatorModuleResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:XmlValidatorModuleXMLProcessor.java

示例15: getRegistrations

import org.eclipse.emf.ecore.resource.Resource; //導入方法依賴的package包/類
/**
 * Register for "*" and "xml" file extensions the SaturnVerbosityResourceFactoryImpl factory.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected Map<String, Resource.Factory> getRegistrations()
{
  if (registrations == null)
  {
    super.getRegistrations();
    registrations.put(XML_EXTENSION, new SaturnVerbosityResourceFactoryImpl());
    registrations.put(STAR_EXTENSION, new SaturnVerbosityResourceFactoryImpl());
  }
  return registrations;
}
 
開發者ID:Morgan-Stanley,項目名稱:Saturn,代碼行數:18,代碼來源:SaturnVerbosityXMLProcessor.java


注:本文中的org.eclipse.emf.ecore.resource.Resource.Factory方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。