public class Component extends Object
Constructor and Description |
---|
Component(URI uri,
String path,
ResourceLoader loader)
Instantiates a new component.
|
Modifier and Type | Method and Description |
---|---|
Module |
getModule()
Gets the module owner of this component.
|
URI |
getResource()
Gets the resource's real uri.
|
URI |
getURI()
Gets the component's URI.
|
void |
setModule(Module module)
Sets the module.
|
String |
toString() |
public Component(URI uri, String path, ResourceLoader loader)
uri
- the uripath
- the pathloader
- the loader which actually able to load the resource.public URI getURI()
public URI getResource()
public Module getModule()
public void setModule(Module module)
module
- the new moduleCopyright © 2010–2024 The DAISY Consortium. All rights reserved.