org.eclipse.gmt.umlx.registry.model
Class NamedSerialization

java.lang.Object
  extended by org.eclipse.gmt.umlx.registry.model.NamedSerialization
All Implemented Interfaces:
ModelSerialization

public class NamedSerialization
extends java.lang.Object
implements ModelSerialization

A NamedSerialisation defines the serialization of a model by an informal name, and is used when the ModelSerialisationRegistryReader has no registration for that name.


Constructor Summary
NamedSerialization(java.lang.String name)
           
 
Method Summary
 java.lang.String getFactoryClassName()
          Return the name of the resource factory class.
 java.lang.String getName()
          Return the name of the model serialization.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedSerialization

public NamedSerialization(java.lang.String name)
Method Detail

getFactoryClassName

public java.lang.String getFactoryClassName()
Description copied from interface: ModelSerialization
Return the name of the resource factory class.

Specified by:
getFactoryClassName in interface ModelSerialization
Returns:
the resource factory class name.

getName

public java.lang.String getName()
Description copied from interface: ModelSerialization
Return the name of the model serialization.

Specified by:
getName in interface ModelSerialization
Returns:
the model serialization name