org.teleal.cling.model.types
Class ServiceId
java.lang.Object
org.teleal.cling.model.types.ServiceId
- Direct Known Subclasses:
- UDAServiceId
public class ServiceId
- extends Object
Represents a service identifer, for example urn:my-domain-namespace:serviceId:MyService123
- Author:
- Christian Bauer
PATTERN
public static final Pattern PATTERN
ServiceId
public ServiceId(String namespace,
String id)
getNamespace
public String getNamespace()
getId
public String getId()
valueOf
public static ServiceId valueOf(String s)
throws InvalidValueException
- Throws:
InvalidValueException
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.