|
JSR-927 (Maintenance Release) | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.tv.locator.LocatorFactory
This class defines a factory for the creation of
Locator objects.
Locator| Constructor Summary | |
protected |
LocatorFactory()
Creates the LocatorFactory instance. |
| Method Summary | |
abstract Locator |
createLocator(java.lang.String locatorString)
Creates a Locator object from the specified locator
string. |
static LocatorFactory |
getInstance()
Provides an instance of LocatorFactory. |
abstract Locator[] |
transformLocator(Locator source)
Transforms a Locator into its respective collection
of transport dependent Locator objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LocatorFactory()
LocatorFactory instance.
| Method Detail |
public static LocatorFactory getInstance()
LocatorFactory.
LocatorFactory instance.
public abstract Locator createLocator(java.lang.String locatorString)
throws MalformedLocatorException
Locator object from the specified locator
string. The format of the locator string may be entirely
implementation-specific.
locatorString - The string form of the Locator
to be created.
Locator object representing the resource
referenced by the given locator string.
MalformedLocatorException - If an incorrectly formatted
locator string is detected.Locator.toExternalForm()
public abstract Locator[] transformLocator(Locator source)
throws InvalidLocatorException
Locator into its respective collection
of transport dependent Locator objects. A
transformation on a transport dependent Locator
results in an identity transformation, i.e. the same locator is
returned in a single-element array.
source - The Locator to transform.
Locator
objects for the given Locator.
InvalidLocatorException - If source is not a valid
Locator.
|
JSR-927 (Maintenance Release) | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||