AttributeQualifierPattern
AttributeQualifierPattern holds a wildcard or valued qualifier pattern.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AttributeQualifierPattern(
options?):AttributeQualifierPattern
constructor initializes a qualifier pattern from the provided options.
Parameters
Section titled “Parameters”options?
Section titled “options?”AttributeQualifierPatternOptions = {}
Returns
Section titled “Returns”AttributeQualifierPattern
Methods
Section titled “Methods”matches()
Section titled “matches()”matches(
qualifierValue):boolean
Matches returns true if the qualifier pattern is a wildcard or the qualifier equals the pattern value.
Parameters
Section titled “Parameters”qualifierValue
Section titled “qualifierValue”Returns
Section titled “Returns”boolean
value()
Section titled “value()”value():
unknown
Value returns the concrete qualifier value for non-wildcard patterns.
Returns
Section titled “Returns”unknown
wildcard()
Section titled “wildcard()”wildcard():
boolean
Wildcard returns whether the pattern matches any qualifier.
Returns
Section titled “Returns”boolean