public abstract class Importer
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
abstract boolean |
accept(ImportResourceItem item) |
void |
assertResource(ImportResourceItem item)
自定义校验类
|
void |
beginImport() |
ICatalogElement |
customMkdirs(ImportResourceItem item)
自定义创建目录
|
void |
endImport() |
java.util.Map<java.lang.String,java.lang.String> |
getExtendTypeMap() |
java.util.Map<java.lang.String,java.lang.String> |
getNodeName2TypeAttrNameMap() |
abstract void |
importByType(java.lang.String type,
java.lang.Object[] params) |
abstract void |
importResource(ImportResourceItem item,
ICatalogElement parent,
java.util.Map<java.lang.String,java.lang.String> idMap) |
ImportResourceItem |
postProcessImportItem(ImportResourceItem item)
后置处理ImportItem
|
public java.util.Map<java.lang.String,java.lang.String> getExtendTypeMap()
public java.util.Map<java.lang.String,java.lang.String> getNodeName2TypeAttrNameMap()
public abstract boolean accept(ImportResourceItem item)
item
- public abstract void importResource(ImportResourceItem item, ICatalogElement parent, java.util.Map<java.lang.String,java.lang.String> idMap)
item
- parent
- idMap
- public abstract void importByType(java.lang.String type, java.lang.Object[] params)
type
- params
- public ICatalogElement customMkdirs(ImportResourceItem item)
item
- ImportResourceItempublic void assertResource(ImportResourceItem item)
item
- 导入资源public ImportResourceItem postProcessImportItem(ImportResourceItem item)
item
- 导入资源public void beginImport()
public void endImport()