org.apache.uima.tools.cfe.config.util
Class ConfigXMLProcessor

java.lang.Object
  extended by org.eclipse.emf.ecore.xmi.util.XMLProcessor
      extended by org.apache.uima.tools.cfe.config.util.ConfigXMLProcessor

public class ConfigXMLProcessor
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
ConfigXMLProcessor()
          Public constructor to instantiate the helper.
 
Method Summary
protected  Map<String,org.eclipse.emf.ecore.resource.Resource.Factory> getRegistrations()
          Register for "*" and "xml" file extensions the ConfigResourceFactoryImpl 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

ConfigXMLProcessor

public ConfigXMLProcessor()
Public constructor to instantiate the helper.

Method Detail

getRegistrations

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

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


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.