本文整理汇总了Java中org.eclipse.emf.ecore.xmi.XMLHelper类的典型用法代码示例。如果您正苦于以下问题:Java XMLHelper类的具体用法?Java XMLHelper怎么用?Java XMLHelper使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XMLHelper类属于org.eclipse.emf.ecore.xmi包,在下文中一共展示了XMLHelper类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: testIsEMFStoreResourceHelperInUse
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
/**
* Checks whether the XMLHelper used by the {@link EMFStoreResource} is an {@link EMFStoreResourceHelper}.
*
* @throws IOException
*/
@Test
public void testIsEMFStoreResourceHelperInUse() throws IOException {
final XMLHelper[] helper = new XMLHelper[1];
final EMFStoreResource resource = new EMFStoreResource(URI.createURI("foo")) {
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.emfstore.internal.common.EMFStoreResource#createXMLHelper()
*/
@Override
protected XMLHelper createXMLHelper() {
final XMLHelper xmlHelper = super.createXMLHelper();
helper[0] = xmlHelper;
return xmlHelper;
}
};
resource.save(null);
assertTrue(EMFStoreResourceHelper.class.isInstance(helper[0]));
}
开发者ID:edgarmueller,项目名称:emfstore-rest,代码行数:25,代码来源:PersistenceTest.java
示例2: createXMLHelper
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
@Override
protected XMLHelper createXMLHelper() {
// TODO Auto-generated method stub
XMLHelper helper = new XMIHelperImpl(this){
@Override
public URI deresolve(URI uri) {
// TODO Auto-generated method stub
return uri;
}
};
return helper;
}
开发者ID:mondo-project,项目名称:mondo-demo-wt,代码行数:15,代码来源:PerformantXMIResourceImpl.java
示例3: createXMLHelper
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
@Override
protected XMLHelper createXMLHelper() {
return new ModelXMLHelperImpl(this);
}
开发者ID:Jose-Badeau,项目名称:boomslang-wireframesketcher,代码行数:5,代码来源:ModelXMLResourceImpl.java
示例4: ProgressMonitorXMLLoadImpl
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
public ProgressMonitorXMLLoadImpl(XMLHelper helper) {
super(helper);
}
开发者ID:nasa,项目名称:OpenSPIFe,代码行数:4,代码来源:ProgressMonitorXMLLoadImpl.java
示例5: PlanResourceSaveImpl
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
private PlanResourceSaveImpl(XMLHelper helper, boolean saveDefaults) {
super(helper);
this.saveDefaults = saveDefaults;
}
开发者ID:nasa,项目名称:OpenSPIFe,代码行数:5,代码来源:PlanResourceImpl.java
示例6: PlanXMLLoadImpl
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
private PlanXMLLoadImpl(XMLHelper helper, XMLResource planResource) {
super(helper);
this.planResource = planResource;
}
开发者ID:nasa,项目名称:OpenSPIFe,代码行数:5,代码来源:PlanResourceImpl.java
示例7: createXMLHelper
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
@Override
protected XMLHelper createXMLHelper() {
return new DictionaryXMLHelper(this);
}
开发者ID:nasa,项目名称:OpenSPIFe,代码行数:5,代码来源:DictionaryResourceImpl.java
示例8: createXMLHelper
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
@Override
protected XMLHelper createXMLHelper() {
return this.xmlHelper;
}
开发者ID:fixteam,项目名称:fixflow,代码行数:5,代码来源:Bpmn2ResourceImpl.java
示例9: BpmnXmlHandler
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
public BpmnXmlHandler(XMLResource xmiResource, XMLHelper helper, Map<?, ?> options) {
super(xmiResource, helper, options);
}
开发者ID:fixteam,项目名称:fixflow,代码行数:4,代码来源:Bpmn2ResourceImpl.java
示例10: JBPMXMLSaveImpl
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
public JBPMXMLSaveImpl(XMLHelper helper) {
super(helper);
}
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:4,代码来源:JBPMXMLSaveImpl.java
示例11: createXMLHelper
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
@Override
protected XMLHelper createXMLHelper() {
return new MyXMLHelper(this);
}
开发者ID:markus1978,项目名称:emf-fragments,代码行数:5,代码来源:XMIFragmentImpl.java
示例12: createXMLHelper
import org.eclipse.emf.ecore.xmi.XMLHelper; //导入依赖的package包/类
/**
* {@inheritDoc}
*
* @see org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl#createXMLHelper()
*/
@Override
protected XMLHelper createXMLHelper() {
return new EMFStoreResourceHelper(this);
}
开发者ID:edgarmueller,项目名称:emfstore-rest,代码行数:10,代码来源:EMFStoreResource.java
注:本文中的org.eclipse.emf.ecore.xmi.XMLHelper类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论