COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.content
Class SMLIFContentDescriber

java.lang.Object
  extended by org.eclipse.cosmos.rm.validation.internal.content.AbstractXMLContentDescriber
      extended by org.eclipse.cosmos.rm.validation.internal.content.SMLIFContentDescriber
All Implemented Interfaces:
org.eclipse.core.runtime.content.IContentDescriber

public class SMLIFContentDescriber
extends AbstractXMLContentDescriber

The describer for SML-IF documents.


Field Summary
static java.lang.String ID
          The content type id for SML-IF documents
 
Fields inherited from class org.eclipse.cosmos.rm.validation.internal.content.AbstractXMLContentDescriber
CONTINUE
 
Fields inherited from interface org.eclipse.core.runtime.content.IContentDescriber
INDETERMINATE, INVALID, VALID
 
Constructor Summary
SMLIFContentDescriber()
           
 
Method Summary
 int determineType(java.lang.String line)
          Used to determine the type of the content based on the line passed in
 org.eclipse.core.runtime.QualifiedName[] getSupportedOptions()
           
 
Methods inherited from class org.eclipse.cosmos.rm.validation.internal.content.AbstractXMLContentDescriber
describe, retrieveElementName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
The content type id for SML-IF documents

See Also:
Constant Field Values
Constructor Detail

SMLIFContentDescriber

public SMLIFContentDescriber()
Method Detail

getSupportedOptions

public org.eclipse.core.runtime.QualifiedName[] getSupportedOptions()
Specified by:
getSupportedOptions in interface org.eclipse.core.runtime.content.IContentDescriber
Overrides:
getSupportedOptions in class AbstractXMLContentDescriber
See Also:
IContentDescriber.getSupportedOptions()

determineType

public int determineType(java.lang.String line)
Description copied from class: AbstractXMLContentDescriber
Used to determine the type of the content based on the line passed in

Specified by:
determineType in class AbstractXMLContentDescriber
Parameters:
line - The line being processed
See Also:
org.eclipse.cosmos.rm.smlif.internal.content.AbstractXMLContentDescriber#determineType(java.lang.String)

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification