945 |
* This tag is not included into the array, returned by getAllTags(). |
* This tag is not included into the array, returned by getAllTags(). |
946 |
* toString() returns 'comment'. HTML reader synthesizes this tag. |
* toString() returns 'comment'. HTML reader synthesizes this tag. |
947 |
*/ |
*/ |
948 |
public static final Tag COMMENT = new Tag("comment", SYNTETIC); |
public static final Tag COMMENT = new Tag("comment", SYNTHETIC); |
949 |
|
|
950 |
/** |
/** |
951 |
* All text content is labeled with this tag. |
* All text content is labeled with this tag. |
952 |
* This tag is not included into the array, returned by getAllTags(). |
* This tag is not included into the array, returned by getAllTags(). |
953 |
* toString() returns 'content'. HTML reader synthesizes this tag. |
* toString() returns 'content'. HTML reader synthesizes this tag. |
954 |
*/ |
*/ |
955 |
public static final Tag CONTENT = new Tag("content", SYNTETIC); |
public static final Tag CONTENT = new Tag("content", SYNTHETIC); |
956 |
|
|
957 |
/** |
/** |
958 |
* All text content must be in a paragraph element. |
* All text content must be in a paragraph element. |
959 |
* If a paragraph didn't exist when content was encountered, |
* If a paragraph didn't exist when content was encountered, |
960 |
* a paragraph is manufactured. |
* a paragraph is manufactured. |
961 |
* toString() returns 'implied'. HTML reader synthesizes this tag. |
* toString() returns 'p-implied'. HTML reader synthesizes this tag. |
962 |
*/ |
*/ |
963 |
public static final Tag IMPLIED = new Tag("p-implied", SYNTETIC); |
public static final Tag IMPLIED = new Tag("p-implied", SYNTHETIC); |
964 |
final String name; |
final String name; |
965 |
final int flags; |
final int flags; |
966 |
|
|
1144 |
*/ |
*/ |
1145 |
boolean isSyntetic() |
boolean isSyntetic() |
1146 |
{ |
{ |
1147 |
return (flags & SYNTETIC) != 0; |
return (flags & SYNTHETIC) != 0; |
1148 |
} |
} |
1149 |
|
|
1150 |
private static void unexpected(Exception ex) |
private static void unexpected(Exception ex) |
1185 |
static final int BREAKS = 1; |
static final int BREAKS = 1; |
1186 |
static final int BLOCK = 2; |
static final int BLOCK = 2; |
1187 |
static final int PREFORMATTED = 4; |
static final int PREFORMATTED = 4; |
1188 |
static final int SYNTETIC = 8; |
static final int SYNTHETIC = 8; |
1189 |
private static Map tagMap; |
private static Map tagMap; |
1190 |
private static Map attrMap; |
private static Map attrMap; |
1191 |
|
|