com.adobe.flexbuilder.codemodel.search
Interface ITextualOccurrence

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IOccurrence

public interface ITextualOccurrence
extends IOccurrence

Represents an IOccurrence found within some form of text that is not source

Author:
dz

Field Summary
static int COMMENT_CONTEXT
          Context represents a match found within a comment
static int GENERIC_CONTEXT
          Context that does not have a basis in either a String literal or a comment
static int STRING_CONTEXT
          Context represents a match found within a String literal
 
Method Summary
 int getMatchContext()
           
 java.lang.String getText()
           
 
Methods inherited from interface com.adobe.flexbuilder.codemodel.search.IOccurrence
getEnd, getFileSpecification, getLength, getMatchPotential, getPath, getStart, isConfirmedMatch
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

STRING_CONTEXT

public static final int STRING_CONTEXT
Context represents a match found within a String literal

See Also:
Constant Field Values

COMMENT_CONTEXT

public static final int COMMENT_CONTEXT
Context represents a match found within a comment

See Also:
Constant Field Values

GENERIC_CONTEXT

public static final int GENERIC_CONTEXT
Context that does not have a basis in either a String literal or a comment

See Also:
Constant Field Values
Method Detail

getMatchContext

public int getMatchContext()
Returns:
the match context where this IOccurrence is found

getText

public java.lang.String getText()
Returns:
the text of this IOccurrence