org.fourthline.cling.support.model.dlna
Class DLNAOperationsAttribute

java.lang.Object
  extended by org.fourthline.cling.support.model.dlna.DLNAAttribute<EnumSet<DLNAOperations>>
      extended by org.fourthline.cling.support.model.dlna.DLNAOperationsAttribute

public class DLNAOperationsAttribute
extends DLNAAttribute<EnumSet<DLNAOperations>>

Author:
Mario Franco

Nested Class Summary
 
Nested classes/interfaces inherited from class org.fourthline.cling.support.model.dlna.DLNAAttribute
DLNAAttribute.Type
 
Constructor Summary
DLNAOperationsAttribute()
           
DLNAOperationsAttribute(DLNAOperations... op)
           
 
Method Summary
 String getString()
           
 void setString(String s, String cf)
           
 
Methods inherited from class org.fourthline.cling.support.model.dlna.DLNAAttribute
getValue, newInstance, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DLNAOperationsAttribute

public DLNAOperationsAttribute()

DLNAOperationsAttribute

public DLNAOperationsAttribute(DLNAOperations... op)
Method Detail

setString

public void setString(String s,
                      String cf)
               throws InvalidDLNAProtocolAttributeException
Specified by:
setString in class DLNAAttribute<EnumSet<DLNAOperations>>
Parameters:
s - This attribute's value as a string representation.
cf - This attribute's mime type as a string representation, optional.
Throws:
InvalidDLNAProtocolAttributeException - If the value is invalid for this DLNA attribute.

getString

public String getString()
Specified by:
getString in class DLNAAttribute<EnumSet<DLNAOperations>>
Returns:
A string representing this attribute's value.


Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.