|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.util.report.link.AbstractLinkConstructorStrategy de.smartics.maven.util.report.link.strategy.SingleDocumentLinkConstructorStrategy
public class SingleDocumentLinkConstructorStrategy
Constructs a link to a document that contains all package, type and member information.
Field Summary |
---|
Fields inherited from class de.smartics.maven.util.report.link.AbstractLinkConstructorStrategy |
---|
config |
Constructor Summary | |
---|---|
SingleDocumentLinkConstructorStrategy(LinkConstructorStrategyConfig config) Default constructor. |
Method Summary | |
---|---|
protected void |
addPackagePart(StringBuilder buffer, String packageName) Adds the package part of the link. |
protected void |
appendBasePathSeparator(StringBuilder buffer) Appends the separator between the base path and the package part. |
protected void |
appendMemberPart(StringBuilder buffer, String memberName) Adds the member part of the link if the configuration requires the member part to be rendered. |
protected void |
appendTypePart(StringBuilder buffer, String typeName) Adds the type part of the link. |
protected void |
constructFilePath(StringBuilder buffer, JavaElementRef ref) |
Methods inherited from class de.smartics.maven.util.report.link.AbstractLinkConstructorStrategy |
---|
addQualifiedType, appendMemberPart, constructLink, getConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleDocumentLinkConstructorStrategy(LinkConstructorStrategyConfig config)
config
- the configuration of this strategy instance.
Method Detail |
---|
protected void appendBasePathSeparator(StringBuilder buffer)
appendBasePathSeparator
in class
AbstractLinkConstructorStrategy
buffer
- the buffer to append to.
protected void addPackagePart(StringBuilder buffer, String packageName)
addPackagePart
in class
AbstractLinkConstructorStrategy
buffer
- the buffer to append to.
packageName
- the name of the package to render.
AbstractLinkConstructorStrategy.addPackagePart(java.lang.StringBuilder, java.lang.String)
protected void appendTypePart(StringBuilder buffer, String typeName)
appendTypePart
in class
AbstractLinkConstructorStrategy
buffer
- the buffer to append to.
typeName
- the name of the package to render.
protected void appendMemberPart(StringBuilder buffer, String memberName)
buffer
- the buffer to append to.
memberName
- the name of the memberName to render.
protected void constructFilePath(StringBuilder buffer, JavaElementRef ref)
constructFilePath
in class
AbstractLinkConstructorStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |