Class TagXMLImporter
- java.lang.Object
-
- com.inductiveautomation.ignition.common.sqltags.importexport.AbstractTagImporter
-
- com.inductiveautomation.ignition.common.sqltags.importexport.TagXMLImporter
-
public class TagXMLImporter extends AbstractTagImporter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TagXMLImporter.TagXMLReader
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.sqltags.importexport.AbstractTagImporter
AbstractTagImporter.TagPrototype
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.common.sqltags.importexport.AbstractTagImporter
file, fileLocale, selectedTarget
-
-
Constructor Summary
Constructors Constructor Description TagXMLImporter(TagPath targetPath)
Use if you are parsing directly from a String and not from a File, and you need to specify the target folderTagXMLImporter(java.io.File file, TagPath targetPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getLoggerName()
java.util.List<TagConfiguration>
importFromString(java.lang.String xml, TaskProgressListener listener)
boolean
isClientTagImporter()
java.util.List<TagConfiguration>
runImport(TaskProgressListener progress)
void
setIsClientTagImporter(boolean isClientTagImporter)
-
Methods inherited from class com.inductiveautomation.ignition.common.sqltags.importexport.AbstractTagImporter
getLogger, processTagsElement
-
-
-
-
Method Detail
-
getLoggerName
protected java.lang.String getLoggerName()
- Specified by:
getLoggerName
in classAbstractTagImporter
-
runImport
public java.util.List<TagConfiguration> runImport(TaskProgressListener progress) throws java.lang.Exception
- Specified by:
runImport
in classAbstractTagImporter
- Throws:
java.lang.Exception
-
importFromString
public java.util.List<TagConfiguration> importFromString(java.lang.String xml, TaskProgressListener listener) throws java.lang.Exception
- Specified by:
importFromString
in classAbstractTagImporter
- Throws:
java.lang.Exception
-
isClientTagImporter
public boolean isClientTagImporter()
- Overrides:
isClientTagImporter
in classAbstractTagImporter
-
setIsClientTagImporter
public void setIsClientTagImporter(boolean isClientTagImporter)
-
-