Class FieldCatalog
java.lang.Object
org.apache.juneau.commons.template.FieldCatalog
The fields of one list's rows.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the catalog has this field.static FieldCatalogCreates a catalog from field names.static FieldCatalogCreates a catalog from field definitions.
-
Method Details
-
of
Creates a catalog from field names.- Parameters:
names- The names. Must not benull .- Returns:
- A new catalog.
-
of
Creates a catalog from field definitions.- Parameters:
fields- The fields. Must not benull .- Returns:
- A new catalog.
-
has
Returns whether the catalog has this field.- Parameters:
name- The field name.- Returns:
true if declared.
-