FallsIntoCategorySpecification
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.search.Specification
public class FallsIntoCategorySpecification extends Specification
Represents a specification that verifies whether the passed property falls into a particular category (i.e. contains tags from the specified category).
| Constructor | Description |
|---|---|
| FallsIntoCategorySpecification(TagCategory category) | Initializes a new instance of the FallsIntoCategorySpecification class. |
| Method | Description |
|---|---|
| getCategory() | Gets the category into which a property must fall to satisfy the specification. |
| isSatisfiedBy(MetadataProperty candidate) | Verifies whether a MetadataProperty satisfies the specification. |
public FallsIntoCategorySpecification(TagCategory category)
Initializes a new instance of the FallsIntoCategorySpecification class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| category | TagCategory | The category into which a property must fall to satisfy the specification. |
public final TagCategory getCategory()
Gets the category into which a property must fall to satisfy the specification.
Returns: TagCategory - The category into which a property must fall to satisfy the specification.
public boolean isSatisfiedBy(MetadataProperty candidate)
Verifies whether a MetadataProperty satisfies the specification.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| candidate | MetadataProperty | A metadata property to test. |
Returns: boolean - True, if the passed property satisfies the specification; otherwise, false.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.