public class ImportDefinition extends java.lang.Object implements BeanMetadataElement
ReaderEventListener.importProcessed(ImportDefinition)
Modifier and Type | Field and Description |
---|---|
private Resource[] |
actualResources |
private java.lang.String |
importedResource |
private java.lang.Object |
source |
Constructor and Description |
---|
ImportDefinition(java.lang.String importedResource)
Create a new ImportDefinition.
|
ImportDefinition(java.lang.String importedResource,
java.lang.Object source)
Create a new ImportDefinition.
|
ImportDefinition(java.lang.String importedResource,
Resource[] actualResources,
java.lang.Object source)
Create a new ImportDefinition.
|
Modifier and Type | Method and Description |
---|---|
Resource[] |
getActualResources() |
java.lang.String |
getImportedResource()
Return the location of the imported resource.
|
java.lang.Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null ). |
private final java.lang.String importedResource
private final Resource[] actualResources
private final java.lang.Object source
public ImportDefinition(java.lang.String importedResource)
importedResource
- the location of the imported resourcepublic ImportDefinition(java.lang.String importedResource, java.lang.Object source)
importedResource
- the location of the imported resourcesource
- the source object (may be null
)public ImportDefinition(java.lang.String importedResource, Resource[] actualResources, java.lang.Object source)
importedResource
- the location of the imported resourcesource
- the source object (may be null
)public final java.lang.String getImportedResource()
public final Resource[] getActualResources()
public final java.lang.Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).getSource
in interface BeanMetadataElement