org.makumba.analyser
Class TagData

java.lang.Object
  extended by org.makumba.analyser.ElementData
      extended by org.makumba.analyser.TagData
All Implemented Interfaces:
Serializable

public class TagData
extends ElementData
implements Serializable

A composite object passed to the analyzers.

Version:
$Id: TagData.java 4999 2010-05-10 21:39:57Z rosso_nero $
Author:
Cristian Bogdan, Manuel Gay, Rudolf Mayer
See Also:
Serialized Form

Field Summary
 Map<String,String> attributes
          Tag attributes
 TagData closingTagData
          The TagData of the tag closing element
 String name
          Name of the tag
 int nodeNumber
          Number of the node in the graph of tags of the page *
 AnalysableTag tagObject
          Tag object, if one is created by the analyzer
 
Fields inherited from class org.makumba.analyser.ElementData
endColumn, endLine, sourceSyntaxPoints, startColumn, startLine
 
Constructor Summary
TagData(String name, SyntaxPoint start, SyntaxPoint end, Map<String,String> attributes)
           
 
Method Summary
 boolean afterClosing(TagData el)
          Checks whether this ElementData is declared after the closing tag of the given ElementData
 AnalysableTag getTagObject()
           
 void setClosingTagData(TagData closingTagData)
           
 String toString()
           
 
Methods inherited from class org.makumba.analyser.ElementData
after, before, getEndColumn, getEndLine, getLocation, getSourceSyntaxPoints, getStartColumn, getStartLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name
Name of the tag


nodeNumber

public int nodeNumber
Number of the node in the graph of tags of the page *


attributes

public Map<String,String> attributes
Tag attributes


tagObject

public AnalysableTag tagObject
Tag object, if one is created by the analyzer


closingTagData

public TagData closingTagData
The TagData of the tag closing element

Constructor Detail

TagData

public TagData(String name,
               SyntaxPoint start,
               SyntaxPoint end,
               Map<String,String> attributes)
Method Detail

getTagObject

public AnalysableTag getTagObject()

toString

public String toString()
Overrides:
toString in class Object

afterClosing

public boolean afterClosing(TagData el)
Checks whether this ElementData is declared after the closing tag of the given ElementData


setClosingTagData

public void setClosingTagData(TagData closingTagData)