All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.basex.query.func.session.SessionNames Maven / Gradle / Ivy

The newest version!
package org.basex.query.func.session;

import org.basex.query.*;
import org.basex.query.value.*;
import org.basex.query.value.seq.*;

/**
 * Function implementation.
 *
 * @author BaseX Team 2005-24, BSD License
 * @author Christian Gruen
 */
public final class SessionNames extends SessionFn {
  @Override
  public Value value(final QueryContext qc) throws QueryException {
    final ASession session = session(qc, false);

    return session != null ? session.names() : Empty.VALUE;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy