public class HTMLScanner extends Object implements Scanner
Modifier and Type | Class and Description |
---|---|
static class |
HTMLScanner.EmbeddedType |
static class |
HTMLScanner.State |
Scanner.Factory, Scanner.Type
Modifier and Type | Field and Description |
---|---|
static Pattern |
AMP |
static Pattern |
ATTR_NAME |
static Pattern |
CDATA_END |
static Pattern |
CDATA_ERROR |
static Pattern |
CDATA_START |
static Pattern |
COMMENT |
static Pattern |
COMMENT2 |
static Pattern |
DOCTYPE |
static Pattern |
END |
static Pattern |
ENTITY |
static Pattern |
EQUAL |
static Pattern |
ERROR |
static String[] |
EVENT_ATTRIBUTES |
static Pattern |
HEX |
static WordList<HTMLScanner.EmbeddedType> |
IN_ATTRIBUTE |
static Pattern |
JAVASCRIPT_INLINE |
static Pattern |
PLAIN |
static Map<String,Pattern> |
PLAIN_STRING_CONTENT |
static Pattern |
PRE_PROCESSOR |
static Pattern |
QUOTE |
static Pattern |
SPACE |
static Pattern |
SPECIAL_COMMENT |
static Pattern |
SPECIAL_SPACE |
static Pattern |
SPECIAL_TAG |
static Pattern |
TAG |
static Pattern |
TAG_END |
static Scanner.Type |
TYPE |
Constructor and Description |
---|
HTMLScanner() |
Modifier and Type | Method and Description |
---|---|
Scanner.Type |
getType() |
void |
scan(StringScanner source,
Encoder encoder,
Map<String,Object> options) |
public static final String[] EVENT_ATTRIBUTES
public static final Pattern ATTR_NAME
public static final Pattern TAG_END
public static final Pattern HEX
public static final Pattern ENTITY
public static final Pattern SPACE
public static final Pattern CDATA_START
public static final Pattern CDATA_END
public static final Pattern CDATA_ERROR
public static final Pattern COMMENT
public static final Pattern DOCTYPE
public static final Pattern PRE_PROCESSOR
public static final Pattern COMMENT2
public static final Pattern TAG
public static final Pattern SPECIAL_TAG
public static final Pattern PLAIN
public static final Pattern ERROR
public static final Pattern EQUAL
public static final Pattern QUOTE
public static final Pattern JAVASCRIPT_INLINE
public static final Pattern AMP
public static final Pattern END
public static final Pattern SPECIAL_SPACE
public static final Pattern SPECIAL_COMMENT
public static final WordList<HTMLScanner.EmbeddedType> IN_ATTRIBUTE
public static final Scanner.Type TYPE
public Scanner.Type getType()
Copyright © 2014 JBoss by Red Hat. All rights reserved.