diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/ParameterPacketExtension.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/ParameterPacketExtension.java
new file mode 100644
index 000000000..b851a82af
--- /dev/null
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/ParameterPacketExtension.java
@@ -0,0 +1,121 @@
+/*
+ * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
+ *
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package net.java.sip.communicator.impl.protocol.jabber.extensions.jingle;
+
+import org.jivesoftware.smack.packet.*;
+
+/**
+ * Represents the parameter elements described in XEP-0167.
+ *
+ * @author Emil Ivov
+ */
+public class ParameterPacketExtension implements PacketExtension
+{
+ /**
+ * Parameters do not live in a namespace of their own so we have
+ * null here.
+ */
+ public static final String NAMESPACE = null;
+
+ /**
+ * The name of the "parameter" element.
+ */
+ public static final String ELEMENT_NAME = "parameter";
+
+ /**
+ * The name of the name parameter in the parameter
+ * element.
+ */
+ public static final String NAME_ARG_NAME = "name";
+
+ /**
+ * The name of the value parameter in the parameter
+ * element.
+ */
+ public static final String VALUE_ARG_NAME = "value";
+
+ /**
+ * The name of the parameter represented here.
+ */
+ private String name;
+
+ /**
+ * The value of the parameter represented here.
+ */
+ private String value;
+
+ /**
+ * Returns the name of the parameter element.
+ *
+ * @return the name of the parameter element.
+ */
+ public String getElementName()
+ {
+ return ELEMENT_NAME;
+ }
+
+ /**
+ * Returns the namespace for the parameter element which is
+ * null.
+ *
+ * @return null since we don't have a namespace for parameters.
+ */
+ public String getNamespace()
+ {
+ return NAMESPACE;
+ }
+
+ /**
+ * Returns the XML representation of this parameter element.
+ *
+ * @return this packet extension as an XML String.
+ */
+ public String toXML()
+ {
+ StringBuilder bldr = new StringBuilder();
+
+ return bldr.toString();
+ }
+
+ /**
+ * Sets the name of the format parameter we are representing here.
+ *
+ * @param name the name of the format parameter we are representing here.
+ */
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ /**
+ * Returns the name of the format parameter we are representing here.
+ *
+ * @return the name of the format parameter we are representing here.
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Sets that value of the format parameter we are representing here.
+ *
+ * @param value the value of the format paramter we are representing here.
+ */
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
+ /**
+ * @return the value
+ */
+ public String getValue()
+ {
+ return value;
+ }
+}
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/PayloadTypePacketExtension.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/PayloadTypePacketExtension.java
index 517d6b6cf..6439d83e3 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/PayloadTypePacketExtension.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/PayloadTypePacketExtension.java
@@ -95,7 +95,8 @@ public class PayloadTypePacketExtension implements PacketExtension
* An optional list of format parameters (like the one we get with the
* fmtp: SDP param).
*/
- private List parameters = new ArrayList();
+ private List parameters
+ = new ArrayList();
/**
* Returns the name of the payload-type element.
@@ -159,7 +160,7 @@ public String toXML()
{
bldr.append(">");
- for (PacketExtension parameter : parameters)
+ for (ParameterPacketExtension parameter : parameters)
{
bldr.append(parameter.toXML());
}
@@ -305,7 +306,7 @@ public String getName()
*
* @param parameter an SDP parameter for this encoding.
*/
- public void addParameter(PacketExtension parameter)
+ public void addParameter(ParameterPacketExtension parameter)
{
this.parameters.add(parameter);
}
@@ -317,7 +318,7 @@ public void addParameter(PacketExtension parameter)
* @return a reference to the the list of parameters currently
* registered for this payload type.
*/
- public List getParameters()
+ public List getParameters()
{
return parameters;
}
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RtpDescriptionPacketExtension.java b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RtpDescriptionPacketExtension.java
index c828dc777..d963a6154 100644
--- a/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RtpDescriptionPacketExtension.java
+++ b/src/net/java/sip/communicator/impl/protocol/jabber/extensions/jingle/RtpDescriptionPacketExtension.java
@@ -53,7 +53,7 @@ public class RtpDescriptionPacketExtension
* The list of payload types that this description element contains.
*/
private final List payloadTypes
- = new ArrayList();
+ = new ArrayList();
/**
* An optional encryption element that contains encryption parameters for