Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.tags.data
Class TagData  view TagData download TagData.java

java.lang.Object
  extended byorg.htmlparser.tags.data.TagData

public class TagData
extends java.lang.Object


Field Summary
private  int endLine
           
private  boolean isXmlEndTag
           
private  int startLine
           
private  int tagBegin
           
private  java.lang.String tagContents
           
private  int tagEnd
           
private  java.lang.String tagLine
           
private  java.lang.String urlBeingParsed
           
 
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)
           
 
Method Summary
 int getEndLine()
          Returns the line number where the tag ends in the HTML.
 int getStartLine()
          Returns the line number where the tag starts in the HTML.
 int getTagBegin()
           
 java.lang.String getTagContents()
           
 int getTagEnd()
           
 java.lang.String getTagLine()
           
 java.lang.String getUrlBeingParsed()
           
 boolean isEmptyXmlTag()
           
 void setTagContents(java.lang.String tagContents)
           
 void setUrlBeingParsed(java.lang.String baseUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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.