Interface ITag
- All Known Implementing Classes:
JerichoTag
public interface ITag
- Author:
- danielk Data structure representing an HTML tag, with its attributes and content. Used by the HTML parser when calling the callback.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeByName
(String name) Retrieves a specific attributeReturns the starting line number of the tag.getName()
-
Method Details
-
getName
String getName()- Returns:
- tag's name (e.g., "HEAD" / "HTML" / "FORM")
-
getAttributeByName
Retrieves a specific attribute- Returns:
- null if there is no such attribute
-
getAllAttributes
Map<String,Pair<String, getAllAttributes()CAstSourcePositionMap.Position>> -
getElementPosition
CAstSourcePositionMap.Position getElementPosition()Returns the starting line number of the tag.- Returns:
- null if no known
-
getContentPosition
CAstSourcePositionMap.Position getContentPosition()
-