|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.kuleuven.cs.som.taglet.OOPTaglet
be.kuleuven.cs.som.taglet.PreTaglet
public class PreTaglet
The PreTaglet is an OOPTaglet, used to declare preconditions for a method. It is used with the keyword "pre" and the header for the subsection will be "Precondition:".
PreTaglet should be used on tags that are formatted as follows:
@pre informally specified precondition
| formal part line 1
| formal part line 2
...
The formal part can be left out. The output will be of the form:| formally: | formal part line 1 |
formal part line 2
| |
| Constructor Summary | |
|---|---|
PreTaglet()
Create a new PreTaglet. |
|
| Method Summary | |
|---|---|
boolean |
inConstructor()
This tag can be used with constructors. |
boolean |
inField()
This tag is not used with fields. |
boolean |
inMethod()
This tag can be used with methods. |
boolean |
inOverview()
This taag cannot be used in overview documentation. |
boolean |
inPackage()
This tag cannot be used in package documentation. |
boolean |
inType()
This tag cannot be used in general class or interface documentation. |
boolean |
isInlineTag()
This tag is not an inline tag. |
static void |
register(java.util.Map tagletMap)
Register this tag. |
| Methods inherited from class be.kuleuven.cs.som.taglet.OOPTaglet |
|---|
getName, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PreTaglet()
| Method Detail |
|---|
public static void register(java.util.Map tagletMap)
tagletMap - The map of String keys and Taglet values to register in.Taglet,
OOPTaglet.register(java.util.Map,Object)@Raw public boolean inField()
Taglet.inField()public boolean inConstructor()
Taglet.inConstructor()public boolean inMethod()
Taglet.inMethod()public boolean inOverview()
Taglet.inOverview()public boolean inPackage()
Taglet.inPackage()public boolean inType()
Taglet.inType()public boolean isInlineTag()
Taglet.isInlineTag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||