| |
|
| java.lang.Object org.andromda.core.common.Merger
Merger | public class Merger (Code) | |
A class that performs the merging abilities for the AndroMDA core.
Merging takes place when the
NamespaceProperties.MERGE_MAPPINGS_URI is found within the
namespace and merge mappings are used to replace any matching patterns in the given string .
author: Chad Brandon |
getMergedString | public String getMergedString(InputStream inputStream, String namespace)(Code) | | Retrieves the merged string. The merging takes place when
the
NamespaceProperties.MERGE_MAPPINGS_URI is found within the
namespace and the merge mappings are used to replace any
matching patterns in the given inputStream .
Parameters: inputStream - the InputStream instance which is first convertedto a String and then merged. Parameters: namespace - This namespace is searched when attempting to find theNamespaceProperties.MERGE_MAPPINGS_URI. the replaced String. |
instance | public static Merger instance()(Code) | | Gets the shared Merger instance. Normally you'll want to retrieve the instance through this method.
the shared instance. |
requiresMerge | public boolean requiresMerge(String namespace)(Code) | | Indicates whether or not the given namespace
requires a merge.
Parameters: namespace - the namespace to evaluate. true/false |
|
|
|