com.adventnet.html.staticssi
Class SSITags

java.lang.Object
  extended by com.adventnet.html.staticssi.SSITags

public class SSITags
extends java.lang.Object

This class maintains a list of SSI tags supported by this version. Methods are provided to check the given tag is an SSI tag and its syntax also.


Constructor Summary
SSITags()
           
 
Method Summary
static boolean isSSIEchoTag(java.lang.String token)
          Compares the given token for SSI_ECHO_TAG.
static boolean isSSIEndTag(java.lang.String token)
          Compares the given token for SSI_END_TAG.
static boolean isSSIExecTag(java.lang.String token)
          Compares the given token for SSI_EXEC_TAG.
static boolean isSSIFLastModTag(java.lang.String token)
          Compares the given token for SSI_FLASTMODIFIED_TAG.
static boolean isSSIFSizeTag(java.lang.String token)
          Compares the given token for SSI_FSIZE_TAG.
static boolean isSSIGetTableTag(java.lang.String token)
          Compares the given token for SSI_GETTABLE_TAG.
static boolean isSSIGetTag(java.lang.String token)
          Compares the given token for SSI_GET_TAG.
static boolean isSSIGotoTag(java.lang.String token)
          Compares the given token for SSI_GOTO_TAG.
static boolean isSSIIfTag(java.lang.String token)
          Compares the given token for SSI_IF_TAG.
static boolean isSSIIncludeTag(java.lang.String token)
          Compares the given token for SSI_INCLUDE_TAG.
static boolean isSSILabelTag(java.lang.String token)
          Compares the given token for SSI_LABEL_TAG.
static boolean isSSIStartTag(java.lang.String token)
          Compares the given token for SSI_START_TAG.
static boolean isSSIVarTag(java.lang.String token)
          Compares the given token for SSI_VAR_TAG.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSITags

public SSITags()
Method Detail

isSSIStartTag

public static final boolean isSSIStartTag(java.lang.String token)
Compares the given token for SSI_START_TAG.

Parameters:
token - to compare for SSI_START_TAG.
Returns:
true if the token SSI_START_TAG, otherwise false will be returned.

isSSIEndTag

public static final boolean isSSIEndTag(java.lang.String token)
Compares the given token for SSI_END_TAG.

Parameters:
token - to compare for SSI_END_TAG.
Returns:
true if the token SSI_END_TAG, otherwise false will be returned.

isSSIIfTag

public static final boolean isSSIIfTag(java.lang.String token)
Compares the given token for SSI_IF_TAG.

Parameters:
token - to compare for SSI_IF_TAG.
Returns:
true if the token SSI_IF_TAG, otherwise false will be returned.

isSSIGotoTag

public static final boolean isSSIGotoTag(java.lang.String token)
Compares the given token for SSI_GOTO_TAG.

Parameters:
token - to compare for SSI_GOTO_TAG.
Returns:
true if the token SSI_GOTO_TAG, otherwise false will be returned.

isSSILabelTag

public static final boolean isSSILabelTag(java.lang.String token)
Compares the given token for SSI_LABEL_TAG.

Parameters:
token - to compare for SSI_LABEL_TAG.
Returns:
true if the token SSI_LABEL_TAG, otherwise false will be returned.

isSSIVarTag

public static final boolean isSSIVarTag(java.lang.String token)
Compares the given token for SSI_VAR_TAG.

Parameters:
token - to compare for SSI_VAR_TAG.
Returns:
true if the token SSI_VAR_TAG, otherwise false will be returned.

isSSIExecTag

public static final boolean isSSIExecTag(java.lang.String token)
Compares the given token for SSI_EXEC_TAG.

Parameters:
token - to compare for SSI_EXEC_TAG.
Returns:
true if the token SSI_EXEC_TAG, otherwise false will be returned.

isSSIEchoTag

public static final boolean isSSIEchoTag(java.lang.String token)
Compares the given token for SSI_ECHO_TAG.

Parameters:
token - to compare for SSI_ECHO_TAG.
Returns:
true if the token SSI_ECHO_TAG, otherwise false will be returned.

isSSIIncludeTag

public static final boolean isSSIIncludeTag(java.lang.String token)
Compares the given token for SSI_INCLUDE_TAG.

Parameters:
token - to compare for SSI_INCLUDE_TAG.
Returns:
true if the token SSI_INCLUDE_TAG, otherwise false will be returned.

isSSIFSizeTag

public static final boolean isSSIFSizeTag(java.lang.String token)
Compares the given token for SSI_FSIZE_TAG.

Parameters:
token - to compare for SSI_FSIZE_TAG.
Returns:
true if the token SSI_FSIZE_TAG, otherwise false will be returned.

isSSIFLastModTag

public static final boolean isSSIFLastModTag(java.lang.String token)
Compares the given token for SSI_FLASTMODIFIED_TAG.

Parameters:
token - to compare for SSI_FLASTMODIFIED_TAG.
Returns:
true if the token SSI_FLASTMODIFIED_TAG, otherwise false will be returned.

isSSIGetTableTag

public static final boolean isSSIGetTableTag(java.lang.String token)
Compares the given token for SSI_GETTABLE_TAG.

Parameters:
token - to compare for SSI_GETTABLE_TAG.
Returns:
true if the token SSI_GETTABLE_TAG, otherwise false will be returned.

isSSIGetTag

public static final boolean isSSIGetTag(java.lang.String token)
Compares the given token for SSI_GET_TAG.

Parameters:
token - to compare for SSI_GET_TAG.
Returns:
true if the token SSI_GET_TAG, otherwise false will be returned.