org.basex.query.xquery.util
Class NSGlobal

java.lang.Object
  extended by org.basex.query.xquery.util.NSGlobal

public final class NSGlobal
extends java.lang.Object

Global namespaces.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen

Method Summary
static byte[] prefix(byte[] uri)
          Finds the specified URI prefix.
static boolean standard(byte[] uri)
          Checks if the specified uri is a standard uri.
static byte[] uri(byte[] pre)
          Finds the specified namespace uri.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

uri

public static byte[] uri(byte[] pre)
Finds the specified namespace uri.

Parameters:
pre - prefix of the namespace
Returns:
uri

prefix

public static byte[] prefix(byte[] uri)
Finds the specified URI prefix.

Parameters:
uri - URI
Returns:
prefix

standard

public static boolean standard(byte[] uri)
Checks if the specified uri is a standard uri.

Parameters:
uri - uri to be checked
Returns:
result of check