/**
 * This file is generated with Kurento ktool-rom-processor.
 * Please don't edit. Changes should go to kms-interface-rom and
 * ktool-rom-processor templates.
 */
package com.kurento.kmf.media;

import com.kurento.kmf.media.events.MediaEventListener;
import com.kurento.kmf.media.events.PlateDetectedEvent;
import com.kurento.tool.rom.RemoteClass;
import com.kurento.tool.rom.server.Param;

/**
 * 
 * PlateDetectorFilter interface. This type of {@link Endpoint} detects vehicle
 * plates in a video feed.
 * 
 **/
@RemoteClass
public interface PlateDetectorFilter extends Filter {

	/**
	 * 
	 * Configure the average width of the license plates in the image
	 * 
	 * @param plateWidth
	 *            average width in pixels
	 * 
	 **/
	void setPlateWidthPercentage(@Param("plateWidth") int plateWidth);

	/**
	 * 
	 * Asynchronous version of setPlateWidthPercentage:
	 * {@link Continuation#onSuccess} is called when the action is done. If an
	 * error occurs, {@link Continuation#onError} is called.
	 * 
	 * @see PlateDetectorFilter#setPlateWidthPercentage
	 * 
	 * @param plateWidth
	 *            average width in pixels
	 * 
	 **/
	void setPlateWidthPercentage(@Param("plateWidth") int plateWidth,
			Continuation<Void> cont);

	/**
	 * Add a {@link MediaEventListener} for event {@link PlateDetectedEvent}.
	 * Synchronous call.
	 * 
	 * @param listener
	 *            Listener to be called on PlateDetectedEvent
	 * @return ListenerRegistration for the given Listener
	 * 
	 **/
	ListenerRegistration addPlateDetectedListener(
			MediaEventListener<PlateDetectedEvent> listener);

	/**
	 * Add a {@link MediaEventListener} for event {@link PlateDetectedEvent}.
	 * Asynchronous call. Calls Continuation&lt;ListenerRegistration&gt; when it
	 * has been added.
	 * 
	 * @param listener
	 *            Listener to be called on PlateDetectedEvent
	 * @param cont
	 *            Continuation to be called when the listener is registered
	 * 
	 **/
	void addPlateDetectedListener(
			MediaEventListener<PlateDetectedEvent> listener,
			Continuation<ListenerRegistration> cont);

	/**
	 * 
	 * Factory for building {@link PlateDetectorFilter}
	 * 
	 **/
	public interface Factory {
		/**
		 * 
		 * Creates a Builder for PlateDetectorFilter
		 * 
		 * @param mediaPipeline
		 * 
		 **/
		public Builder create(
				@Param("mediaPipeline") MediaPipeline mediaPipeline);
	}

	public interface Builder extends AbstractBuilder<PlateDetectorFilter> {

		/**
		 * 
		 * Sets a value for mediaPipeline in Builder for PlateDetectorFilter.
		 * 
		 * @param mediaPipeline
		 *            the parent {@link MediaPipeline} of this
		 *            {@link PlateDetectorFilter}
		 * 
		 **/
		public Builder withMediaPipeline(MediaPipeline mediaPipeline);
	}
}

@@ -603,16 +603,17 @@
 onfigure
+s
  the ave
@@ -654,24 +654,64 @@
 n the image%0A
+%09 * represented as an image percentage.%0A
 %09 * %0A%09 * @pa
@@ -716,32 +716,42 @@
 param plateWidth
+Percentage
 %0A%09 *            
@@ -760,33 +760,103 @@
 erage width 
-in pixels
+of the license plates represented as an image%0A%09 *            percentage %5B0..1%5D.
 %0A%09 * %0A%09 **/%0A
@@ -877,32 +877,36 @@
 WidthPercentage(
+%0A%09%09%09
 @Param(%22plateWid
@@ -899,37 +899,49 @@
 aram(%22plateWidth
-%22) in
+Percentage%22) floa
 t plateWidth);%0A%0A
@@ -936,16 +936,26 @@
 ateWidth
+Percentage
 );%0A%0A%09/**
@@ -1231,16 +1231,26 @@
 ateWidth
+Percentage
 %0A%09 *    
@@ -1275,17 +1275,87 @@
 dth 
-in pixels
+of the license plates represented as an image%0A%09 *            percentage %5B0..1%5D.
 %0A%09 *
@@ -1392,16 +1392,20 @@
 centage(
+%0A%09%09%09
 @Param(%22
@@ -1418,13 +1418,25 @@
 idth
-%22) in
+Percentage%22) floa
 t pl
@@ -1443,16 +1443,26 @@
 ateWidth
+Percentage
 ,%0A%09%09%09Con

Modify setPlateWidthPercentage function