Java 类org.eclipse.emf.ecore.xmi.XMLHelper 实例源码

项目:emfstore-rest    文件:PersistenceTest.java   
/**
 * 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]));
}
项目:mondo-demo-wt    文件:PerformantXMIResourceImpl.java   
@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;
}
项目:mondo-demo-wt    文件:XMIModularResource.java   
@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;
}
项目:boomslang-wireframesketcher    文件:ModelXMLResourceImpl.java   
@Override
protected XMLHelper createXMLHelper() {
    return new ModelXMLHelperImpl(this);
}
项目:OpenSPIFe    文件:ProgressMonitorXMLLoadImpl.java   
public ProgressMonitorXMLLoadImpl(XMLHelper helper) {
    super(helper);
}
项目:OpenSPIFe    文件:PlanResourceImpl.java   
private PlanResourceSaveImpl(XMLHelper helper, boolean saveDefaults) {
    super(helper);
    this.saveDefaults = saveDefaults;
}
项目:OpenSPIFe    文件:PlanResourceImpl.java   
private PlanXMLLoadImpl(XMLHelper helper, XMLResource planResource) {
    super(helper);
    this.planResource = planResource;
}
项目:OpenSPIFe    文件:DictionaryResourceImpl.java   
@Override
protected XMLHelper createXMLHelper() {
    return new DictionaryXMLHelper(this);
}
项目:fixflow    文件:Bpmn2ResourceImpl.java   
@Override
protected XMLHelper createXMLHelper() {
    return this.xmlHelper;
}
项目:fixflow    文件:Bpmn2ResourceImpl.java   
public BpmnXmlHandler(XMLResource xmiResource, XMLHelper helper, Map<?, ?> options) {
    super(xmiResource, helper, options);
}
项目:kie-wb-common    文件:JBPMXMLSaveImpl.java   
public JBPMXMLSaveImpl(XMLHelper helper) {
    super(helper);
}
项目:emf-fragments    文件:XMIFragmentImpl.java   
@Override
protected XMLHelper createXMLHelper() {
    return new MyXMLHelper(this);
}
项目:emfstore-rest    文件:EMFStoreResource.java   
/**
 * {@inheritDoc}
 * 
 * @see org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl#createXMLHelper()
 */
@Override
protected XMLHelper createXMLHelper() {
    return new EMFStoreResourceHelper(this);
}