if(name.equals(LocationNamespace.NAME)) {
ProfileLocation location = userProfile.getProfileLocation();
if(location == null) {
return UNDEFINED;
} else {
return new LocationNamespace(location);
}
} else if(name.equals(ProfileBoxNamespace.NAME)) {
return ProfileBoxNamespace.getInstance(userProfile);
} else if(name.equals(SelfNamespace.FUNC_SET_PERSONAL_MSG)) {
return new SetPersonalMessage();