Package nl.b3p.commons.security.xml
Class Role
- java.lang.Object
-
- nl.b3p.commons.security.xml.Role
-
- All Implemented Interfaces:
Serializable
public class Role extends Object implements Serializable
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRolename()
Returns the value of field 'rolename'.boolean
isValid()
void
marshal(Writer out)
void
marshal(ContentHandler handler)
void
setRolename(String rolename)
Sets the value of field 'rolename'.static Role
unmarshal(Reader reader)
void
validate()
-
-
-
Method Detail
-
getRolename
public String getRolename()
Returns the value of field 'rolename'.- Returns:
- the value of field 'rolename'.
-
isValid
public boolean isValid()
-
marshal
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
- Parameters:
out
-- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
-
marshal
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
- Parameters:
handler
-- Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
-
setRolename
public void setRolename(String rolename)
Sets the value of field 'rolename'.- Parameters:
rolename
- the value of field 'rolename'.
-
unmarshal
public static Role unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
- Parameters:
reader
-- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
-
validate
public void validate() throws org.exolab.castor.xml.ValidationException
- Throws:
org.exolab.castor.xml.ValidationException
-
-