|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.html.E4HtmlObject
e4s.html.E4HtmlElementGeneral
e4s.html.E4HtmlElement
e4s.html.E4MethodInlineElement
public class E4MethodInlineElement
This class is a wrapper, that holds a E4Method to be included inline within another element. Note, that a E4Method can hold a lot of functionality, and it always results in a HTML result string. This resultstring will be included, but it is dangerous to destroy structures of other elements. Be careful when using this functionality. For example, this E4Method could create a FRAMESET, but when using it on top of a TD element, it will result in incorrect HTML syntax. This also ould be described as some kind of "inline" functionality.
e4s.html.BODY#E4MethodInlineElement| Field Summary |
|---|
| Fields inherited from class e4s.html.E4HtmlElementGeneral |
|---|
m_elements, m_needed_scripts |
| Fields inherited from class e4s.html.E4HtmlObject |
|---|
m_parent_e4sID |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
E4MethodInlineElement(E4Method mref)
Construct the inline element. |
|
E4MethodInlineElement(E4Method mref,
E4CgiParams params)
Construct the inline element. |
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
void |
addParameter(E4CgiParams params)
|
void |
addParameter(E4InputFieldName_Intf paramname,
java.util.Date value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(E4InputFieldName_Intf paramname,
E4Long value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(E4InputFieldName_Intf paramname,
E4String value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(E4InputFieldName_Intf paramname,
int value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(E4InputFieldName_Intf paramname,
long value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(E4InputFieldName_Intf paramname,
java.lang.String value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(java.lang.String paramname,
java.util.Date value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(java.lang.String paramname,
E4Long value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(java.lang.String paramname,
E4String value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(java.lang.String paramname,
int value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(java.lang.String paramname,
long value)
Add a parameter to the parameters used when calling the "inline" method. |
void |
addParameter(java.lang.String paramname,
java.lang.String value)
Add a parameter to the parameters used when calling the "inline" method. |
E4CgiParams |
getParameters()
|
void |
setParameter(java.lang.String paramname,
java.lang.String value)
Deprecated. |
void |
toHtml(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
Create the HTML output for this element. |
| Methods inherited from class e4s.html.E4HtmlElement |
|---|
addElement, addElement, addElement, copyElements, print |
| Methods inherited from class e4s.html.E4HtmlObject |
|---|
E4ID, E4ID, set_e4sID |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface e4s.html.E4HtmlElement_Intf |
|---|
addScript, addScript, addScript, collectScripts, collectStylesForEditing, collectTranslationsForEditing, debugToString, findElement, findElement, getElements, getElementsVec, getField, getId, getStringContent, isContentClass, removeAll, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, validate |
| Constructor Detail |
|---|
public E4MethodInlineElement(E4Method mref)
mref - is the method (alias) that will be executed when the toHtml() function
will be executed.
public E4MethodInlineElement(E4Method mref,
E4CgiParams params)
mref - is the method (alias) that will be executed when the toHtml() function
will be executed.params - optional, any parameters used when calling the method| Method Detail |
|---|
public void toHtml(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
E4HtmlElement_IntfE4HtmlElement_Intf.toHtml(e4s.util.E4StringBufferHtml, e4s.servlet.E4ServletImplementation_Intf) function to generate output of those
objects which becomes appended. Normally, there is no need to call this function anyway,
and this also might result in side effects of too-early relasing of objects in some cases.
This function is called by E4ServletImplementation_Intf.write(e4s.html.E4HtmlElement)
on the top level HTML element (common this is a HTML
or BODY element) and branches down to all child elements.
toHtml in interface E4HtmlElement_IntftoHtml in class E4HtmlElementGeneralservlet - the servlet environment currently running in
java.lang.Exception
public void setParameter(java.lang.String paramname,
java.lang.String value)
addParameter(String,String)
public void addParameter(java.lang.String paramname,
java.lang.String value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(java.lang.String paramname,
E4String value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(java.lang.String paramname,
int value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(java.lang.String paramname,
long value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(java.lang.String paramname,
E4Long value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(java.lang.String paramname,
java.util.Date value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(E4InputFieldName_Intf paramname,
java.lang.String value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(E4InputFieldName_Intf paramname,
E4String value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(E4InputFieldName_Intf paramname,
int value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(E4InputFieldName_Intf paramname,
long value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(E4InputFieldName_Intf paramname,
E4Long value)
paramname - the name of the parametervalue - the value for the parameter
public void addParameter(E4InputFieldName_Intf paramname,
java.util.Date value)
paramname - the name of the parametervalue - the value for the parameterpublic void addParameter(E4CgiParams params)
public E4CgiParams getParameters()
public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||