public static class JavadocBuilder.DocElementFactory extends Object
DocElement
.Modifier and Type | Method and Description |
---|---|
DocElement |
code(Object text)
Appends a
@code inline block into this builder. |
DocElement |
code(String pattern,
Object... arguments)
Appends a
@code inline block into this builder. |
DocElement |
link(DocElement element)
Appends a
@link inline block for the target element into this builder. |
DocElement |
linkField(SimpleName name)
Appends a
@link inline block for the target field into this builder. |
DocElement |
linkField(String name)
Appends a
@link inline block for the target field into this builder. |
DocElement |
linkField(Type type,
SimpleName name)
Appends a
@link inline block for the target field into this builder. |
DocElement |
linkField(Type type,
String name)
Appends a
@link inline block for the target field into this builder. |
DocElement |
linkMethod(SimpleName name,
List<? extends Type> parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(SimpleName name,
Type... parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(String name,
List<? extends Type> parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(String name,
Type... parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(Type type,
SimpleName name,
List<? extends Type> parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(Type type,
SimpleName name,
Type... parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(Type type,
String name,
List<? extends Type> parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkMethod(Type type,
String name,
Type... parameterTypes)
Appends a
@link inline block for the target method into this builder. |
DocElement |
linkType(Type type)
Appends a
@link inline block for the target type into this builder. |
DocElement |
text(Object text)
Appends a plain text into this builder.
|
DocElement |
text(String pattern,
Object... arguments)
Appends a plain text into this builder.
|
public DocElement text(Object text)
text
- the textIllegalArgumentException
- if the parameter is null
public DocElement text(String pattern, Object... arguments)
pattern
- the text pattern in form of MessageFormat.format(String, Object...)
arguments
- the arguments for the patternIllegalArgumentException
- if the parameter is null
public DocElement code(Object text)
@code
inline block into this builder.text
- the textIllegalArgumentException
- if the parameter is null
public DocElement code(String pattern, Object... arguments)
@code
inline block into this builder.pattern
- the text pattern in form of MessageFormat.format(String, Object...)
arguments
- the arguments for the patternIllegalArgumentException
- if the parameter is null
public DocElement linkType(Type type)
@link
inline block for the target type into this builder.type
- the target typepublic DocElement linkField(String name)
@link
inline block for the target field into this builder.name
- the target field nameIllegalArgumentException
- if the parameter is null
public DocElement linkField(Type type, String name)
@link
inline block for the target field into this builder.type
- the target field typename
- the target field nameIllegalArgumentException
- if the parameter is null
public DocElement linkField(SimpleName name)
@link
inline block for the target field into this builder.name
- the target field nameIllegalArgumentException
- if the parameter is null
public DocElement linkField(Type type, SimpleName name)
@link
inline block for the target field into this builder.type
- the target field typename
- the target field nameIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(String name, Type... parameterTypes)
@link
inline block for the target method into this builder.name
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(String name, List<? extends Type> parameterTypes)
@link
inline block for the target method into this builder.name
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(SimpleName name, Type... parameterTypes)
@link
inline block for the target method into this builder.name
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(SimpleName name, List<? extends Type> parameterTypes)
@link
inline block for the target method into this builder.name
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(Type type, String name, Type... parameterTypes)
@link
inline block for the target method into this builder.type
- the target method typename
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(Type type, String name, List<? extends Type> parameterTypes)
@link
inline block for the target method into this builder.type
- the target method typename
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(Type type, SimpleName name, Type... parameterTypes)
@link
inline block for the target method into this builder.type
- the target method typename
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement linkMethod(Type type, SimpleName name, List<? extends Type> parameterTypes)
@link
inline block for the target method into this builder.type
- the target method typename
- the target method nameparameterTypes
- the target method parameter typesIllegalArgumentException
- if the parameter is null
public DocElement link(DocElement element)
@link
inline block for the target element into this builder.element
- the target elementIllegalArgumentException
- if the parameter is null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.