Interface ClaimConsumer
public interface ClaimConsumer
A consumer of serialization claims.
- Since:
- 4.10.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSubmit a component claim for the active component.booleanGet whether a component has been claimed yet.voidSubmit a style claim for the active component.booleanstyleClaimed(String claimId) Get whether a style element has been claimed yet.
-
Method Details
-
style
Submit a style claim for the active component.Style claims are additive, but any single style element can only be claimed once.
- Parameters:
claimKey- an identifier for the style element being claimedstyleClaim- the claim of a style- Since:
- 4.10.0
-
component
Submit a component claim for the active component.Only one component claim can be in effect. We use the first component claim.
- Parameters:
componentClaim- the claim of a component- Returns:
- whether the claim was successful
- Since:
- 4.10.0
-
styleClaimed
Get whether a style element has been claimed yet.- Parameters:
claimId- the id for this style elemnt being tested- Returns:
- whether style is claimed
- Since:
- 4.10.0
-
componentClaimed
boolean componentClaimed()Get whether a component has been claimed yet.- Returns:
- whether a component has been claimed yet
- Since:
- 4.10.0
-