Package ch.nolix.systemapi.style.model
Schnittstelle ISelectingStyleWithSelectors
- Alle Superschnittstellen:
IAbstractStyle<ISelectingStyleWithSelectors>,IElement,ISelectingStyle<ISelectingStyleWithSelectors>
- Alle bekannten Implementierungsklassen:
AbstractSelectingStyle,DeepSelectingStyle,SelectingStyle
A
ISelectingStyleWithSelectors is a ISelectingStyle that can
have specific selectors.- Version:
- 2024-04-23
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanwithSelectorId(String selectorId) withSelectorRole(Enum<?> selectorRole, Enum<?>... selectorRoles) withSelectorRole(String selectorRole, String... selectorRoles) withSelectorRoles(IContainer<String> selectorRoles) withSelectorToken(String selectorToken, String... selectorTokens) withSelectorTokens(IContainer<String> selectorTokens) withSelectorType(Class<?> selectorType) withSelectorType(String selectorType) Von Schnittstelle geerbte Methoden ch.nolix.systemapi.style.model.IAbstractStyle
applyToElement, getAttachingAttributes, getSubStyles, hasAttachingAttributes, withAttachingAttribute, withAttachingAttribute, withAttachingAttributes, withNewAttachingAttributesWhereSelectorType, withNewAttachingAttributesWhereSelectorType, withReplacedAttachingAttributes, withReplacedAttachingAttributes, withReplacedTaggedAttachingAttributes, withReplacedTaggedAttachingAttributes, withSubStyle, withSubStylesVon Schnittstelle geerbte Methoden ch.nolix.systemapi.element.base.IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden ch.nolix.systemapi.style.model.ISelectingStyle
selectsChildElements, selectsElement, skipsChildElements, skipsElement
-
Methodendetails
-
getSelectorId
String getSelectorId()- Gibt zurück:
- the selector id of the current
ISelectingStyleWithSelectors. - Löst aus:
RuntimeException- if the currentISelectingStyleWithSelectorsdoes not have a selector id.
-
getSelectorRoles
IContainer<String> getSelectorRoles()- Gibt zurück:
- the selector roles of the current
ISelectingStyleWithSelectors.
-
getSelectorTokens
IContainer<String> getSelectorTokens()- Gibt zurück:
- the selector tokens of the current
ISelectingStyleWithSelectors.
-
getSelectorType
String getSelectorType()- Gibt zurück:
- the selector type of the current
ISelectingStyleWithSelectors. - Löst aus:
RuntimeException- if the currentISelectingStyleWithSelectorsdoes not have a selector type.
-
hasSelectorId
boolean hasSelectorId()- Gibt zurück:
- true if the current
ISelectingStyleWithSelectorshas a selector id.
-
hasSelectorType
boolean hasSelectorType()- Gibt zurück:
- true if the current
ISelectingStyleWithSelectorshas a selector type.
-
withSelectorId
- Parameter:
selectorId-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorId set. - Löst aus:
RuntimeException- if the given selectorId is null or blank.
-
withSelectorRole
- Parameter:
selectorRole-selectorRoles-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorRole and selectorRoles added. - Löst aus:
RuntimeException- if the given selectorRole is null.RuntimeException- if the given selectorRoles is null.RuntimeException- if one of the given selectorRoles is null.
-
withSelectorRole
- Parameter:
selectorRole-selectorRoles-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorRole and selectorRoles added. - Löst aus:
RuntimeException- if the given selectorRole is null or blank.RuntimeException- if the given selectorRoles is null.RuntimeException- if one of the given selectorRoles is null or blank.
-
withSelectorRoles
- Parameter:
selectorRoles-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorRoles added. - Löst aus:
RuntimeException- if the given selectorRoles is null.RuntimeException- if one of the given selectorRoles is null or blank.
-
withSelectorToken
- Parameter:
selectorToken-selectorTokens-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorToken and selectorTokens added. - Löst aus:
RuntimeException- if the given selectorToken is null or blank.RuntimeException- if the given selectorTokens is null.RuntimeException- if one of the given selectorTokens is null or blank.
-
withSelectorTokens
- Parameter:
selectorTokens-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorTokens added. - Löst aus:
RuntimeException- if the given selectorTokens is null.RuntimeException- if one of the given selectorTokens is null or blank.
-
withSelectorType
- Parameter:
selectorType-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorType set. - Löst aus:
RuntimeException- if the given selectorType is null.
-
withSelectorType
- Parameter:
selectorType-- Gibt zurück:
- a new
ISelectingStyleWithSelectorsfrom the currentISelectingStyleWithSelectorswith the given selectorType set. - Löst aus:
RuntimeException- if the given selectorType is null or blank.
-