Package org.java.plugin.tools.mocks
Class MockDocumentation<T extends Identity>
java.lang.Object
org.java.plugin.tools.mocks.MockDocumentation<T>
- Type Parameters:
T- documentation owner element type
- All Implemented Interfaces:
Documentation<T>
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.java.plugin.registry.Documentation
Documentation.Reference<E extends Identity> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddReference(Documentation.Reference<T> reference) getText()setCaption(String value) setDeclaringIdentity(T value)
-
Constructor Details
-
MockDocumentation
public MockDocumentation()
-
-
Method Details
-
getCaption
- Specified by:
getCaptionin interfaceDocumentation<T extends Identity>- Returns:
- plug-in element caption or empty string
- See Also:
-
setCaption
- Parameters:
value- the caption to set- Returns:
- this instance
-
getDeclaringIdentity
- Specified by:
getDeclaringIdentityin interfaceDocumentation<T extends Identity>- Returns:
- element, for which this documentation is provided
- See Also:
-
setDeclaringIdentity
- Parameters:
value- the declaring identity to set- Returns:
- this instance
-
getReferences
- Specified by:
getReferencesin interfaceDocumentation<T extends Identity>- Returns:
- collection of
referencesin this documentation - See Also:
-
addReference
- Parameters:
reference- reference to add- Returns:
- this instance
-
getText
- Specified by:
getTextin interfaceDocumentation<T extends Identity>- Returns:
- main documentation text or empty string
- See Also:
-
setText
- Parameters:
value- the text to set- Returns:
- this instance
-