com.google.caja.lexer
Enum HtmlInputSplitter.State
java.lang.Object
java.lang.Enum<HtmlInputSplitter.State>
com.google.caja.lexer.HtmlInputSplitter.State
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HtmlInputSplitter.State>
- Enclosing class:
- HtmlInputSplitter
private static enum HtmlInputSplitter.State
- extends java.lang.Enum<HtmlInputSplitter.State>
States for a state machine for optimistically identifying tags and other
html/xml/phpish structures.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
TAGNAME
public static final HtmlInputSplitter.State TAGNAME
SLASH
public static final HtmlInputSplitter.State SLASH
BANG
public static final HtmlInputSplitter.State BANG
CDATA
public static final HtmlInputSplitter.State CDATA
CDATA_SQ_1
public static final HtmlInputSplitter.State CDATA_SQ_1
CDATA_SQ_2
public static final HtmlInputSplitter.State CDATA_SQ_2
BANG_DASH
public static final HtmlInputSplitter.State BANG_DASH
COMMENT
public static final HtmlInputSplitter.State COMMENT
COMMENT_DASH
public static final HtmlInputSplitter.State COMMENT_DASH
COMMENT_DASH_DASH
public static final HtmlInputSplitter.State COMMENT_DASH_DASH
DIRECTIVE
public static final HtmlInputSplitter.State DIRECTIVE
DONE
public static final HtmlInputSplitter.State DONE
APP_DIRECTIVE
public static final HtmlInputSplitter.State APP_DIRECTIVE
APP_DIRECTIVE_QMARK
public static final HtmlInputSplitter.State APP_DIRECTIVE_QMARK
SERVER_CODE
public static final HtmlInputSplitter.State SERVER_CODE
SERVER_CODE_PCT
public static final HtmlInputSplitter.State SERVER_CODE_PCT
UNESCAPED_LT_BANG
public static final HtmlInputSplitter.State UNESCAPED_LT_BANG
UNESCAPED_LT_BANG_DASH
public static final HtmlInputSplitter.State UNESCAPED_LT_BANG_DASH
ESCAPING_TEXT_SPAN
public static final HtmlInputSplitter.State ESCAPING_TEXT_SPAN
ESCAPING_TEXT_SPAN_DASH
public static final HtmlInputSplitter.State ESCAPING_TEXT_SPAN_DASH
ESCAPING_TEXT_SPAN_DASH_DASH
public static final HtmlInputSplitter.State ESCAPING_TEXT_SPAN_DASH_DASH
values
public static final HtmlInputSplitter.State[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(HtmlInputSplitter.State c : HtmlInputSplitter.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static HtmlInputSplitter.State valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0