Schnittstelle ISelectingStyleWithSelectors
- Alle Superschnittstellen:
IBaseStyle<ISelectingStyleWithSelectors>
,IElement
,ISelectingStyle<ISelectingStyleWithSelectors>
- Alle bekannten Implementierungsklassen:
BaseSelectingStyle
,DeepSelectingStyle
,SelectingStyle
A
ISelectingStyleWithSelectors
is a ISelectingStyle
that can
have specific selectors.- Version:
- 2024-04-23
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
boolean
withSelectorId
(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.elementapi.styleapi.IBaseStyle
applyToElement, getAttachingAttributes, getSubStyles, withAttachingAttribute, withAttachingAttributes, withSubStyle, withSubStyles
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IElement
getAttributes, getSpecification, toFormatedString, toXml
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.styleapi.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 currentISelectingStyleWithSelectors
does 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 currentISelectingStyleWithSelectors
does not have a selector type.
-
hasSelectorId
boolean hasSelectorId()- Gibt zurück:
- true if the current
ISelectingStyleWithSelectors
has a selector id.
-
hasSelectorType
boolean hasSelectorType()- Gibt zurück:
- true if the current
ISelectingStyleWithSelectors
has a selector type.
-
withSelectorId
- Parameter:
selectorId
-- Gibt zurück:
- a new
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with 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
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with 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
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with 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
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with 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
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with 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
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with 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
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with the given selectorType set. - Löst aus:
RuntimeException
- if the given selectorType is null.
-
withSelectorType
- Parameter:
selectorType
-- Gibt zurück:
- a new
ISelectingStyleWithSelectors
from the currentISelectingStyleWithSelectors
with the given selectorType set. - Löst aus:
RuntimeException
- if the given selectorType is null or blank.
-