Top Description Inners Fields Constructors Methods
io.vertx.codegen.doc

public Class Tag

extends Object
Class Inheritance
Known Direct Subclasses
io.vertx.codegen.doc.Tag.Param, io.vertx.codegen.doc.Tag.Link
Imports
io.vertx.codegen.Helper, io.vertx.codegen.type.TypeInfo, javax.lang.model.element.Element, java.util.regex.Matcher, .Pattern

A doc tag.
Author
Julien Viet

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Tag.Link

A link tag providing information of element target of the link.

public static class

Field Summary

Modifier and TypeField and Description
pack-priv final String
pack-priv final String

Constructor Summary

AccessConstructor and Description
public
Tag(String name, String value)

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object
the reference object with which to compare.
o
)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

public String

Returns:

the tag name
getName
()

public String

Returns:

the tag value
getValue
()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
clonefinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nameback to summary
pack-priv final String name
valueback to summary
pack-priv final String value

Constructor Detail

Tagback to summary
public Tag(String name, String value)

Method Detail

equalsback to summary
public boolean equals(Object o)

Overrides java.lang.Object.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Parameters
o:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
getNameback to summary
public String getName()
Returns:String

the tag name

getValueback to summary
public String getValue()
Returns:String

the tag value

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
io.vertx.codegen.doc back to summary

public Class Tag.Param

extends Tag
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final Pattern
pack-priv final String
pack-priv final String
Inherited from io.vertx.codegen.doc.Tag:
namevalue

Constructor Summary

AccessConstructor and Description
public
Param(Tag other)

public
Param(String name, String value)

Method Summary

Modifier and TypeMethod and Description
public String
public String
Inherited from io.vertx.codegen.doc.Tag:
equalsgetNamegetValuetoString

Field Detail

PARAM_PATTERNback to summary
private static final Pattern PARAM_PATTERN
paramDescriptionback to summary
pack-priv final String paramDescription
paramNameback to summary
pack-priv final String paramName

Constructor Detail

Paramback to summary
public Param(Tag other)
Paramback to summary
public Param(String name, String value)

Method Detail

getParamDescriptionback to summary
public String getParamDescription()
getParamNameback to summary
public String getParamName()