public class LocatorFactoryImpl extends LocatorFactory
Locator| Constructor and Description |
|---|
LocatorFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Locator |
createLocator(String locatorString)
Creates a JavaTV
locator from the specified locator string. |
Locator[] |
transformLocator(Locator source)
Transforms a locator to its respective collection of network
dependent locators.
|
getInstancepublic Locator createLocator(String locatorString) throws MalformedLocatorException
locator from the specified locator string.createLocator in class LocatorFactorylocatorString - The string format of the locator to be created.
The created Locator will have an external form that is equivalent to
locatorString.Locator object representing the resource
referenced by the given locator string.NullPointerException - If locatorString is
null.MalformedLocatorException - If an
incorrectly formatted locator string is detected.Locator.toExternalForm()public Locator[] transformLocator(Locator source) throws InvalidLocatorException
transformLocator in class LocatorFactorysource - The locator to transform.NullPointerException - If source is null.InvalidLocatorException - If source is not a valid
Locator.Copyright © 2012 code4tv.com. All Rights Reserved.