TaskBean API
0.5

glogic.sample.sys
Class RightsUserParser

java.lang.Object
  extended byglogic.sample.sys.RightsUserParser

public class RightsUserParser
extends java.lang.Object

Parse rights XML file.

Author:
Sam Taha

Nested Class Summary
static class RightsUserParser.ProductRightsBean
          Javabean used during parsing of xml rights file.
static class RightsUserParser.UserBean
          Javabean used during parsing of xml rights file.
 
Constructor Summary
RightsUserParser()
          Constructor for the RightsUserParser object
 
Method Summary
 void addUser(RightsUserParser.UserBean user)
          Adds a feature to the User attribute of the RightsUserParser object
 java.util.List getUserBeans()
          key username, ProductRightsBean
static RightsUserParser load(java.lang.String stPath)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RightsUserParser

public RightsUserParser()
Constructor for the RightsUserParser object

Method Detail

getUserBeans

public java.util.List getUserBeans()
key username, ProductRightsBean

Returns:
The userProduct value

load

public static RightsUserParser load(java.lang.String stPath)
                             throws java.lang.Exception
Description of the Method

Parameters:
stPath - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception

addUser

public void addUser(RightsUserParser.UserBean user)
Adds a feature to the User attribute of the RightsUserParser object

Parameters:
user - The feature to be added to the User attribute

TaskBean API
0.5

Copyright © Grand Logic, Inc. All Rights Reserved.