|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<XMLNamespaces>
au.gov.nehta.vendorlibrary.clinicalpackage.enums.XMLNamespaces
public enum XMLNamespaces
XML namespaces used in generating a package.
Enum Constant Summary | |
---|---|
DS
Digital signature namespace. |
|
HL7
HL7 default 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 |
---|
public static final XMLNamespaces DS
public static final XMLNamespaces HL7
Method Detail |
---|
public static XMLNamespaces[] values()
for (XMLNamespaces c : XMLNamespaces.values()) System.out.println(c);
public static XMLNamespaces valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPrefix()
public java.lang.String getNamespace()
public static XMLNamespaces findByPrefix(java.lang.String prefix)
XMLNamespaces
based on a supplied prefix.
prefix
- Prefix to search for.
XMLNamespaces
or null.public static XMLNamespaces findByNamespace(java.lang.String namespace)
XMLNamespaces
based on a supplied namespace URI.
namespace
- Namespace URI to search for.
XMLNamespaces
or null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |