Package org.jupnp.model.types
Klasse DeviceType
java.lang.Object
org.jupnp.model.types.DeviceType
- Bekannte direkte Unterklassen:
UDADeviceType
Represents a device type, for example
urn:my-domain-namespace:device:MyDevice:1.
Although decimal versions are accepted and parsed, the version used for comparison is only the integer without the fraction.
- Autor:
- Christian Bauer, Jochen Hiller - use SpecificationViolationReporter
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDeviceType(String namespace, String type) DeviceType(String namespace, String type, int version) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleangetType()intinthashCode()booleanimplementsVersion(DeviceType that) toString()static DeviceType
-
Felddetails
-
UNKNOWN
- Siehe auch:
-
PATTERN
-
-
Konstruktordetails
-
DeviceType
-
DeviceType
-
-
Methodendetails
-
getNamespace
-
getType
-
getVersion
public int getVersion() -
valueOf
- Gibt zurück:
- Either a
UDADeviceTypeor a more genericDeviceType. - Löst aus:
InvalidValueException
-
implementsVersion
-
getDisplayString
-
toString
-
equals
-
hashCode
public int hashCode()
-