public class XSLImport extends AbstractImportTool implements WandoraTool
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
forceXML |
(package private) java.lang.String |
forceXSL |
ASK_SOURCE, askSource, CLOSE_LOGS, closeLogs, CUSTOM_IMPORTER, directMerge, FILE_DIALOG_TITLE_TEXT, FILE_IMPORTER, forceFiles, newLayer, RAW_IMPORTER, resetWandoraFirst, TOPICMAP_DIRECT_MERGE, TOPICMAP_MAKE_NEW_LAYER, TOPICMAP_RESET_FIRST, URL_DIALOG_MESSAGE_TEXT, URL_IMPORTER, WEB_IMPORT, webImport
Constructor and Description |
---|
XSLImport()
Creates a new instance of XSLImport
|
XSLImport(int options) |
XSLImport(java.lang.String xsl,
java.lang.String xml) |
Modifier and Type | Method and Description |
---|---|
private java.io.InputStream |
createInputStreamFor(java.lang.String streamSource) |
void |
execute(Wandora wandora,
Context context)
Runs the tool.
|
java.lang.String |
getDescription()
AdminToolManager views tool descriptions while user browses available
tools and build user customizable GUI elements such as Tools menu.
|
javax.swing.Icon |
getIcon()
All tools may have identifying graphic icon used within tool GUI elements.
|
java.lang.String |
getName()
Tools name represent the tool in UI unless the tool has been given
explicitly another GUI name.
|
void |
importStream(Wandora admin,
java.lang.String streamName,
java.io.InputStream inputStream) |
createNewLayer, finalizeImport, getGUIText, getLayerNameFor, getOptions, getType, importFile, importFiles, importUrl, initializeImport, requestImports, setOptions
addUndoMarker, addUndoMarker, allowMultipleInvocations, clearAllThreads, clearThreads, clearThreads, clearToolLock, clearToolLock, clearToolLocks, configure, execute, execute, forceStop, forceStop, getContext, getCurrentLogger, getDefaultLogger, getHistory, getLastLogger, getState, getThreads, getThreads, getToolMenuItem, getToolMenuItem, getTopicName, hlog, initialize, interruptAllThreads, interruptThreads, interruptThreads, isConfigurable, isRunning, isRunning, lockLog, log, log, log, log, requiresRefresh, run, runInOwnThread, setContext, setDefaultLogger, setLogTitle, setProgress, setProgressMax, setState, setToolLogger, singleLog, singleLog, singleLog, solveContextTopicMap, solveNameForTopicMap, writeOptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, execute, execute, getContext, getToolMenuItem, getType, hlog, initialize, isConfigurable, isRunning, log, log, log, log, requiresRefresh, setContext, setToolLogger, writeOptions
forceStop, getHistory, getState, lockLog, setLogTitle, setProgress, setProgressMax, setState
public XSLImport()
public XSLImport(int options)
public XSLImport(java.lang.String xsl, java.lang.String xml)
public void execute(Wandora wandora, Context context)
WandoraTool
execute
in interface WandoraTool
execute
in class AbstractImportTool
public java.lang.String getName()
AbstractWandoraTool
getName
in interface WandoraTool
getName
in class AbstractWandoraTool
public java.lang.String getDescription()
AbstractWandoraTool
getDescription
in interface WandoraTool
getDescription
in class AbstractWandoraTool
public javax.swing.Icon getIcon()
AbstractWandoraTool
getIcon
should return Icon
object of
the tool.getIcon
in interface WandoraTool
getIcon
in class AbstractImportTool
public void importStream(Wandora admin, java.lang.String streamName, java.io.InputStream inputStream)
importStream
in class AbstractImportTool
private java.io.InputStream createInputStreamFor(java.lang.String streamSource)
Copyright 2004-2015 Wandora Team