public interface Import extends MetaDataObject
Modifier and Type | Field and Description |
---|---|
static Import[] |
EMPTY_IMPORTS |
Modifier and Type | Method and Description |
---|---|
URL |
findAbsoluteUrl(ResourceManager aResourceManager)
Computes the absolute URL for this import, using the relative location or name, whichever is
specified by this import object.
|
String |
getLocation()
Gets the location of this import's target.
|
String |
getName()
Gets the name of this import's target.
|
void |
setLocation(String aUri)
Sets the location of this import's target.
|
void |
setName(String aName)
Sets the name of this import's target.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
static final Import[] EMPTY_IMPORTS
String getName()
void setName(String aName)
aName
- a Java-style compound name which specifies the target of this import. This will be
located by appending ".xml" to the name and searching the classpath.String getLocation()
void setLocation(String aUri)
aUri
- a URI specifying the location of this import's target.URL findAbsoluteUrl(ResourceManager aResourceManager) throws InvalidXMLException
aResourceManager
- resource manager to use to do name lookupsInvalidXMLException
- if the import could not be resolvedCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.