Class DbPath


public final class DbPath extends StandardFunc
Function implementation.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • DbPath

      public DbPath()
  • Method Details

    • item

      public Str item(QueryContext qc, InputInfo ii) throws QueryException
      Description copied from class: Expr
      Evaluates the expression and returns the resulting item, or Empty.VALUE if the expression yields an empty sequence. If this method is not implemented, Expr.value(QueryContext) must be implemented instead.
      Overrides:
      item in class ParseExpr
      Parameters:
      qc - query context
      ii - input info (only required by Seq instances, which have no input info)
      Returns:
      item or Empty.VALUE
      Throws:
      QueryException - query exception
    • accept

      public boolean accept(ASTVisitor visitor)
      Description copied from class: Expr
      Traverses this expression, notifying the visitor of declared and used variables, and checking the tree for other recursive properties.
      Overrides:
      accept in class Arr
      Parameters:
      visitor - visitor
      Returns:
      if the walk should be continued