name
TEXT_ELEMENT ( )
import prohtml.*;

void setup(){
  println("HTML_ELEMENT:..." + Conts.HTML_ELEMENT);
  println("STAND_ALONE_ELEMENT:.." + Conts.STAND_ALONE_ELEMENT);
  println("TEXT_ELEMENT:.." + Conts.TEXT_ELEMENT);
  println("LETTER_ELEMENT:.." + Conts.TEXT_ELEMENT);
}
description
TEXT_ELEMENT is simply a static field containing a string. The sense of TEXT_ELEMENT is to check if the type of an element of the pageTree is TEXT_ELEMENT. There are different other types of elements: LETTER_ELEMENT, STAND_ALONE_ELEMENT and HTML_ELEMENT. Use these constants to make shure you take the correct methods of an element.
syntax
TEXT_ELEMENT;
usage
Web & Application
related