org.eclipse.mtl.util
Class MtlXMLProcessor

java.lang.Object
  extended by org.eclipse.emf.ecore.xmi.util.XMLProcessor
      extended by org.eclipse.mtl.util.MtlXMLProcessor

public class MtlXMLProcessor
extends org.eclipse.emf.ecore.xmi.util.XMLProcessor

This class contains helper methods to serialize and deserialize XML documents


Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.xmi.util.XMLProcessor
ecoreBuilder, extendedMetaData, loadOptions, registrations, registry, saveOptions, STAR_EXTENSION, XML_EXTENSION, XML_URI
 
Constructor Summary
MtlXMLProcessor()
          Public constructor to instantiate the helper.
 
Method Summary
protected  java.util.Map<java.lang.String,org.eclipse.emf.ecore.resource.Resource.Factory> getRegistrations()
          Register for "*" and "xml" file extensions the MtlResourceFactoryImpl factory.
 
Methods inherited from class org.eclipse.emf.ecore.xmi.util.XMLProcessor
createEcoreBuilder, createExtendedMetaData, createResourceSet, getEPackageRegistry, getExtendedMetaData, load, load, load, load, save, save, save, saveToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtlXMLProcessor

public MtlXMLProcessor()
Public constructor to instantiate the helper.

Method Detail

getRegistrations

protected java.util.Map<java.lang.String,org.eclipse.emf.ecore.resource.Resource.Factory> getRegistrations()
Register for "*" and "xml" file extensions the MtlResourceFactoryImpl factory.

Overrides:
getRegistrations in class org.eclipse.emf.ecore.xmi.util.XMLProcessor

Copyright 2008 Obeo
All Rights Reserved.