java.lang.Object
org.htmlparser.tags.data.TagData
- public class TagData
- extends java.lang.Object
|
Constructor Summary |
TagData(int tagBegin,
int tagEnd,
int startLine,
int endLine,
java.lang.String tagContents,
java.lang.String tagLine,
java.lang.String urlBeingParsed,
boolean isXmlEndTag)
|
TagData(int tagBegin,
int tagEnd,
java.lang.String tagContents,
java.lang.String tagLine)
|
TagData(int tagBegin,
int tagEnd,
java.lang.String tagContents,
java.lang.String tagLine,
java.lang.String urlBeingParsed)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tagBegin
private int tagBegin
tagEnd
private int tagEnd
startLine
private int startLine
endLine
private int endLine
tagContents
private java.lang.String tagContents
tagLine
private java.lang.String tagLine
urlBeingParsed
private java.lang.String urlBeingParsed
isXmlEndTag
private boolean isXmlEndTag
TagData
public TagData(int tagBegin,
int tagEnd,
java.lang.String tagContents,
java.lang.String tagLine)
TagData
public TagData(int tagBegin,
int tagEnd,
java.lang.String tagContents,
java.lang.String tagLine,
java.lang.String urlBeingParsed)
TagData
public TagData(int tagBegin,
int tagEnd,
int startLine,
int endLine,
java.lang.String tagContents,
java.lang.String tagLine,
java.lang.String urlBeingParsed,
boolean isXmlEndTag)
getTagBegin
public int getTagBegin()
getTagContents
public java.lang.String getTagContents()
getTagEnd
public int getTagEnd()
getTagLine
public java.lang.String getTagLine()
setTagContents
public void setTagContents(java.lang.String tagContents)
getUrlBeingParsed
public java.lang.String getUrlBeingParsed()
setUrlBeingParsed
public void setUrlBeingParsed(java.lang.String baseUrl)
isEmptyXmlTag
public boolean isEmptyXmlTag()
getStartLine
public int getStartLine()
- Returns the line number where the tag starts in the HTML. At the moment
this will only be valid for tags created with the
CompositeTagScanner or a subclass of it.
getEndLine
public int getEndLine()
- Returns the line number where the tag ends in the HTML. At the moment
this will only be valid for tags created with the
CompositeTagScanner or a subclass of it.