com.softwareag.tamino.db.api.namespace
Class TXQNamespace

java.lang.Object
  extended by com.softwareag.tamino.db.api.namespace.TXQNamespace
All Implemented Interfaces:
TNamespace

public class TXQNamespace
extends java.lang.Object
implements TNamespace

TXQLNamespace is the representation for Tamino specific elements and attributes within the xql namespace. The class provides type safe constant objects representing the various elememts/attributes such as query and result. The class implements the singleton pattern meaning that only one instance of this class can be instantiated.

Version:
$Revision: 1.2 $
Author:
Marcus Schreyer

Nested Class Summary
protected static class TXQNamespace.TXQObject
          Concrete inner class that implements TNamespaceObject and represents an ino namespace object.
 
Field Summary
static TNamespaceObject ATTRIBUTE
          Constant that represents the attribute element within the ino namespace.
static TNamespaceObject DOCTYPE_DECL
          Constant that represents the doctypeDecl element within the ino namespace.
static TNamespaceObject OBJECT
          Constant that represents the object element within the ino namespace.
static java.lang.String PREFIX
          Constant that represents the namespace prefix.
static TNamespaceObject RESULT
          Constant that represents the result element within the ino namespace.
static java.lang.String URI
          Constant that represents the namespace url.
static TNamespaceObject VALUE
          Constant that represents the value element within the ino namespace.
static TNamespaceObject XQUERY
          Constant that represents the query element within the ino namespace.
 
Constructor Summary
protected TXQNamespace()
          Private Constructor.
 
Method Summary
static TNamespace getInstance()
          Gets the singleton instance.
 java.lang.String getPrefix()
          Gets the namespace prefix.
 java.lang.String getUri()
          Gets the namespace uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final java.lang.String PREFIX
Constant that represents the namespace prefix.

See Also:
Constant Field Values

URI

public static final java.lang.String URI
Constant that represents the namespace url.

See Also:
Constant Field Values

XQUERY

public static final TNamespaceObject XQUERY
Constant that represents the query element within the ino namespace.


RESULT

public static final TNamespaceObject RESULT
Constant that represents the result element within the ino namespace.


ATTRIBUTE

public static final TNamespaceObject ATTRIBUTE
Constant that represents the attribute element within the ino namespace.


VALUE

public static final TNamespaceObject VALUE
Constant that represents the value element within the ino namespace.


OBJECT

public static final TNamespaceObject OBJECT
Constant that represents the object element within the ino namespace.


DOCTYPE_DECL

public static final TNamespaceObject DOCTYPE_DECL
Constant that represents the doctypeDecl element within the ino namespace.

Constructor Detail

TXQNamespace

protected TXQNamespace()
Private Constructor.

Method Detail

getInstance

public static TNamespace getInstance()
Gets the singleton instance.


getPrefix

public java.lang.String getPrefix()
Gets the namespace prefix.

Specified by:
getPrefix in interface TNamespace

getUri

public java.lang.String getUri()
Description copied from interface: TNamespace
Gets the namespace uri. It should be noted that the uri might not be available.

Specified by:
getUri in interface TNamespace


Copyright (c) 2013 Software AG. All Rights Reserved.