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 StringgetRolename()Returns the value of field 'rolename'.booleanisValid()voidmarshal(Writer out)voidmarshal(ContentHandler handler)voidsetRolename(String rolename)Sets the value of field 'rolename'.static Roleunmarshal(Reader reader)voidvalidate()
-
-
-
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.MarshalExceptionorg.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:
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.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.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
validate
public void validate() throws org.exolab.castor.xml.ValidationException- Throws:
org.exolab.castor.xml.ValidationException
-
-