public abstract class AbstractScheme extends Object implements Scheme
AbstractScheme is the base implementation of a Scheme. The setters annotated with @Injectable are automatically called by CODI during document processing. Non-annotated setters are typically called by the CODI element processors.| Constructor and Description |
|---|
AbstractScheme() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSchemeName()
Obtains the name of the
Scheme. |
boolean |
isAnonymous()
Determines if the
Scheme is a defined and thus useful name. |
void |
setSchemeName(String sName)
Set the scheme name, trimming the name of starting and ending whitespace if necessary.
|
protected void |
validate()
Validate the properties.
|
public String getSchemeName()
Scheme.getSchemeName in interface Schemepublic boolean isAnonymous()
Scheme is a defined and thus useful name.isAnonymous in interface SchemeScheme has a name.@Injectable public void setSchemeName(String sName)
sName - the scheme nameprotected void validate()