|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.html.HTMLEditorKit.ParserCallback org.apache.lenya.util.HTMLHandler
public class HTMLHandler
HTML handler class
Field Summary |
---|
Fields inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback |
---|
IMPLIED |
Constructor Summary | |
---|---|
HTMLHandler()
Creates a new HTMLHandler object. |
Method Summary | |
---|---|
java.util.ArrayList |
getAHRefs()
Get a list of a href= |
java.util.ArrayList |
getAllAHRefs()
Get a list of all a href= |
java.util.ArrayList |
getAllImageSrcs()
Get the list of src attributes for all images |
java.util.ArrayList |
getAllLinkHRefs()
Get a list of all links |
java.util.ArrayList |
getImageSrcs()
Get the list of src attributes for images |
java.util.ArrayList |
getLinkHRefs()
Get a list of links |
void |
handleSimpleTag(javax.swing.text.html.HTML.Tag tag,
javax.swing.text.MutableAttributeSet attributes,
int pos)
Handle a simple tag |
void |
handleStartTag(javax.swing.text.html.HTML.Tag tag,
javax.swing.text.MutableAttributeSet attributes,
int pos)
Handle the start tag |
Methods inherited from class javax.swing.text.html.HTMLEditorKit.ParserCallback |
---|
flush, handleComment, handleEndOfLineString, handleEndTag, handleError, handleText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLHandler()
Method Detail |
---|
public void handleStartTag(javax.swing.text.html.HTML.Tag tag, javax.swing.text.MutableAttributeSet attributes, int pos)
handleStartTag
in class javax.swing.text.html.HTMLEditorKit.ParserCallback
tag
- The tagattributes
- The set of attributespos
- The positionpublic void handleSimpleTag(javax.swing.text.html.HTML.Tag tag, javax.swing.text.MutableAttributeSet attributes, int pos)
handleSimpleTag
in class javax.swing.text.html.HTMLEditorKit.ParserCallback
tag
- The tagattributes
- The set of attributespos
- The positionpublic java.util.ArrayList getImageSrcs()
public java.util.ArrayList getAllImageSrcs()
public java.util.ArrayList getLinkHRefs()
public java.util.ArrayList getAllLinkHRefs()
public java.util.ArrayList getAHRefs()
public java.util.ArrayList getAllAHRefs()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |