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

java.lang.Object
  extended by org.teleal.cling.model.message.header.UpnpHeader<ServiceType>
      extended by org.teleal.cling.model.message.header.ServiceTypeHeader
Direct Known Subclasses:
UDAServiceTypeHeader

public class ServiceTypeHeader
extends UpnpHeader<ServiceType>

Author:
Christian Bauer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.teleal.cling.model.message.header.UpnpHeader
UpnpHeader.Type
 
Constructor Summary
ServiceTypeHeader()
           
ServiceTypeHeader(ServiceType value)
           
ServiceTypeHeader(URI uri)
           
 
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
 

Constructor Detail

ServiceTypeHeader

public ServiceTypeHeader()

ServiceTypeHeader

public ServiceTypeHeader(URI uri)

ServiceTypeHeader

public ServiceTypeHeader(ServiceType value)
Method Detail

setString

public void setString(String s)
               throws InvalidHeaderException
Specified by:
setString in class UpnpHeader<ServiceType>
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<ServiceType>
Returns:
A string representing this header's value.


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