Enum Constant and Description |
---|
ALIGNMENT |
ALIGNSVC |
ATLMAP |
DUBLIN_CORE |
EDOAL |
EXT |
NONE |
OWL |
RDF |
RDF_SCHEMA |
SOAP_ENV |
XSD |
XSI |
Modifier and Type | Field and Description |
---|---|
private boolean |
addSharp
records if a sharp must be concatenated to the namespace
|
java.lang.String |
prefix |
private static java.util.Map<java.lang.String,Namespace> |
register |
java.lang.String |
shortCut |
java.lang.String |
uri |
Modifier and Type | Method and Description |
---|---|
static Namespace |
getNSByUri(java.lang.String url)
Determines a namespace instance depending on it's url.
|
boolean |
getSharp() |
java.lang.String |
getShortCut() |
java.lang.String |
getUri() |
java.lang.String |
getUriPrefix() |
static Namespace |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Namespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Namespace ALIGNMENT
public static final Namespace ALIGNSVC
public static final Namespace EDOAL
public static final Namespace EXT
public static final Namespace DUBLIN_CORE
public static final Namespace RDF_SCHEMA
public static final Namespace SOAP_ENV
public static final Namespace XSD
public static final Namespace XSI
public static final Namespace RDF
public static final Namespace OWL
public static final Namespace NONE
public static final Namespace ATLMAP
public final java.lang.String uri
public final java.lang.String shortCut
private final boolean addSharp
public final java.lang.String prefix
private static final java.util.Map<java.lang.String,Namespace> register
public static Namespace[] values()
for (Namespace c : Namespace.values()) System.out.println(c);
public static Namespace 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getUri()
public java.lang.String getUriPrefix()
public java.lang.String getShortCut()
public boolean getSharp()
public static Namespace getNSByUri(java.lang.String url)
url
- the url of the namespace.(C) INRIA & friends, 2003-2020