Searched refs:HtmlParser (Results 1 – 5 of 5) sorted by relevance
/external/jsilver/src/com/google/streamhtmlparser/ |
D | HtmlParserFactory.java | 77 private static final HtmlParser parserInDefaultAttr = createParser(); 78 private static final HtmlParser parserInDefaultAttrQ = createParser(); 79 private static final HtmlParser parserInUriAttrComplete = createParser(); 80 private static final HtmlParser parserInUriAttrQComplete = createParser(); 81 private static final HtmlParser parserInUriAttrPartial = createParser(); 82 private static final HtmlParser parserInUriAttrQPartial = createParser(); 83 private static final HtmlParser parserInJsAttr = createParser(); 84 private static final HtmlParser parserInJsAttrQ = createParser(); 85 private static final HtmlParser parserInQJsAttr = createParser(); 86 private static final HtmlParser parserInStyleAttr = createParser(); [all …]
|
D | HtmlParser.java | 29 public interface HtmlParser extends Parser { interface 251 public void resetMode(HtmlParser.Mode mode); in resetMode()
|
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/ |
D | AutoEscapeContext.java | 37 import com.google.streamhtmlparser.HtmlParser; 81 public static final Map<String, HtmlParser.Mode> CONTENT_TYPE_LIST; 89 private HtmlParser htmlParser; 101 CONTENT_TYPE_LIST = new HashMap<String, HtmlParser.Mode>(); 102 CONTENT_TYPE_LIST.put("text/html", HtmlParser.Mode.HTML); 103 CONTENT_TYPE_LIST.put("text/plain", HtmlParser.Mode.HTML); 104 CONTENT_TYPE_LIST.put("application/javascript", HtmlParser.Mode.JS); 105 CONTENT_TYPE_LIST.put("application/json", HtmlParser.Mode.JS); 106 CONTENT_TYPE_LIST.put("text/javascript", HtmlParser.Mode.JS); 107 CONTENT_TYPE_LIST.put("text/css", HtmlParser.Mode.CSS); [all …]
|
/external/jsilver/src/com/google/streamhtmlparser/impl/ |
D | HtmlParserImpl.java | 22 import com.google.streamhtmlparser.HtmlParser; 47 public class HtmlParserImpl extends GenericParser implements HtmlParser { 679 registerMapping(InternalState.INTERNAL_ERROR_STATE, HtmlParser.STATE_ERROR); in initializeStateMapping() 681 registerMapping(TEXT, HtmlParser.STATE_TEXT); in initializeStateMapping() 682 registerMapping(TAG_START, HtmlParser.STATE_TAG); in initializeStateMapping() 683 registerMapping(TAG_NAME, HtmlParser.STATE_TAG); in initializeStateMapping() 684 registerMapping(DECL_START, HtmlParser.STATE_TEXT); in initializeStateMapping() 685 registerMapping(DECL_BODY, HtmlParser.STATE_TEXT); in initializeStateMapping() 686 registerMapping(COM_OPEN, HtmlParser.STATE_TEXT); in initializeStateMapping() 687 registerMapping(COM_BODY, HtmlParser.STATE_COMMENT); in initializeStateMapping() [all …]
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | htmllexergolden1.txt | 15 TEXT [Test File For HtmlLexer & HtmlParser] : 157-197
|