public class ResourceIdentifier extends Object
Constructor and Description |
---|
ResourceIdentifier(String resourceIdentifier)
Create a new instance based on given standard JSF resource identifier string format
library:name . |
ResourceIdentifier(String library,
String name)
Create a new instance based on given resource library and name.
|
ResourceIdentifier(UIComponent componentResource)
Create a new instance based on library and name attributes of the given component resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getLibrary()
Returns the resource library.
|
String |
getName()
Returns the resource name.
|
int |
hashCode() |
String |
toString()
Returns the resource identifier as string in standard JSF resource identifier format
library:name . |
public ResourceIdentifier(String resourceIdentifier)
library:name
.resourceIdentifier
- The standard JSF resource identifier.public ResourceIdentifier(UIComponent componentResource)
componentResource
- The component resource.Copyright © 2012–2020 OmniFaces. All rights reserved.