[Mmil-commits] r39 - trunk/src/fr/loria/talaris/mmil

alexandredenis at users.gforge.inria.fr alexandredenis at users.gforge.inria.fr
Sam 14 Nov 12:53:13 CET 2009


Author: alexandredenis
Date: 2009-11-14 12:53:13 +0100 (Sat, 14 Nov 2009)
New Revision: 39

Modified:
   trunk/src/fr/loria/talaris/mmil/MMILFeature.java
Log:
Added a method isModifier

Modified: trunk/src/fr/loria/talaris/mmil/MMILFeature.java
===================================================================
--- trunk/src/fr/loria/talaris/mmil/MMILFeature.java	2009-10-26 10:18:56 UTC (rev 38)
+++ trunk/src/fr/loria/talaris/mmil/MMILFeature.java	2009-11-14 11:53:13 UTC (rev 39)
@@ -1,24 +1,75 @@
 package fr.loria.talaris.mmil;
 
+/**
+ * A MMILFeature describes a property of a MMILEntity.
+ * @author Alexandre Denis
+ */
 public interface MMILFeature extends MMILElement
 {
+	/**
+	 * Returns the namespace of this MMILFeature.
+	 * @return
+	 */
 	public String getNamespace();
 
+	/**
+	 * Returns the name of this MMILFeature.
+	 * @return
+	 */
 	public String getName();
 
+	/**
+	 * Returns the value of this MMILFeature.
+	 * @return
+	 */
 	public String getValue();
 
-	public void setNamespace(String paramString);
+	/**
+	 * Sets the namespace of this MMILFeature.
+	 * @param paramString
+	 */
+	public void setNamespace(String namespace);
 
-	public void setName(String paramString);
+	/**
+	 * Sets the name of this MMILFeature.
+	 * @param paramString
+	 */
+	public void setName(String name);
 
-	public void setValue(String paramString);
+	/**
+	 * Sets the value of this MMILFeature.
+	 * @param paramString
+	 */
+	public void setValue(String value);
 
+	/**
+	 * Tests if this MMILFeature is in the MMIL namespace.
+	 * @return
+	 */
 	public boolean isMMILFeature();
 
+	/**
+	 * Tests if the name of this MMILFeature is underspecified.
+	 * @return
+	 */
 	public boolean isNameUnderspecified();
 
+	/**
+	 * Tests if the value of this MMILFeature is underspecified.
+	 * @return
+	 */
 	public boolean isValueUnderspecified();
 
+	/**
+	 * Tests if this MMILFeature matches the given 
+	 * @return
+	 */
 	public boolean matches(MMILFeature feature);
+	
+	/**
+	 * Tests if this MMILFeature is a modifier.
+	 * A modifier is either a MMILFeature whose name is 'modifier' or a MMILFeature
+	 * in a namespace that is not MMIL.
+	 */
+	public boolean isModifier();
 }
\ No newline at end of file




Plus d'informations sur la liste de diffusion Mmil-commits