public interface CountryStringAttributeSyntaxCfg extends AttributeSyntaxCfg
Country String Attribute Syntaxes define an attribute syntax for storing country codes.
Modifier and Type | Method and Description |
---|---|
void |
addCountryStringChangeListener(ConfigurationChangeListener<CountryStringAttributeSyntaxCfg> listener)
Register to be notified when this Country String Attribute Syntax is changed.
|
Class<? extends CountryStringAttributeSyntaxCfg> |
configurationClass()
Gets the configuration class associated with this Country String Attribute Syntax.
|
String |
getJavaClass()
Gets the "java-class" property.
|
boolean |
isStrictFormat()
Gets the "strict-format" property.
|
void |
removeCountryStringChangeListener(ConfigurationChangeListener<CountryStringAttributeSyntaxCfg> listener)
Deregister an existing Country String Attribute Syntax configuration change listener.
|
addChangeListener, isEnabled, removeChangeListener
dn
Class<? extends CountryStringAttributeSyntaxCfg> configurationClass()
configurationClass
in interface AttributeSyntaxCfg
configurationClass
in interface Configuration
void addCountryStringChangeListener(ConfigurationChangeListener<CountryStringAttributeSyntaxCfg> listener)
listener
- The Country String Attribute Syntax configuration change listener.void removeCountryStringChangeListener(ConfigurationChangeListener<CountryStringAttributeSyntaxCfg> listener)
listener
- The Country String Attribute Syntax configuration change listener.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Country String Attribute Syntax implementation.
getJavaClass
in interface AttributeSyntaxCfg
boolean isStrictFormat()
Indicates whether country code values are required to strictly comply with the standard definition for this syntax.
When set to false, country codes will not be validated and, as a result any string containing 2 characters will be acceptable.
Copyright 2010-2017 ForgeRock AS.