org.eclipse.gmt.umlx.registry.resource
Interface ModelContentAnalyser


public interface ModelContentAnalyser


Method Summary
 ModelContentAnalysis analyze(java.io.InputStream inputStream, org.eclipse.emf.common.util.URI uri)
          Analyze the input stream and return an analyssis if the inputStream corresponds to a valid model content.
 

Method Detail

analyze

ModelContentAnalysis analyze(java.io.InputStream inputStream,
                             org.eclipse.emf.common.util.URI uri)
Analyze the input stream and return an analyssis if the inputStream corresponds to a valid model content. Return null if the inputStream clearly does not correspond to this content.

Parameters:
inputStream - to be analysed
uri - from which this input stream derived
Returns:
non-null Analysis for valid and semi-valid content, null for incompatible content