org.htmlcleaner
Interface BaseToken
- All Known Subinterfaces:
- HtmlNode
- All Known Implementing Classes:
- BaseTokenImpl, CData, CommentNode, ContentNode, DoctypeToken, EndTagToken, TagNode, TagToken
public interface BaseToken
Base token interface. Tokens are individual entities recognized by HTML parser.
serialize
void serialize(Serializer serializer,
Writer writer)
throws IOException
- Throws:
IOException
getRow
int getRow()
- Returns:
- row in source html where the token was found
setRow
void setRow(int row)
- Parameters:
row
-
getCol
int getCol()
- Returns:
- col in source html where the token was found
setCol
void setCol(int col)
- Parameters:
col
-
Copyright © 2006-2014. All Rights Reserved.