public class TagHandler extends Object
Constructor and Description |
---|
TagHandler() |
Modifier and Type | Method and Description |
---|---|
protected String |
closeTag(String tag) |
protected String |
defaultEntity(String entity) |
protected String |
entity(String entity) |
static void |
main(String[] args) |
protected String |
openTag(String tag) |
String |
parse(TagString string)
parses string and calls methods for every tag and every not recognized
entity The characters < and > have to be written as < and > while
the & is written as &
The following three methods are called: defaultEntity(entity) for &
< > " ' entity(entity) for all other entities
openTag(tag) for all
|
protected String |
text(String text) |
public String parse(TagString string)
public static void main(String[] args)
Copyright © 2014. All rights reserved.