org.htmlparser.tags
Class FrameTag
- Cloneable, Node, Serializable, Tag
Identifies a frame tag
String | getFrameLocation()- Returns the location of the frame.
|
String | getFrameName()- Get the
NAME attribute, if any.
|
String[] | getIds()- Return the set of names handled by this tag.
|
void | setFrameLocation(String url)- Sets the location of the frame.
|
String | toString()- Return a string representation of the contents of this
FRAME tag suitable for debugging.
|
accept, breaksFlow, getAttribute, getAttributeEx, getAttributesEx, getEndTag, getEndTagEnders, getEnders, getEndingLineNumber, getIds, getRawTagName, getStartingLineNumber, getTagBegin, getTagEnd, getTagName, getText, getThisScanner, isEmptyXmlTag, isEndTag, removeAttribute, setAttribute, setAttribute, setAttribute, setAttributeEx, setAttributesEx, setEmptyXmlTag, setEndTag, setTagBegin, setTagEnd, setTagName, setText, setThisScanner, toHtml, toPlainTextString, toString |
accept, clone, collectInto, doSemanticAction, getChildren, getEndPosition, getFirstChild, getLastChild, getNextSibling, getPage, getParent, getPreviousSibling, getStartPosition, getText, setChildren, setEndPosition, setPage, setParent, setStartPosition, setText, toHtml, toHtml, toPlainTextString, toString |
FrameTag
public FrameTag()
Create a new frame tag.
getFrameLocation
public String getFrameLocation()
Returns the location of the frame.
- The contents of the SRC attribute converted to an absolute URL.
getFrameName
public String getFrameName()
Get the NAME attribute, if any.
- The value of the
NAME attribute,
or null if the attribute doesn't exist.
getIds
public String[] getIds()
Return the set of names handled by this tag.
- getIds in interface Tag
- getIds in interface TagNode
- The names to be matched that create tags of this type.
setFrameLocation
public void setFrameLocation(String url)
Sets the location of the frame.
url - The new frame location.
toString
public String toString()
Return a string representation of the contents of this FRAME tag suitable for debugging.
- toString in interface Node
- toString in interface TagNode
- A string with this tag's contents.
| © 2005 Derrick Oswald Mai 08, 2008 |
| HTML Parser is an open source library released under LGPL. |  |