Class NamespaceAwareElementExtension
- java.lang.Object
-
- org.emftext.language.java.extensions.commons.NamespaceAwareElementExtension
-
public class NamespaceAwareElementExtension extends Object
-
-
Constructor Summary
Constructors Constructor Description NamespaceAwareElementExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConcreteClassifier
getClassifierAtNamespaces(NamespaceAwareElement me)
Assuming the namespace identifies a classifier, that classifier is returned.static String
getNamespacesAsString(NamespaceAwareElement me)
Converts the namespaces array of the given namespace aware element into a String representation using .
-
-
-
Method Detail
-
getNamespacesAsString
public static String getNamespacesAsString(NamespaceAwareElement me)
Converts the namespaces array of the given namespace aware element into a String representation using . delimiters.- Parameters:
me
- the given namespace aware element.- Returns:
- single string representation of namespace.
-
getClassifierAtNamespaces
public static ConcreteClassifier getClassifierAtNamespaces(NamespaceAwareElement me)
Assuming the namespace identifies a classifier, that classifier is returned.- Parameters:
me
- the namespace aware element.- Returns:
- classifier at namespace.
-
-