com.anwrt.anycontent.plugins.core.group
Class AbstractGroupManager

java.lang.Object
  extended bycom.anwrt.anycontent.plugins.core.group.AbstractGroupManager
All Implemented Interfaces:
GroupManager
Direct Known Subclasses:
DefaultGroupManager, EsupGroupManager, LdapGroupManager, LdapUserGroupManager, SupAnnAffGroupManager, SupAnnGroupManager

public abstract class AbstractGroupManager
extends java.lang.Object
implements GroupManager

Abstract manager for saxing a GroupManager by using getGroups() method.


Field Summary
protected static java.lang.String __GROUP_ID_ATTR
          XML attribute of a group id used for saxing.
protected static java.lang.String __GROUP_LABEL_TAG
          XML attribute of a group label used for saxing.
protected static java.lang.String __GROUP_TAG
          XML element for a group used for saxing.
protected static java.lang.String __ROOT_TAG
          XML element for the root used for saxing.
protected static java.lang.String __USER_TAG
          XML element for an user used for saxing.
protected static java.lang.String __USERS_TAG
          XML element for an array of user used for saxing.
 
Constructor Summary
AbstractGroupManager()
           
 
Method Summary
 void toSAX(org.xml.sax.ContentHandler ch, java.util.Map parameters)
          Sax the user list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.anwrt.anycontent.extensions.group.GroupManager
configure, getGroup, getGroups, getUserGroups, initialize
 

Field Detail

__ROOT_TAG

protected static final java.lang.String __ROOT_TAG
XML element for the root used for saxing.

See Also:
Constant Field Values

__GROUP_TAG

protected static final java.lang.String __GROUP_TAG
XML element for a group used for saxing.

See Also:
Constant Field Values

__GROUP_ID_ATTR

protected static final java.lang.String __GROUP_ID_ATTR
XML attribute of a group id used for saxing.

See Also:
Constant Field Values

__GROUP_LABEL_TAG

protected static final java.lang.String __GROUP_LABEL_TAG
XML attribute of a group label used for saxing.

See Also:
Constant Field Values

__USER_TAG

protected static final java.lang.String __USER_TAG
XML element for an user used for saxing.

See Also:
Constant Field Values

__USERS_TAG

protected static final java.lang.String __USERS_TAG
XML element for an array of user used for saxing.

See Also:
Constant Field Values
Constructor Detail

AbstractGroupManager

public AbstractGroupManager()
Method Detail

toSAX

public void toSAX(org.xml.sax.ContentHandler ch,
                  java.util.Map parameters)
           throws org.xml.sax.SAXException
Description copied from interface: GroupManager
Sax the user list.

Specified by:
toSAX in interface GroupManager
Parameters:
ch - The content handler to sax in.
parameters - Parameters for saxing user list differently, see implementation.
Throws:
org.xml.sax.SAXException - If an error occurs while saxing.


Copyright © 2006 Anyware Technologies. All Rights Reserved.