public static enum OWL2Datatype.WhiteSpaceNormalisation extends Enum<OWL2Datatype.WhiteSpaceNormalisation>
Enum Constant and Description |
---|
COLLAPSE
After the processing implied by replace, contiguous sequences of #x20's are collapsed to
a single #x20, and any #x20 at the start or end of the string is then removed.
|
PRESERVE
No normalization is done, the value is not changed (this is the behavior required by
[XML] for element content).
|
REPLACE
All occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with
#x20 (space).
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getNormalisedString(String s)
Gets the normalised version of a string.
|
static OWL2Datatype.WhiteSpaceNormalisation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OWL2Datatype.WhiteSpaceNormalisation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OWL2Datatype.WhiteSpaceNormalisation PRESERVE
public static final OWL2Datatype.WhiteSpaceNormalisation REPLACE
public static final OWL2Datatype.WhiteSpaceNormalisation COLLAPSE
public static OWL2Datatype.WhiteSpaceNormalisation[] values()
for (OWL2Datatype.WhiteSpaceNormalisation c : OWL2Datatype.WhiteSpaceNormalisation.values()) System.out.println(c);
public static OWL2Datatype.WhiteSpaceNormalisation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 The University of Manchester. All rights reserved.