public class HTMLEvent extends SGMLEvent
HTMLParser to
SGMLParserListeners.Element,
HTMLParser,
SGMLParserListener,
直列化された形式| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
nbsp
True if the cdata is nbsp (no break space).
|
attributes, cdata, CDATA_PARSED, element, ENDTAG_PARSED, id, PARSING_FINISHED, SGML_FIRST, SGML_LAST, STARTTAG_PARSED| コンストラクタと説明 |
|---|
HTMLEvent(HTMLParser parser,
int id)
Constructs a html event with the specified html parser (event source)
and id.
|
HTMLEvent(HTMLParser parser,
int id,
Element element)
Constructs a html event with the specified html parser (event source),
id, and element.
|
HTMLEvent(HTMLParser parser,
int id,
Element element,
java.util.Hashtable attributes)
Constructs a html event with the specified html parser (event source),
id, element, and attributes.
|
HTMLEvent(HTMLParser parser,
int id,
java.lang.String cdata)
Constructs a html event with the specified html parser (event source),
id, and cdata.
|
HTMLEvent(HTMLParser parser,
int id,
java.lang.String cdata,
boolean nbsp)
Constructs a html event with the specified html parser (event source),
id, cdata, and the flag indicating nbsp (no break space).
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
isNbsp()
Checks if the cdata is a nbsp (non break space).
|
getAttributes, getCDATA, getElement, getID, getParserpublic HTMLEvent(HTMLParser parser, int id, Element element, java.util.Hashtable attributes)
parser - the html parser (event source).id - the id.element - the element.attributes - the attributes.java.lang.IllegalArgumentException - if the id is not STARTTAG_PARSED.public HTMLEvent(HTMLParser parser, int id, Element element)
parser - the html parser (event source).id - the id.element - the element.java.lang.IllegalArgumentException - if the id is not ENDTAG_PARSED.public HTMLEvent(HTMLParser parser, int id, java.lang.String cdata)
parser - the html parser (event source).id - the id.cdata - the cdata.java.lang.IllegalArgumentException - if the id is not CDATA_PARSED.public HTMLEvent(HTMLParser parser, int id, java.lang.String cdata, boolean nbsp)
parser - the html parser (event source).id - the id.cdata - the cdata.nbsp - true if the cdata is nbsp (non break space).java.lang.IllegalArgumentException - if the id is not CDATA_PARSED.public HTMLEvent(HTMLParser parser, int id)
parser - the html parser (event source).id - the id.java.lang.IllegalArgumentException - if the id is not PARSING_FINISHED.