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

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

public class TXQLNamespace
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.4 $
Author:
Marcus Schreyer

Nested Class Summary
protected static class TXQLNamespace.TXQLObject
          Concrete inner class that implements TNamespaceObject and represents an ino namespace object.
 
Field Summary
static java.lang.String PREFIX
          Constant that represents the namespace prefix.
static TNamespaceObject QUERY
          Constant that represents the query element within the ino namespace.
static TNamespaceObject RESULT
          Constant that represents the result element within the ino namespace.
static java.lang.String URI
          Constant that represents the namespace url.
 
Constructor Summary
protected TXQLNamespace()
          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

QUERY

public static final TNamespaceObject QUERY
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.

Constructor Detail

TXQLNamespace

protected TXQLNamespace()
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.