org.fourthline.cling.binding.annotations
Class AnnotationStateVariableBinder
java.lang.Object
org.fourthline.cling.binding.annotations.AnnotationStateVariableBinder
public class AnnotationStateVariableBinder
- extends Object
- Author:
- Christian Bauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotation
protected UpnpStateVariable annotation
name
protected String name
accessor
protected StateVariableAccessor accessor
stringConvertibleTypes
protected Set<Class> stringConvertibleTypes
AnnotationStateVariableBinder
public AnnotationStateVariableBinder(UpnpStateVariable annotation,
String name,
StateVariableAccessor accessor,
Set<Class> stringConvertibleTypes)
getAnnotation
public UpnpStateVariable getAnnotation()
getName
public String getName()
getAccessor
public StateVariableAccessor getAccessor()
getStringConvertibleTypes
public Set<Class> getStringConvertibleTypes()
createStateVariable
protected StateVariable createStateVariable()
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
createDatatype
protected Datatype createDatatype()
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
createDefaultValue
protected String createDefaultValue(Datatype datatype)
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
getAllowedValues
protected String[] getAllowedValues(Class enumType)
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
getAllowedValueRange
protected StateVariableAllowedValueRange getAllowedValueRange(long min,
long max,
long step)
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
getAllowedValuesFromProvider
protected String[] getAllowedValuesFromProvider()
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
getAllowedRangeFromProvider
protected StateVariableAllowedValueRange getAllowedRangeFromProvider()
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.