@Document
public final class Keyword


Holds a value assignable to http://schema.org/keywords.

Contains exactly one of:

Note: More types may be added over time.

Summary

Public constructors

Public methods

@Nullable String

Returns the Text i.e. String variant, if populated.

boolean
int

Public constructors

Keyword

Added in 1.1.0-alpha07
public Keyword(@NonNull String asText)

Public methods

asText

Added in 1.1.0-alpha07
public @Nullable String asText()

Returns the Text i.e. String variant, if populated. Otherwise, null.

equals

public boolean equals(Object o)

hashCode

public int hashCode()