www.element4solution.com

e4s.html
Class E4HtmlContentElementPersistant

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4HtmlObject
          extended by e4s.html.E4HtmlElementGeneral
              extended by e4s.html.E4HtmlElement
                  extended by e4s.html.E4HtmlContentElement
                      extended by e4s.html.E4HtmlContentElementPersistant
All Implemented Interfaces:
E4HtmlElement_Intf
Direct Known Subclasses:
BODY, E4Box, FORM

public class E4HtmlContentElementPersistant
extends E4HtmlContentElement
implements E4HtmlElement_Intf

An extension to E4HtmlContentElement to prevent objects inheritated from this class to be optionally not to be removed.

See Also:
E4HtmlElementPersistant, E4ServletImplementation_Intf.setSessionObject(java.lang.String, java.lang.Object)

Field Summary
 
Fields inherited from class e4s.html.E4HtmlContentElement
BOOL_STR_FALSE, BOOL_STR_TRUE
 
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
E4HtmlContentElementPersistant()
           
E4HtmlContentElementPersistant(E4ID parent_id)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 void preventFromRemoving()
          Prevent removing all elements.
 void preventFromRemoving(boolean prevent_from_removing)
          Prevent removing all elements.
 void removeAll()
          Remove all elements - only if the preventFromRemoving() function was not called before.
 E4Debug toDebug()
           
 
Methods inherited from class e4s.html.E4HtmlContentElement
A_Email, A_Email, A_Multiple, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Popup, A_Reference, A_Reference, A_Reference, A_Reference, A_Reference, A_ReturnValue, A_ReturnValue, A_ReturnValue, A_ReturnValue, A, A, A, A, A, A, A, AjaxElement, AjaxElement, AjaxElement, B, B, BIG, Box, Box, Box, BoxRoundCorners, BoxRoundCorners, BoxRoundCorners, BR, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, BUTTON, CENTER, DEL, DIV, DIV, DIV, DIV, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FONT, FullSizeE4Message, H1, H2, H3, H4, Hint, HR, I, I, IMG, IMG, IMG, IMG, IMG, IMG, IMG, IMG, INS, Message, Message, Message, Message, Message, NBSP, NOBR, P_NBSP, P, PRE, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, rem, rem, rem, rem, rem, rem, SMALL, SPAN, STRIKE, strike, SystemError, SystemError, SystemError, SystemError, TABLE, TABLE, trace, trace, trace, trace, trace, trace, translate_Sys, translate, U, UL
 
Methods inherited from class e4s.html.E4HtmlElement
addElement, addElement, addElement, copyElements, print
 
Methods inherited from class e4s.html.E4HtmlElementGeneral
addScript, addScript, addScript, addStyleForEditing, addTranslationForEditing, buildStyleAttribute, buildStyleClassReference, collectScripts, collectStylesForEditing, collectStylesForEditing, collectStylesForEditing, collectTranslationsForEditing, collectTranslationsForEditing, createScript, createScript, debugToString, findElement, findElement, findElement, findElement, getElements, getElementsVec, getField, getId, getLastElement, getStringContent, getStyle, getSTYLE, getStyle, hasScripts, hasSTYLE, isContentClass, isE4InputField_Intf, openTag, removeElementById, removeElements, removeElements, removeStyle, setId, setReadOnly, setStyle, setStyle, setSTYLE, setValue, Style, Style, toHtml_hidden, toHtml, validate
 
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, 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, removeElementById, removeElements, set_e4sID, setId, setReadOnly, setValue, toHtml_hidden, toHtml, validate
 

Constructor Detail

E4HtmlContentElementPersistant

public E4HtmlContentElementPersistant()

E4HtmlContentElementPersistant

public E4HtmlContentElementPersistant(E4ID parent_id)
Method Detail

removeAll

public void removeAll()
Remove all elements - only if the preventFromRemoving() function was not called before. Normally, all elements and sub-elements will be removed. In conjunction with E4ServletImplementation.setSessionObject(java.lang.String, long) this can result in unusable objects, therefore some implementation - such as this - will provide a function preventFromRemoving() to avoid this.

Specified by:
removeAll in interface E4HtmlElement_Intf
Overrides:
removeAll in class E4HtmlElementGeneral
See Also:
preventFromRemoving(), E4HtmlElementGeneral.removeAll()

preventFromRemoving

public void preventFromRemoving()
Prevent removing all elements. Normally, all elements and sub-elements will be removed. In conjunction with E4ServletImplementation.setSessionObject(java.lang.String, long) this can result in unusable objects, therefore some implementation - such as this - will provide a function preventFromRemoving() to avoid this.

See Also:
removeAll(), preventFromRemoving( boolean )

preventFromRemoving

public void preventFromRemoving(boolean prevent_from_removing)
Prevent removing all elements. Normally, all elements and sub-elements will be removed. In conjunction with E4ServletImplementation.setSessionObject(java.lang.String, long) this can result in unusable objects, therefore some implementation - such as this - will provide a function preventFromRemoving() to avoid this.

Parameters:
prevent_from_removing - the new status for removing
See Also:
removeAll(), preventFromRemoving()

toDebug

public E4Debug toDebug()
Overrides:
toDebug in class E4Object

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com