com.raritantechnologies.HTML.filter
Class HTMLTagEvent
java.lang.Object
com.raritantechnologies.HTML.filter.HTMLEvent
com.raritantechnologies.HTML.filter.HTMLTagEvent
- public class HTMLTagEvent
- extends HTMLEvent
Represents the occurrence of a tag within an HTML stream. Works with a
HTMLFilter
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
|
Constructor Summary |
HTMLTagEvent(int type,
javax.swing.text.html.HTML.Tag tag,
javax.swing.text.MutableAttributeSet mutableAttrSet,
int pos)
|
HTMLTagEvent(int type,
java.lang.String tagName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLTagEvent
public HTMLTagEvent(int type,
javax.swing.text.html.HTML.Tag tag,
javax.swing.text.MutableAttributeSet mutableAttrSet,
int pos)
HTMLTagEvent
public HTMLTagEvent(int type,
java.lang.String tagName)
getType
public int getType()
- Specified by:
getType in class HTMLEvent
getHTML
public java.lang.String getHTML()
- Specified by:
getHTML in class HTMLEvent
getTag
public javax.swing.text.html.HTML.Tag getTag()
addAttribute
public void addAttribute(java.lang.String attrName,
java.lang.String attrVal)
addAttribute
public void addAttribute(java.lang.Object attrName,
java.lang.String attrVal)
removeAttribute
public void removeAttribute(java.lang.String attrName)
getAttribute
public java.lang.Object getAttribute(java.lang.String attrName)