fr.gouv.culture.sdx.user
Class AnonymousUserInformation

java.lang.Object
  extended byfr.gouv.culture.sdx.user.UserInformation
      extended byfr.gouv.culture.sdx.user.AnonymousUserInformation
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled

public class AnonymousUserInformation
extends UserInformation

An anonymous SDX user.

The information for this user will be sent directly and not from an XML document.


Field Summary
 
Fields inherited from class fr.gouv.culture.sdx.user.UserInformation
ANONYMOUS_USERNAME, host, ip, SESSION_PROPERTY
 
Constructor Summary
AnonymousUserInformation(java.util.Locale locale)
          Creates an anonymous user with a preferred locale.
 
Method Summary
 void toSAX(org.xml.sax.ContentHandler handler)
          Sends information about this anonymous user.
 
Methods inherited from class fr.gouv.culture.sdx.user.UserInformation
enableLogging, getAppId, getEmail, getFirstname, getGroups, getHost, getId, getIp, getLastname, getPreferredLocale, isAdmin, isMember, isMember, isMember, isSuperuser, setEmail, setFirstname, setGroups, setHost, setId, setIp, setLastname, setPreferredLocale, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousUserInformation

public AnonymousUserInformation(java.util.Locale locale)
                         throws SDXException
Creates an anonymous user with a preferred locale.

Parameters:
locale - The preferred locale.
Method Detail

toSAX

public void toSAX(org.xml.sax.ContentHandler handler)
           throws org.xml.sax.SAXException
Sends information about this anonymous user.

The information sent is basically a user definition with an anonymous property set to true.

Overrides:
toSAX in class UserInformation
Parameters:
handler - The handler where to send events.
Throws:
org.xml.sax.SAXException


Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.