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, parse
getBlockParsers, parseBlock, setBlockParsers
public 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)
JavadocBlockParser
null
.canAccept
in class JavadocBlockParser
tag
- the target tag name (without "@"
), or null
for synopsis blockstrue
if this parser can accept the target block, otherwise false
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.