public abstract class AbstractTagImporter extends java.lang.Object implements TagImporter
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTagImporter.Attribute
This class covers custom parameters, and properties of a tag.
|
protected class |
AbstractTagImporter.ComplexImportData |
protected class |
AbstractTagImporter.Extension |
protected class |
AbstractTagImporter.ImportData
A simple struct holding a list of tags and a set of their names used for name collision detection
|
protected class |
AbstractTagImporter.ImportObject |
protected class |
AbstractTagImporter.MemberTag |
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
file |
protected java.util.Locale |
fileLocale |
protected TypeManager |
typeManager |
Constructor and Description |
---|
AbstractTagImporter(java.io.File file,
TypeManager typeManager) |
Modifier and Type | Method and Description |
---|---|
protected TagImportData |
buildImportData() |
protected abstract org.apache.log4j.Logger |
createLogger() |
LoggerEx |
getLogger() |
protected AbstractTagImporter.ComplexImportData |
getOrCreateComplexTag(TagPath path) |
protected AbstractTagImporter.ImportData |
getOrCreateImportGroup(java.lang.String path) |
protected ComplexTag |
locateFullTag(TagPath parentType)
Loads the full tag, first consulting the local cache of new tags, and then going to the type manager.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runImport
protected TypeManager typeManager
protected java.io.File file
protected java.util.Locale fileLocale
public AbstractTagImporter(java.io.File file, TypeManager typeManager)
protected abstract org.apache.log4j.Logger createLogger()
public LoggerEx getLogger()
protected ComplexTag locateFullTag(TagPath parentType)
parentType
- protected AbstractTagImporter.ComplexImportData getOrCreateComplexTag(TagPath path)
protected AbstractTagImporter.ImportData getOrCreateImportGroup(java.lang.String path)
protected TagImportData buildImportData() throws java.lang.Exception
java.lang.Exception