2006/unicorn/org/w3c/unicorn/contract Observer.java,1.1.1.1,1.2

Update of /sources/public/2006/unicorn/org/w3c/unicorn/contract
In directory hutz:/tmp/cvs-serv14955/org/w3c/unicorn/contract

Modified Files:
	Observer.java 
Log Message:
Addition in Observer.java of an attribut which contain the name of the lang parameter.

Index: Observer.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/contract/Observer.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Observer.java	31 Aug 2006 09:09:20 -0000	1.1.1.1
+++ Observer.java	22 Jan 2008 13:52:30 -0000	1.2
@@ -31,6 +31,7 @@
 	private LocalizedString aLocalizedStringDescription = null;
 	private LocalizedString aLocalizedStringHelpLocation = null;
 	private LocalizedString aLocalizedStringProvider = null;
+	private String sParamLangName = null;
 
 	/**
 	 * List of method who can be used to call this observer.
@@ -55,6 +56,7 @@
 	public String getDescription (final String sLang) {return this.aLocalizedStringDescription.getLocalization(sLang);}
 	public String getHelpLocation (final String sLang) {return this.aLocalizedStringHelpLocation.getLocalization(sLang);}
 	public String getProvider (final String sLang) {return this.aLocalizedStringProvider.getLocalization(sLang);}
+	public String getParamLangName () {return this.sParamLangName;}
 
 	/* (non-Javadoc)
 	 * @see org.w3c.unicorn.contract.Observer#getMethods()
@@ -68,7 +70,8 @@
 	public void setDescription (final LocalizedString aLocalizedString) {this.aLocalizedStringDescription = aLocalizedString;}
 	public void setHelpLocation (final LocalizedString aLocalizedString) {this.aLocalizedStringHelpLocation = aLocalizedString;}
 	public void setProvider (final LocalizedString aLocalizedString) {this.aLocalizedStringProvider = aLocalizedString;}
-
+	public void setParamLangName (final String sParamLangName) {this.sParamLangName = sParamLangName;}
+	
 	/* (non-Javadoc)
 	 * @see org.w3c.unicorn.contract.Observer#setMethods(java.util.ArrayList)
 	 */

Received on Tuesday, 22 January 2008 13:52:46 UTC