net.sourceforge.nrl.parser.model.uml2
Class UML2Helper

java.lang.Object
  extended by net.sourceforge.nrl.parser.model.uml2.UML2Helper

public class UML2Helper
extends Object

A class with static helper methods.

Author:
Christian Nentwich

Constructor Summary
UML2Helper()
           
 
Method Summary
static String cleanUpName(String name)
          Given the element name, clean it up by removing illegal characters like dots.
static List<String> extractComments(org.eclipse.uml2.uml.Element modelElement)
          Extract a list of comments from a UML2 model element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UML2Helper

public UML2Helper()
Method Detail

extractComments

public static List<String> extractComments(org.eclipse.uml2.uml.Element modelElement)
Extract a list of comments from a UML2 model element.

Parameters:
modelElement - the element
Returns:
the comments

cleanUpName

public static String cleanUpName(String name)
Given the element name, clean it up by removing illegal characters like dots.

Parameters:
name - the name
Returns:
the cleaned up name


Copyright © 2006-2013. All Rights Reserved.