org.teleal.cling.model.types
Class BooleanDatatype

java.lang.Object
  extended by org.teleal.cling.model.types.AbstractDatatype<Boolean>
      extended by org.teleal.cling.model.types.BooleanDatatype
All Implemented Interfaces:
Datatype<Boolean>

public class BooleanDatatype
extends AbstractDatatype<Boolean>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teleal.cling.model.types.Datatype
Datatype.Builtin, Datatype.Default
 
Constructor Summary
BooleanDatatype()
           
 
Method Summary
 Boolean fromString(String s)
           
 Boolean getDefaultValue()
           
 String getString(Boolean value)
           
 
Methods inherited from class org.teleal.cling.model.types.AbstractDatatype
getBuiltin, getDisplayString, getValueType, isValid, setBuiltin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanDatatype

public BooleanDatatype()
Method Detail

fromString

public Boolean fromString(String s)
                   throws InvalidValueException
Throws:
InvalidValueException

getString

public String getString(Boolean value)
                 throws InvalidValueException
Specified by:
getString in interface Datatype<Boolean>
Overrides:
getString in class AbstractDatatype<Boolean>
Throws:
InvalidValueException

getDefaultValue

public Boolean getDefaultValue()


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