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

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

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

public class InstanceContentDescriber
extends AbstractXMLContentDescriber

The instance content describer


Field Summary
static java.lang.String ID
          The content type id for instance 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
InstanceContentDescriber()
           
 
Method Summary
 int determineType(java.lang.String line)
          Used to determine the type of the content based on the line passed in
 
Methods inherited from class org.eclipse.cosmos.rm.validation.internal.content.AbstractXMLContentDescriber
describe, getSupportedOptions, 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 instance documents

See Also:
Constant Field Values
Constructor Detail

InstanceContentDescriber

public InstanceContentDescriber()
Method Detail

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