Class FTxt

All Implemented Interfaces:
Iterable<Item>

public final class FTxt extends FNode
Text node fragment.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • FTxt

      public FTxt(String t)
      Constructor.
      Parameters:
      t - text value
    • FTxt

      public FTxt(byte[] value)
      Constructor.
      Parameters:
      value - text value
    • FTxt

      public FTxt(Text txt)
      Constructor for creating a text from a DOM node. Originally provided by Erdal Karaca.
      Parameters:
      txt - DOM node
  • Method Details

    • materialize

      public FTxt materialize(QueryContext qc, boolean copy)
      Description copied from class: Item
      Returns a materialized, context-independent version of this item.
      Specified by:
      materialize in class ANode
      Parameters:
      qc - query context (if null, process cannot be interrupted)
      copy - create full copy
      Returns:
      item copy, or null) if the item cannot be materialized
    • plan

      public void plan(QueryPlan plan)
      Description copied from class: ExprInfo
      Creates a query plan.
      Overrides:
      plan in class Item
      Parameters:
      plan - expression plan
    • plan

      public void plan(QueryString qs)
      Description copied from class: ExprInfo
      Creates a query string.
      Specified by:
      plan in class ExprInfo
      Parameters:
      qs - query string builder