com.google.streamhtmlparser
Interface JavascriptParser

All Superinterfaces:
Parser
All Known Implementing Classes:
JavascriptParserImpl

public interface JavascriptParser
extends Parser

Methods exposed for Javascript parsing of text to facilitate implementation of Automatic context-aware escaping. This interface does not add additional methods on top of Parser for the time being, it simply exposes the states in which the Javascript parser may be in.

Note: These are the exact states exposed in the original C++ Parser.


Field Summary
static ExternalState STATE_COMMENT
           
static ExternalState STATE_DQ
           
static ExternalState STATE_Q
           
static ExternalState STATE_REGEXP
           
static ExternalState STATE_TEXT
           
 
Fields inherited from interface com.google.streamhtmlparser.Parser
STATE_ERROR
 
Method Summary
 
Methods inherited from interface com.google.streamhtmlparser.Parser
getColumnNumber, getLineNumber, getState, parse, parse, reset, setColumnNumber, setLineNumber
 

Field Detail

STATE_TEXT

static final ExternalState STATE_TEXT

STATE_Q

static final ExternalState STATE_Q

STATE_DQ

static final ExternalState STATE_DQ

STATE_REGEXP

static final ExternalState STATE_REGEXP

STATE_COMMENT

static final ExternalState STATE_COMMENT


Copyright © 2010-2012 Google. All Rights Reserved.