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

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

public class TXSNamespace
extends java.lang.Object
implements TNamespace

TXSNamespace is the representation for XML-Schema specific elements and attributes within the xs namespace. Please note, that only elements and attributes are provided here that are important for Tamino API needs. Currently these are mainly very few but this might change in the future though. 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 TXSNamespace.TXSObject
          Concrete inner class that implements TNamespaceObject and represents an tsd namespace object.
 
Field Summary
static TNamespaceObject ANNOTATION
          Constant that represents the annotation element within the xs namespace.
static TNamespaceObject APPINFO
          Constant that represents the appinfo element within the xs namespace.
static java.lang.String PREFIX
          Constant that represents the namespace prefix.
static TNamespaceObject SCHEMA
          Constant that represents the schema element within the xs namespace.
static java.lang.String URI
          Constant that represents the namespace url.
 
Constructor Summary
protected TXSNamespace()
          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

SCHEMA

public static final TNamespaceObject SCHEMA
Constant that represents the schema element within the xs namespace.


ANNOTATION

public static final TNamespaceObject ANNOTATION
Constant that represents the annotation element within the xs namespace.


APPINFO

public static final TNamespaceObject APPINFO
Constant that represents the appinfo element within the xs namespace.

Constructor Detail

TXSNamespace

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