@ParametersAreNonnullByDefault public final class XmiConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENCODING
The default encoding of XML files.
|
static String |
HREF
The attribute key representing a link to another document.
|
static String |
TYPE
The attribute key representing a
null element. |
static String |
VERSION
The default version of XML files.
|
static String |
XMI_ID
The attribute key representing the identifier of an element.
|
static String |
XMI_IDREF
The attribute key representing a reference to an identified element.
|
static String |
XMI_NS
The namespace prefix of XMI.
|
static String |
XMI_TYPE
The default attribute key representing the meta-class of an element.
|
static String |
XMI_URI
The namespace URI of XMI.
|
static String |
XMI_VERSION
The default XMI version.
|
static String |
XMI_VERSION_ATTR
The attribute key representing the version of the parsed XMI file.
|
static String |
XMI_XSI_TYPE
The attribute key representing the meta-class of an element.
|
static String |
XSI_NS
The namespace prefix of XSI.
|
Modifier and Type | Method and Description |
---|---|
static String |
format(String prefix,
String value)
Formats a prefixed value as
"prefix:value" . |
public static final String ENCODING
public static final String VERSION
public static final String XSI_NS
public static final String TYPE
null
element.public static final String HREF
public static final String XMI_NS
public static final String XMI_URI
public static final String XMI_ID
public static final String XMI_IDREF
XMI_ID
public static final String XMI_TYPE
public static final String XMI_XSI_TYPE
public static final String XMI_VERSION_ATTR
public static final String XMI_VERSION
@Nonnull public static String format(@Nullable String prefix, String value)
"prefix:value"
. If the prefix
is null
, the returned value
only contains the value
.prefix
- the prefix of the valuevalue
- the value"prefix:value"
Copyright © 2013–2019 Atlanmod. All rights reserved.