Class NamespaceAwareElementExtension
java.lang.Object
tools.mdsd.jamopp.model.java.extensions.commons.NamespaceAwareElementExtension
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConcreteClassifier
getClassifierAtNamespaces
(NamespaceAwareElement namespaceAwareElement) Assuming the namespace identifies a classifier, that classifier is returned.static String
getNamespacesAsString
(NamespaceAwareElement namespaceAwareElement) Converts the namespaces array of the given namespace aware element into a String representation using .
-
Method Details
-
getNamespacesAsString
Converts the namespaces array of the given namespace aware element into a String representation using . delimiters.- Parameters:
namespaceAwareElement
- the given namespace aware element.- Returns:
- single string representation of namespace.
-
getClassifierAtNamespaces
public static ConcreteClassifier getClassifierAtNamespaces(NamespaceAwareElement namespaceAwareElement) Assuming the namespace identifies a classifier, that classifier is returned.- Parameters:
namespaceAwareElement
- the namespace aware element.- Returns:
- classifier at namespace.
-