org.teleal.cling.model.message.header
Class MXHeader

java.lang.Object
  extended by org.teleal.cling.model.message.header.UpnpHeader<Integer>
      extended by org.teleal.cling.model.message.header.MXHeader

public class MXHeader
extends UpnpHeader<Integer>

Author:
Christian Bauer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.teleal.cling.model.message.header.UpnpHeader
UpnpHeader.Type
 
Field Summary
static Integer DEFAULT_VALUE
           
 
Constructor Summary
MXHeader()
          Defaults to 3 seconds.
MXHeader(Integer delayInSeconds)
           
 
Method Summary
 String getString()
           
 void setString(String s)
           
 
Methods inherited from class org.teleal.cling.model.message.header.UpnpHeader
getValue, newInstance, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_VALUE

public static final Integer DEFAULT_VALUE
Constructor Detail

MXHeader

public MXHeader()
Defaults to 3 seconds.


MXHeader

public MXHeader(Integer delayInSeconds)
Method Detail

setString

public void setString(String s)
               throws InvalidHeaderException
Specified by:
setString in class UpnpHeader<Integer>
Parameters:
s - This header's value as a string representation.
Throws:
InvalidHeaderException - If the value is invalid for this UPnP header.

getString

public String getString()
Specified by:
getString in class UpnpHeader<Integer>
Returns:
A string representing this header's value.


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.