23 |
import com.sun.javadoc.*; |
import com.sun.javadoc.*; |
24 |
import java.util.*; |
import java.util.*; |
25 |
|
|
26 |
public abstract class AbstractTagImpl implements Tag { |
public abstract class AbstractTagImpl implements Tag, TagContainer { |
27 |
|
|
28 |
private static final Tag[] emptyTags = new Tag[0]; |
private static final Tag[] emptyTags = new Tag[0]; |
29 |
|
|
41 |
} |
} |
42 |
} |
} |
43 |
|
|
44 |
protected void setBody(String body) { |
protected void setBody(String body, ClassDocImpl contextClass, MemberDocImpl contextMember) { |
45 |
this.tagMap=DocImpl.parseCommentTags(body.toCharArray(), |
this.tagMap=DocImpl.parseCommentTags(body.toCharArray(), |
46 |
0, |
0, |
47 |
body.length(), |
body.length(), |
48 |
null); |
contextClass, |
49 |
|
contextMember, |
50 |
|
this); |
51 |
} |
} |
52 |
|
|
53 |
public Tag[] firstSentenceTags() { |
public Tag[] firstSentenceTags() { |
64 |
public String text() { |
public String text() { |
65 |
return text; |
return text; |
66 |
} |
} |
67 |
|
|
68 |
|
public Map getTagMap() { |
69 |
|
return tagMap; |
70 |
|
} |
71 |
} |
} |