Home | History | Annotate | Download | only in impl

Lines Matching refs:InternalState

35  * <p>The methods to create new <code>InternalState</code> instances are
39 class InternalState {
41 // An InternalState to represent an error condition for all parsers.
42 static final InternalState INTERNAL_ERROR_STATE = new InternalState();
57 private InternalState(String name, int id) {
68 private InternalState() {
93 return String.format("InternalState: Name: %s; Id: %d", name, id);
97 * Obtain a new {@code InternalState} instance for the HTML parser.
100 * @return a new {@code InternalState} object
102 static InternalState getInstanceHtml(String name) {
104 return new InternalState(name, htmlStateId);
108 * Obtain a new <code>InternalState</code> instance for the Javascript parser.
111 * @return a new {@code InternalState} object
113 static InternalState getInstanceJavascript(String name) {
115 return new InternalState(name, javascriptStateId);