de.folt.jsp
Class OpenTMS

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by de.folt.jsp.OpenTMS
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class OpenTMS
extends javax.servlet.jsp.tagext.TagSupport

Author:
klemens To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
OpenTMS()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String elementContentToString(org.jdom.Element element)
           
 java.lang.String elementToString(org.jdom.Element element)
           
 java.lang.String getAltTrans(org.jdom.Element transUnit, java.lang.String javaScript)
          getAltTrans
 java.lang.String getDatasource()
           
 java.lang.String getDataSourceConfigurationsFile()
           
 java.lang.String[] getDataSources()
           
 java.lang.String getId()
           
 java.lang.String getJavaScript()
           
 java.lang.String getLogfile()
           
 java.net.URL getLogFileUrl()
           
 java.lang.String getOpmethod()
           
 java.lang.String getProperties()
           
 java.lang.String getPropfile()
           
 java.lang.String getSimilarity()
           
 java.lang.String getSourceLanguage()
           
 java.lang.String getSourceSegment()
           
 java.lang.String getTargetLanguage()
           
 java.lang.String getTargetSegment()
           
 void setDatasource(java.lang.String datasource)
           
 void setDataSourceConfigurationsFile(java.lang.String dataSourceConfigurationsFile)
           
 void setDataSources(java.lang.String[] dataSources)
           
 void setId(java.lang.String id)
           
 void setJavaScript(java.lang.String javaScript)
           
 void setLogfile(java.lang.String logfile)
           
 void setLogFileUrl(java.net.URL logFileUrl)
           
 void setOpmethod(java.lang.String opmethod)
           
 void setProperties(java.lang.String properties)
           
 void setPropfile(java.lang.String propfile)
           
 void setSimilarity(java.lang.String similarity)
           
 void setSourceLanguage(java.lang.String sourceLanguage)
           
 void setSourceSegment(java.lang.String sourceSegment)
           
 void setTargetLanguage(java.lang.String targetLanguage)
           
 void setTargetSegment(java.lang.String targetSegment)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenTMS

public OpenTMS()
Method Detail

getId

public java.lang.String getId()
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport
Returns:
the id

setId

public void setId(java.lang.String id)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport
Parameters:
id - the id to set

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

elementContentToString

public java.lang.String elementContentToString(org.jdom.Element element)

elementToString

public java.lang.String elementToString(org.jdom.Element element)

getAltTrans

public java.lang.String getAltTrans(org.jdom.Element transUnit,
                                    java.lang.String javaScript)
getAltTrans

Parameters:
iNumber -
Returns:

getDatasource

public java.lang.String getDatasource()
Returns:
the datasource

getDataSourceConfigurationsFile

public java.lang.String getDataSourceConfigurationsFile()
Returns:
the dataSourceConfigurationsFile

getDataSources

public java.lang.String[] getDataSources()
Returns:
the dataSources

getJavaScript

public java.lang.String getJavaScript()
Returns:
the javaScript

getLogfile

public java.lang.String getLogfile()
Returns:
the logfile

getOpmethod

public java.lang.String getOpmethod()
Returns:
the opmethod

getProperties

public java.lang.String getProperties()
Returns:
the properties

getPropfile

public java.lang.String getPropfile()
Returns:
the propfile

getSimilarity

public java.lang.String getSimilarity()
Returns:
the similarity

getSourceLanguage

public java.lang.String getSourceLanguage()
Returns:
the sourceLanguage

getSourceSegment

public java.lang.String getSourceSegment()
Returns:
the sourceSegment

getTargetLanguage

public java.lang.String getTargetLanguage()
Returns:
the targetLanguage

getTargetSegment

public java.lang.String getTargetSegment()
Returns:
the targetSegment

setDatasource

public void setDatasource(java.lang.String datasource)
Parameters:
datasource - the datasource to set

setDataSourceConfigurationsFile

public void setDataSourceConfigurationsFile(java.lang.String dataSourceConfigurationsFile)
Parameters:
dataSourceConfigurationsFile - the dataSourceConfigurationsFile to set

setDataSources

public void setDataSources(java.lang.String[] dataSources)
Parameters:
dataSources - the dataSources to set

setJavaScript

public void setJavaScript(java.lang.String javaScript)
Parameters:
javaScript - the javaScript to set

setLogfile

public void setLogfile(java.lang.String logfile)
Parameters:
logfile - the logfile to set

setOpmethod

public void setOpmethod(java.lang.String opmethod)
Parameters:
opmethod - the opmethod to set

setProperties

public void setProperties(java.lang.String properties)
Parameters:
properties - the properties to set

setPropfile

public void setPropfile(java.lang.String propfile)
Parameters:
propfile - the propfile to set

setSimilarity

public void setSimilarity(java.lang.String similarity)
Parameters:
similarity - the similarity to set

setSourceLanguage

public void setSourceLanguage(java.lang.String sourceLanguage)
Parameters:
sourceLanguage - the sourceLanguage to set

setSourceSegment

public void setSourceSegment(java.lang.String sourceSegment)
Parameters:
sourceSegment - the sourceSegment to set

setTargetLanguage

public void setTargetLanguage(java.lang.String targetLanguage)
Parameters:
targetLanguage - the targetLanguage to set

setTargetSegment

public void setTargetSegment(java.lang.String targetSegment)
Parameters:
targetSegment - the targetSegment to set

setLogFileUrl

public void setLogFileUrl(java.net.URL logFileUrl)
Parameters:
logFileUrl - the logFileUrl to set

getLogFileUrl

public java.net.URL getLogFileUrl()
Returns:
the logFileUrl