java.lang.Object
org.htmlparser.Node
org.htmlparser.tags.Tag
org.htmlparser.tags.JspTag
- All Implemented Interfaces:
- java.io.Serializable
- public class JspTag
- extends Tag
The JSP/ASP tags like <%...%> can be identified by this
class.
|
Method Summary |
java.lang.String |
toHtml()
A call to a tag's toHTML() method will render it in HTML Most tags that
do not have children and inherit from Tag, do not need to override
toHTML(). |
java.lang.String |
toString()
Print the contents of the remark tag. |
| Methods inherited from class org.htmlparser.tags.Tag |
accept, append, append, breaksFlow, collectInto, extractWord, find, getAttribute, getAttributes, getParameter, getParsed, getTagBegin, getTagEnd, getTagEndLine, getTagLine, getTagLines, getTagName, getTagStartLine, getText, getThisScanner, getType, isEmptyXmlTag, redoParseAttributes, scan, setAttribute, setAttributes, setEmptyXmlTag, setTagBegin, setTagEnd, setTagLine, setTagParser, setText, setThisScanner, toPlainTextString |
JspTag
public JspTag(org.htmlparser.tags.data.TagData tagData)
- The HTMLJspTag is constructed by providing the beginning posn, ending
posn and the tag contents.
toHtml
public java.lang.String toHtml()
- Description copied from class:
Tag
- A call to a tag's toHTML() method will render it in HTML Most tags that
do not have children and inherit from Tag, do not need to override
toHTML().
- Overrides:
toHtml in class Tag
toString
public java.lang.String toString()
- Print the contents of the remark tag.
- Overrides:
toString in class Tag