public abstract class URLFactory extends Object
| Constructor and Description |
|---|
URLFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract <R,U extends PortalURL<R,U>> |
newURL(ResourceType<R,U> resourceType,
URLContext context)
Creates a new url or return null if the resource type cannot be resolved to an url.
|
public abstract <R,U extends PortalURL<R,U>> U newURL(ResourceType<R,U> resourceType, URLContext context) throws NullPointerException
resourceType - the resource typecontext - the contextNullPointerException - if the resource type or the context is nullCopyright © 2018 JBoss by Red Hat. All Rights Reserved.