Package com.gurock.smartinspect
Class SourceId
- java.lang.Object
-
- com.gurock.smartinspect.Enum
-
- com.gurock.smartinspect.SourceId
-
public final class SourceId extends Enum
Used in the logSource methods of the Session class to specify the type of source code.This class is fully thread-safe.
-
-
Field Summary
Fields Modifier and Type Field Description static SourceIdHtmlInstructs the logSource methods of the Session class to choose syntax highlighting for HTML.static SourceIdIniInstructs the logSource methods of the Session class to choose syntax highlighting for INI files.static SourceIdJavaScriptInstructs the logSource methods of the Session class to choose syntax highlighting for JavaScript.static SourceIdPerlInstructs the logSource methods of the Session class to choose syntax highlighting for Perl.static SourceIdPythonInstructs the logSource methods of the Session class to choose syntax highlighting for Python.static SourceIdSqlInstructs the logSource methods of the Session class to choose syntax highlighting for SQL.static SourceIdVbScriptInstructs the logSource methods of the Session class to choose syntax highlighting for VBScript.static SourceIdXmlInstructs the logSource methods of the Session class to choose syntax highlighting for XML.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Overridden.ViewerIdtoViewerId()Returns the related viewer ID for this object.-
Methods inherited from class com.gurock.smartinspect.Enum
equals, getIntValue, greater, greaterEqual, less, lessEqual
-
-
-
-
Field Detail
-
Html
public static final SourceId Html
Instructs the logSource methods of the Session class to choose syntax highlighting for HTML.
-
JavaScript
public static final SourceId JavaScript
Instructs the logSource methods of the Session class to choose syntax highlighting for JavaScript.
-
VbScript
public static final SourceId VbScript
Instructs the logSource methods of the Session class to choose syntax highlighting for VBScript.
-
Perl
public static final SourceId Perl
Instructs the logSource methods of the Session class to choose syntax highlighting for Perl.
-
Sql
public static final SourceId Sql
Instructs the logSource methods of the Session class to choose syntax highlighting for SQL.
-
Ini
public static final SourceId Ini
Instructs the logSource methods of the Session class to choose syntax highlighting for INI files.
-
Python
public static final SourceId Python
Instructs the logSource methods of the Session class to choose syntax highlighting for Python.
-
Xml
public static final SourceId Xml
Instructs the logSource methods of the Session class to choose syntax highlighting for XML.
-
-