org.teleal.lemma.reader.javadoc
Class JavadocReader
java.lang.Object
org.teleal.lemma.reader.AbstractReader
org.teleal.lemma.reader.javadoc.AbstractJavadocReader
org.teleal.lemma.reader.javadoc.JavadocReader
- All Implemented Interfaces:
- Reader
public class JavadocReader
- extends AbstractJavadocReader
Reads title and content from a Javadoc Doc, handles javadoc:// scheme.
This reader understands the individual Javadoc "tags", it wraps
these individual parts of each Javadoc comment and validates the whole.
- Author:
- Christian Bauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavadocReader
public JavadocReader()
read
protected org.teleal.common.xhtml.XHTML read(CitationAnchor citation,
Context context,
com.sun.javadoc.RootDoc rootDoc)
- Specified by:
read in class AbstractJavadocReader
read
protected org.teleal.common.xhtml.XHTML read(com.sun.javadoc.Doc doc,
CitationAnchor citation)
readTitle
protected String readTitle(com.sun.javadoc.Doc doc,
CitationAnchor citation)
appendContent
protected void appendContent(org.teleal.common.xhtml.XHTMLElement parent,
com.sun.javadoc.Doc doc,
CitationAnchor citation,
String titleString)
readTags
protected String readTags(com.sun.javadoc.Tag[] tags)
readTagText
protected String readTagText(com.sun.javadoc.Tag tag)
readTagSee
protected String readTagSee(com.sun.javadoc.SeeTag seeTag)
readTagCode
protected String readTagCode(com.sun.javadoc.Tag tag)
getLinkReferenceAddress
protected AnchorAddress getLinkReferenceAddress(com.sun.javadoc.SeeTag tag)
getLinkReference
protected String getLinkReference(com.sun.javadoc.SeeTag tag,
AnchorAddress address)
getLinkLabel
protected String getLinkLabel(com.sun.javadoc.SeeTag tag)
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.