|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.utils.InlineJavadocTags
public final class InlineJavadocTags
Parses the Javadoc body and returns the tags and text fragments as an iterator.
Field Summary | |
---|---|
static String |
TEXT_DOCLET_NAME The identifier of doclets that only contain text. |
Constructor Summary | |
---|---|
InlineJavadocTags(com.thoughtworks.qdox.model.JavaAnnotatedElement element) Default constructor. |
Method Summary | |
---|---|
static boolean |
isText(com.thoughtworks.qdox.model.DocletTag tag) Checks if the given tag is a simple text element. |
Iterator<com.thoughtworks.qdox.model.DocletTag> |
iterator() Parses the Javadoc body and returns the tags and text fragments as an iterator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TEXT_DOCLET_NAME
"{text}"
Constructor Detail |
---|
public InlineJavadocTags(com.thoughtworks.qdox.model.JavaAnnotatedElement element) throws NullPointerException
element
- the annotated element whose Javadoc comment is to be parsed.
NullPointerException
- if
element
is
null
.
Method Detail |
---|
public Iterator<com.thoughtworks.qdox.model.DocletTag> iterator()
iterator
in interface
Iterable<com.thoughtworks.qdox.model.DocletTag>
public static boolean isText(com.thoughtworks.qdox.model.DocletTag tag) throws NullPointerException
tag
- the tag to test.
true
if the tag is only a text,
false
if it is a doclet tag.
NullPointerException
- if
tag
is
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |