org.teleal.cling.binding.annotations
Class AnnotationStateVariableBinder
java.lang.Object
org.teleal.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()
throws LocalServiceBindingException
- Throws:
LocalServiceBindingException
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.