org.basex.query.util.pkg
Class Repo

java.lang.Object
  extended by org.basex.query.util.pkg.Repo

public final class Repo
extends java.lang.Object

EXPath repository context.

Author:
BaseX Team 2005-12, BSD License, Rositsa Shadura

Constructor Summary
Repo(Context ctx)
          Constructor.
 
Method Summary
 TokenObjMap<TokenSet> nsDict()
          Returns the namespace dictionary.
 IOFile path()
          Returns the path to the repository.
 IOFile path(java.lang.String pkg)
          Returns the path to the specified repository package.
 TokenMap pkgDict()
          Returns the package dictionary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repo

public Repo(Context ctx)
Constructor.

Parameters:
ctx - database context
Method Detail

path

public IOFile path()
Returns the path to the repository.

Returns:
dictionary

nsDict

public TokenObjMap<TokenSet> nsDict()
Returns the namespace dictionary.

Returns:
dictionary

pkgDict

public TokenMap pkgDict()
Returns the package dictionary.

Returns:
dictionary

path

public IOFile path(java.lang.String pkg)
Returns the path to the specified repository package.

Parameters:
pkg - package
Returns:
file reference