Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.model
Class Namespace

    java.lang.Object
      org.teleal.cling.model.Namespace

    public class Namespace

extends Object

Author:
  Christian Bauer

Field Summary
`static String` | `BASE`
`protected URI` | `basePath`
`static String` | `CALLBACK_FILE`
`static String` | `CONTROL`
`static String` | `DESCRIPTOR_FILE`
`static String` | `DEVICE`
`static String` | `EVENTS`
`static String` | `SERVICE`

Constructor Summary
`Namespace()`
`Namespace(String basePath)`
`Namespace(URI basePath)`

Method Summary
`URI` | `getBasePath()`
`URI` | `getControlPath(Service service)`
`URI` | `getDescriptorPath(Device device)`
`URI` | `getDescriptorPath(Service service)`
`URI` | `getEventCallbackPath(Service service)`
`URI` | `getEventSubscriptionPath(Service service)`
`URI` | `getPath(Device device)`
`URI` | `getPath(Service service)`
`Resource[]` | `getResources(Device device)`
`URI` | `prefixIfRelative(Device device, URI uri)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### BASE

    public static final String BASE

See Also:
  Constant Field Values

### DEVICE

    public static final String DEVICE

See Also:
  Constant Field Values

### SERVICE

    public static final String SERVICE

See Also:
  Constant Field Values

### CONTROL

    public static final String CONTROL

See Also:
  Constant Field Values

### EVENTS

    public static final String EVENTS

See Also:
  Constant Field Values

### DESCRIPTOR_FILE

    public static final String DESCRIPTOR_FILE

See Also:
  Constant Field Values

### CALLBACK_FILE

    public static final String CALLBACK_FILE

See Also:
  Constant Field Values

### basePath

    protected final URI basePath

Constructor Detail

### Namespace

    public Namespace()

### Namespace

    public Namespace(String basePath)

### Namespace

    public Namespace(URI basePath)

Method Detail

### getBasePath

    public URI getBasePath()

### getPath

    public URI getPath(Device device)

### getPath

    public URI getPath(Service service)

### getDescriptorPath

    public URI getDescriptorPath(Device device)

### getDescriptorPath

    public URI getDescriptorPath(Service service)

### getControlPath

    public URI getControlPath(Service service)

### getEventSubscriptionPath

    public URI getEventSubscriptionPath(Service service)

### getEventCallbackPath

    public URI getEventCallbackPath(Service service)

### prefixIfRelative

    public URI prefixIfRelative(Device device,
                                URI uri)

### getResources

    public Resource[] getResources(Device device)
                            throws ValidationException

  Throws:
    `ValidationException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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