de.smartics.maven.util.report.link.strategy
Class FilePathLinkConstructorStrategy

Package class diagram package FilePathLinkConstructorStrategy
java.lang.Object
  extended by de.smartics.maven.util.report.link.AbstractLinkConstructorStrategy
      extended by de.smartics.maven.util.report.link.strategy.FilePathLinkConstructorStrategy
All Implemented Interfaces:
LinkConstructorStrategy

public class FilePathLinkConstructorStrategy
     
     
extends AbstractLinkConstructorStrategy

Constructs a link to a document whose name is constructed from the package and type and whose member is optionally referenced within the document.


Field Summary
 
Fields inherited from class de.smartics.maven.util.report.link.AbstractLinkConstructorStrategy
config
 
Constructor Summary
FilePathLinkConstructorStrategy(LinkConstructorStrategyConfig config)
          Default constructor.
 
Method Summary
protected  void addPackagePart(StringBuilder buffer, String packageName)
          Adds the package part of the link.
 
Methods inherited from class de.smartics.maven.util.report.link.AbstractLinkConstructorStrategy
addQualifiedType, appendBasePathSeparator, appendMemberPart, appendTypePart, constructFilePath, constructLink, getConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePathLinkConstructorStrategy

public FilePathLinkConstructorStrategy(LinkConstructorStrategyConfig config)
Default constructor.

Parameters:
config - the configuration of this strategy instance.
Method Detail

addPackagePart

protected void addPackagePart(StringBuilder buffer,
                              String packageName)
Adds the package part of the link.

Specified by:
addPackagePart in class AbstractLinkConstructorStrategy
Parameters:
buffer - the buffer to append to.
packageName - the name of the package to render.
See Also:
AbstractLinkConstructorStrategy.addPackagePart(java.lang.StringBuilder, java.lang.String)


Copyright © 2006-2012 Kronseder & Reiner GmbH - smartics. All Rights Reserved.