|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.dataresource.config.RoleMapperSpec
Role mapper information.
The information is set up using an XML fragment from a data
resource configuration document. Specifically the
roleMap
element.
See the data_resource_config.xsd
XML Schema.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
|
private java.lang.String |
mConfiguration
|
private java.lang.String |
mImplementation
|
private java.lang.String |
mName
|
Constructor Summary | |
RoleMapperSpec()
|
Method Summary | |
void |
configure(org.w3c.dom.Element elt)
Create role mapper information by parsing the given element and build an XML document holding this information. |
java.lang.String |
getConfiguration()
Get configuration file. |
java.lang.String |
getImplementation()
Get class name. |
java.lang.String |
getName()
Get role mapper name. |
void |
setConfiguration(java.lang.String configuration)
Set configuration file. |
void |
setImplementation(java.lang.String className)
Set class name. |
void |
setName(java.lang.String name)
Set role mapper name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private java.lang.String mName
private java.lang.String mImplementation
private java.lang.String mConfiguration
Constructor Detail |
public RoleMapperSpec()
Method Detail |
public void configure(org.w3c.dom.Element elt) throws java.lang.IllegalArgumentException
elt
- roleMap
element from a data resource
configuration document.
java.lang.IllegalArgumentException
- if elt
is null
or is not a roleMap
element.public java.lang.String getName()
public void setName(java.lang.String name)
name
- Name of role mapper.public java.lang.String getImplementation()
public void setImplementation(java.lang.String className)
className
- Class name.
java.lang.IllegalArgumentException
- if className
is
null
or the empty string.public java.lang.String getConfiguration()
public void setConfiguration(java.lang.String configuration)
configuration
- Configuration file
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |