Code example for Text

Methods: getData

0
   * Constructor for DOM nodes. 
   * Originally provided by Erdal Karaca. 
   * @param txt DOM node 
   */ 
  FTxt(final Text txt) {
    this(Token.token(txt.getData()));
  } 
 
  @Override 
  public void serialize(final Serializer ser) throws IOException {
    ser.text(val);
  } 
 
  @Override 
  public FNode copy() { 
    return new FTxt(val).parent(par); 
  } 
 
  @Override 
  public void plan(final Serializer ser) throws IOException {
Contextual code suggestions in your IDE  Get Codota for Java