au.gov.nehta.vendorlibrary.pcehr.clients.common.constant
Enum XMLNamespaces

java.lang.Object
  extended by java.lang.Enum<XMLNamespaces>
      extended by au.gov.nehta.vendorlibrary.pcehr.clients.common.constant.XMLNamespaces
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XMLNamespaces>

public enum XMLNamespaces
extends java.lang.Enum<XMLNamespaces>

XMLNamespaces XML namespaces used in generating a package.


Enum Constant Summary
CDA
          CDA namespace.
COMMON
          Common core elements namespace.
DS
          Digital signature namespace.
EXT
          CDA Extensions namespace.
IHE
          IHE namespace.
LCM
          Lifecycle Management namespace.
REGISTER
          Register elements namespace.
RIM
          Registry Information Model namespace.
RS
          Registry Services namespace.
SP
          Signed Payload namespace.
XOP
          XOP namespace.
XSI
          XML schema instance namespace.
 
Method Summary
static XMLNamespaces findByNamespace(java.lang.String namespace)
          Retrieves a XMLNamespaces based on a supplied namespace URI.
static XMLNamespaces findByPrefix(java.lang.String prefix)
          Retrieves a XMLNamespaces based on a supplied prefix.
 java.lang.String getNamespace()
          Retrieve namespace URI.
 java.lang.String getPrefix()
          Retrieve namespace prefix.
static XMLNamespaces valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XMLNamespaces[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RS

public static final XMLNamespaces RS
Registry Services namespace.


LCM

public static final XMLNamespaces LCM
Lifecycle Management namespace.


XSI

public static final XMLNamespaces XSI
XML schema instance namespace.


RIM

public static final XMLNamespaces RIM
Registry Information Model namespace.


DS

public static final XMLNamespaces DS
Digital signature namespace.


SP

public static final XMLNamespaces SP
Signed Payload namespace.


COMMON

public static final XMLNamespaces COMMON
Common core elements namespace.


REGISTER

public static final XMLNamespaces REGISTER
Register elements namespace.


CDA

public static final XMLNamespaces CDA
CDA namespace.


EXT

public static final XMLNamespaces EXT
CDA Extensions namespace.


XOP

public static final XMLNamespaces XOP
XOP namespace.


IHE

public static final XMLNamespaces IHE
IHE namespace.

Method Detail

values

public static XMLNamespaces[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XMLNamespaces c : XMLNamespaces.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XMLNamespaces valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPrefix

public java.lang.String getPrefix()
Retrieve namespace prefix.

Returns:
Prefix string.

getNamespace

public java.lang.String getNamespace()
Retrieve namespace URI.

Returns:
Namespace URI string.

findByPrefix

public static XMLNamespaces findByPrefix(java.lang.String prefix)
Retrieves a XMLNamespaces based on a supplied prefix.

Parameters:
prefix - Prefix to search for.
Returns:
Corresponding XMLNamespaces or null.

findByNamespace

public static XMLNamespaces findByNamespace(java.lang.String namespace)
Retrieves a XMLNamespaces based on a supplied namespace URI.

Parameters:
namespace - Namespace URI to search for.
Returns:
Corresponding XMLNamespaces or null.