public abstract class AcceptableJavadocBlockParser extends JavadocBlockParser
JavadocBaseParser which accepts tag blocks by their tag name.| Constructor and Description |
|---|
AcceptableJavadocBlockParser()
Creates a new instance.
|
AcceptableJavadocBlockParser(String[] tagNames)
Creates a new instance.
|
AcceptableJavadocBlockParser(String tagName,
String... tagNames)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAccept(String tag)
Returns whether this parser can accept the block with target tag name.
|
fetchBasicType, fetchField, fetchLinkTarget, fetchMethod, fetchName, fetchNamedType, fetchPrimitiveType, fetchRestFragments, fetchSimpleName, fetchType, newBlock, parsegetBlockParsers, parseBlock, setBlockParserspublic AcceptableJavadocBlockParser()
public AcceptableJavadocBlockParser(String tagName, String... tagNames)
tagName - the first acceptable tag nametagNames - the rest acceptable tag namespublic AcceptableJavadocBlockParser(String[] tagNames)
tagNames - the acceptable tag namespublic boolean canAccept(String tag)
JavadocBlockParsernull.canAccept in class JavadocBlockParsertag - the target tag name (without "@"), or null for synopsis blockstrue if this parser can accept the target block, otherwise falseCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.